RE: statements about a graph (Named Graphs, reification)

I wrote:

>And an according SPARQL query is pretty simple:
>
>      construct { $stmt $p $o }
>      where { $stmt a rdf:Statement; rdf:subject me:Alice; 
>rdf:predicate
>foaf:knows; rdf:object he:bob . }
>
>Well, not nice, but it works for Dave, and that is the important point.

Oops, this was crap, of course. :) It should have been:

    construct { ?stmt ?p ?o . }
    where {
        $stmt a rdf:Statement ; 
              rdf:subject me:Alice ;
              rdf:predicate foaf:knows ; 
              rdf:object he:bob .
        ?stmt ?p ?o .
    }

Sorry!

Cheers,
Michael

--
Dipl.-Inform. Michael Schneider
FZI Forschungszentrum Informatik Karlsruhe
Abtl. Information Process Engineering (IPE)
Tel  : +49-721-9654-726
Fax  : +49-721-9654-727
Email: Michael.Schneider@fzi.de
Web  : http://www.fzi.de/ipe/eng/mitarbeiter.php?id=555

FZI Forschungszentrum Informatik an der Universität Karlsruhe
Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
Tel.: +49-721-9654-0, Fax: +49-721-9654-959
Stiftung des bürgerlichen Rechts
Az: 14-0563.1 Regierungspräsidium Karlsruhe
Vorstand: Rüdiger Dillmann, Michael Flor, Jivka Ovtcharova, Rudi Studer
Vorsitzender des Kuratoriums: Ministerialdirigent Günther Leßnerkraus

Received on Thursday, 6 September 2007 09:08:07 UTC