Re: Reification alternative

Mirko wrote:
> Hi all,
> I try to understand alternatives to reification for Linked Data publishing,
> since reification is discouraged. For example, how could I express the
> following without reification:
> 
> @prefix dc: <http://purl.org/dc/elements/1.1/>.
> @prefix foaf: <http://xmlns.com/foaf/0.1/>.
> 
> <http://ex.org/stmt>
>   rdfs:label "Statement that describes user interest in a document"@de;
>   rdf:subject <http://ex.org/User>;
>   rdf:predicate foaf:interest;
>   rdf:object <http://ex.org/Item>;
>   dc:publisher <http://ex.org/Service>;
>   dc:created "2010-10-13"^^xsd:date;
>   dc:license <http://ex.org/License>.
> 
> <http://ex.org/User> rdf:type foaf:Agent.
> <http://ex.org/Item> rdf:type foaf:Document.

N3 quoted graphs are a nice approach..

@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix : <http://ex.org/> .

{ :User foaf:interest :Item }
   dc:created "2010-10-13"^^xsd:date;
   rdfs:label "Statement that describes user interest in a document"@de;
   dc:publisher :Service;
   dc:created "2010-10-13"^^xsd:date;
   dc:license :License .

This has the benefit of comprising only triples (no quads etc) and also 
locks the description + statement together so that they can't vary 
temporally.

Best,

Nathan

Received on Wednesday, 13 October 2010 19:54:52 UTC