IT-Wissen/rdf
2024-10-03 19:44:26 +02:00
..
README.md rdf 2024-10-03 19:44:26 +02:00

Table of Contents

RDF

Various

Declare a default namespace

it will be working just with a ::

PREFIX : <http://abc.rutishauser.info/xyz/>

:Bugs_Bunny :name "Bugs Bunny" .

short form for rdf:type

rdf:type is a property <http://www.w3.org/1999/02/222-rdf-syntax-ns#type> and is usually shortened to a.

Literal Datatypes

Serialization Datatype
"Bugs Bunny" xsd:string
"Bugs Bunny"%%^^%%xsd:string xsd:string
"Bugs Bunny"@en rdf:langstring
"1940-07-27"%%^^%%xsd:date xsd:date
"1940-07-27T01:00:00.000Z"%%^^%%xsd:date xsd:dateTime
101 xsd:integer
2.0 xsd:decimal
True xsd:boolean

Tools

Raptor

Raptor is a free software / Open Source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples into a syntax. The supported parsing syntaxes are RDF/XML, N-Quads, N-Triples 1.0 and 1.1, TRiG, Turtle 2008 and 2013, RDFa 1.0 and 1.1, RSS tag soup including all versions of RSS, Atom 0.3 and Atom 1.0, GRDDL and microformats for HTML, XHTML and XML. The serializing syntaxes are RDF/XML (regular, abbreviated, XMP), Turtle 2013, N-Quads, N-Triples 1.1, Atom 1.0, RSS 1.0, GraphViz DOT, HTML, JSON and mKR.

https://librdf.org/raptor/