Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🧜‍♀️🌊 An RDF library for JavaScript.

License

NotificationsYou must be signed in to change notification settings

marrus-sh/mermaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mermaid is an RDF and Linked Data library, written andmaintained by Kyebego as a personal project.It builds on the spirit of specifications likeRDF Interfaces(W3C Working Group Note, never finished) andInterface Specification: RDF Representation (DraftCommunity Group Report, not an actual W3C specification), onlyupdated for RDF 1.1 and the latest in web technologies.

Designed for use in client‐side and unhosted applications andpublishing tools.Not designed for server‐side operations, for which a morerigourous RDF library should be used if maintaining compleatcorrectness is important.

Features

  • Written in CoffeeScript 2
  • Literate source
  • Compiles to ECMAScript 5.1
  • Extensible
  • Programmed with gay sensibilities
  • GPLv3 License

Limitations

For simplicity, mermaid lacks a trueXSD engine,which means that some things, likexsd:float, might suffer fromminor rounding errors or approximations.If you're a server and need a complete assurance that the data you aredealing with is valid and interpreted according to its XSD datatype,this library is probably not for you.

The full value ofxsd:long andxsd:unsignedLong cannot fit in aJavaScript number without rounding and mermaid makes noattempt to get around this.

mermaid doesnot support the XSD datatypes which are listedinRDF 1.1 Concepts and Abstract Syntax as “unsuitable for variousreasons”.These are:xsd:QName,xsd:ENTITY,xsd:ID,xsd:IDREF,xsd:NOTATION,xsd:IDREFS,xsd:ENTITIES, andxsd:NMTOKENS.

Finally, mermaid doesnot supportxsd:duration or the valuesderived from it, as JavaScript has no native means of expressingdurations.

Standards

HowTo

If you really want to understand how to usemermaid, youshouldread the source (but like, the English parts,not the code).The documents are organized by specification, so if you know whatyou're looking for, things hopefully won't be too hard to find.

I'll try to put together aTutorial that is a little morebeginner‐friendly to approach once I'm satisfied with thestate of the code and have spare time.

SeeAlso

If mermaids kissing beneath the ocean waves makes you feeluncomfortable, maybe check outRDF Interfaces Extensioninstead.

Contributing

It's open source so that you can modify the code before you run it onyour own computer, not so that you can modify the code before I runit on mine ^.^

Feel free to fork if you think it needs something, tho (-_^)〜☆

Releases

No releases published

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp