%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}%
---+ Using the {is property of}
syntactic sugar to express inverse relations in Turtle
---++What?
Virtuoso parser supports using {is property of}
syntactic sugar to express inverse relations in Turtle.
---++Why?
Virtuoso's Turtle parser tries to handle as much N3 and NTriples syntactic sugar as possible, to maximize convenience for human Turtle writers.
---++How?
---++Example
1 Assume the following statements about Alice are true:
* Alice has two children, Bob and Charlie.
* In 1999 Alice has written a book titled as "My Life".
* Alice lives near London.
* Alice's parents are Edna and Fred.
1 [[VirtTipsAndTricksIsPropertyOfSyntaxInTurtleDescr][View the relations]] described in Turtle Format.
1 Upload the Turtle file to [[https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl][https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl]].
1 Load the Turtle file into Virtuoso using any of the following methods and the file's URL:
* [[VirtTipsAndTricksIsPropertyOfSyntaxInTurtleLOAD][Example using SPARQL 1.1 LOAD feature]];
* [[VirtTipsAndTricksIsPropertyOfSyntaxInTurtleConductor][Example using Virtuoso Conductor]];
* [[VirtTipsAndTricksIsPropertyOfSyntaxInTurtleSponger][Example using Virtuoso Sponger]];
* [[VirtTipsAndTricksIsPropertyOfSyntaxInTurtleCMD][Example using Command-line Turtle Loader]] .
---++Related
* [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]]
* [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]