Re: Reification - whats best practice?

>
> Karsten Otto wrote:
> > ... and you can even get them quite easily into RDF/XML, simply by
> > allowing rdf:about/rdf:ID/rdf:nodeID on the <rdf:RDF> wrapper.
>
> Alas, there is only one root element... On the other hand, if we could
> nest several rdf:RDF (each with an rdf:ID) inside something else (that
> would have to be made standard), this might be a solution.
>
>

For example using TriX or TriG e.g.

-------------------------------------
TriG:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix swp: <http://www.w3.org/2004/03/trix/swp-1/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ex: <http:// www.example.org/vocabulary#> .
@prefix : <http://www.example.org/exampleDocument#> .
:G1 { :Monica ex:name "Monica Murphy" .
      :Monica ex:homepage <http://www.monicamurphy.org> .
      :Monica ex:email <mailto:monica@monicamurphy.org> .
      :Monica ex:hasSkill ex:Management }

:G2 { :Monica rdf:type ex:Person .
      :Monica ex:hasSkill ex:Programming }

:G3 { :G1 swp:assertedBy _:w1 .
      _:w1 swp:authority :Chris .
      _:w1 dc:date "2003-10-02"^^xsd:date .
      :G2 swp:quotedBy _:w2 .
      :G3 swp:assertedBy _:w2 .
      _:w2 dc:date "2003-09-03"^^xsd:date .
      _:w2 swp:authority :Chris .
      :Chris rdf:type ex:Person .
      :Chris ex:email
<mailto:chris@bizer.de> }--------------------------------------TriX:<TriX
xmlns="http://www.w3.org/2004/03/trix/trix-1/"><graph><uri>http://example.or
g/graph4</uri><triple><uri>http://example.org/aBook</uri><uri>http://purl.or
g/dc/elements/1.1/title</uri><typedLiteraldatatype="http://www.w3.org/1999/0
2/22-rdf-syntaxns#XMLLiteral"><ex:title xmlns:ex="http://example.org/">A
Good
Book</ex:title></typedLiteral></triple><triple><uri>http://example.org/aBook
</uri><uri>http://www.w3.org/2000/01/rdfschema#comment</uri><plainLiteral
xml:lang="en">This is a reallygood
book!</plainLiteral></triple></graph><graph><uri>http://example.org/graph5</
uri><triple><uri>http://example.org/graph4</uri><uri>http://example.org/sour
ce</uri><uri>http://example.org/bookdescription.rdf</uri></triple></graph></
TriX>
 Chris

Received on Thursday, 26 August 2004 14:52:48 UTC