1). Allows RDF to be shown in a readable, natural, format.
2). Reduces file sizes.
3). You Can learn basic syntax by remembering a few rules.
4). Basic syntax is enough for most situations.
What are the Rules I need to know you ask?
1). Resources must end with a period
2). Use prefixes as much as possible
3). End each triple with a semi-colon
4). [] is short for bnode or anonomous
5). use “a” instead of rdf:type
and finally, an example to consider...
@prefix xsd:
@prefix :
[] a :SomeRDFClass ;
:xsdVal xsd:String ;
:hasLiteral “Some Value" .
No comments:
Post a Comment