W3C home > Mailing lists > Public > public-lod@w3.org > October 2010

Re: Reification alternative

From: Nathan <nathan@webr3.org>
Date: Wed, 13 Oct 2010 20:53:35 +0100
Message-ID: <4CB60E3F.1090403@webr3.org>
To: Mirko <idonthaveenoughinformation@googlemail.com>
CC: public-lod@w3.org
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

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:29 UTC