W3C home > Mailing lists > Public > public-rdf-comments@w3.org > May 2013

Turtle data-type

From: Henry Story <henry.story@bblfish.net>
Date: Mon, 20 May 2013 17:39:00 +0200
Message-Id: <DA95BFDF-2BC2-442C-9F61-CE92E979F44A@bblfish.net>
To: Semantic Web <semantic-web@w3.org>

In Turtle there is no way of specifying a graph (other than through reificiation which 
is understood to be broken). But one could get something close by having a datatype,
say lang:Turtle, such that the value of this would be the graph resulting from 
interpreting the content of the string to a graph.

<card> log:semantics "<http://bblfish.net/people/henry/card#me> a <http://xmlns.com/foaf/0.1/Person>"^^lang:Turtle 

which would in n3 be expressed as 

<card> log:semantics { <card#me> a foaf:Person }

Then Turtle could have a way to express graphs in a reasonably
clean way, so we could do some of the things N3 does with Turtle 
in a less elegant fashion while waiting for N3 to be specfied.


PS. log:semantics is defined here http://www.w3.org/2000/10/swap/doc/CwmBuiltins

Social Web Architect
Received on Monday, 20 May 2013 16:16:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:56 UTC