Re: Transformation to RDF reification

On 26 Sep 2012, at 19:20, Dominik Tomaszuk <ddooss@wp.pl> wrote:

> Hi all,
> 
> Does anyone know a tool for transforming from normal RDF to RDF with reification?
> 
> I mean:
> 
> :s1 :p1 :o1 .
> :s2 :p2 :o2 .
> 
> transform to:
> 
> _:a rdf:type rdf:Statement .
> _:a rdf:subject :s1 .
> _:a rdf:predicate :p1 .
> _:a rdf:object :o1 .
> _:b rdf:type rdf:Statement .
> _:b rdf:subject :s2 .
> _:b rdf:predicate :p2 .
> _:b rdf:object :o2 .
> 
> Supported syntaxes are irrelevant.
> 
> Best,
> Dominik
> 

SPARQL construct?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { [] rdf:type rdf:Statement ; rdf:subject ?s ; rdf:predicate ?p ; rdf:object ?o }
WHERE { ?s ?p ?o }

Damian

Received on Thursday, 27 September 2012 06:16:55 UTC