W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2005

Re: construct test

From: <jos.deroo@agfa.com>
Date: Fri, 5 Aug 2005 21:49:16 +0200
To: kendall@monkeyfist.com
Cc: DAWG Mailing List <public-rdf-dawg@w3.org>, public-rdf-dawg-request@w3.org
Message-ID: <OFA98EE6B9.BBAEEAFB-ONC1257054.006C013D-C1257054.006CDE41@agfa.com>

Waw! even while having holiday is so good to see CONSTRUCT test
quickly ran it in a form you know and indeed results concur

i.e.
data   http://eulersharp.sourceforge.net/2004/04test/kendallP
query  http://eulersharp.sourceforge.net/2004/04test/kendallQ
answer http://eulersharp.sourceforge.net/2004/04test/kendallE

also cwm concurs
nice case :)
 
-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/




Kendall Clark <kendall@monkeyfist.com>
Sent by: public-rdf-dawg-request@w3.org
05/08/2005 21:06
Please respond to kendall

 
        To:     DAWG Mailing List <public-rdf-dawg@w3.org>
        cc:     (bcc: Jos De_Roo/AMDUS/MOR/Agfa-NV/BE/BAYER)
        Subject:        construct test



Here's the beginning of a CONSTRUCT test to show ground triples in the 
graph
template. Ideally, if I could figure out how to filter out particular
triples, this would be slightly more interesting.

I didn't see any CONSTRUCT tests, so I'm not even sure this is possible.

Cheers, 
Kendall

--Data--
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix myfoaf: <http://clark.dallas.tx.us/kendall/foaf.rdf#>.

myfoaf:kendall foaf:name "Kendall Grant Clark";
               foaf:workplaceHomepage <http://www.mindswap.org/>;
               foaf:homepage <http://clark.dallas.tx.us/kendall/>;
               foaf:knows myfoaf:edd;
               foaf:knows myfoaf:niel;
                        rdf:type foaf:Person.

myfoaf:edd foaf:mbox <mailto:edd@usefulinc.com>;
                    rdf:type foaf:Person.

myfoaf:niel rdf:type foaf:Person;
                     foaf:mbox <mailto:niel@bornstein.atlanta.ga.us>.
----

--Query--
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX myfoaf: <http://clark.dallas.tx.us/kendall/foaf.rdf#>

CONSTRUCT { myfoaf:kendall foaf:depiction <http://clark.dallas.tx.us/kendall/kendall.jpg>.
            myfoaf:kendall foaf:schoolHomepage <http://www.smu.edu/>.
            ?s ?p ?o.}
WHERE { ?s ?p ?o.}
----

--Results--
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix myfoaf: <http://clark.dallas.tx.us/kendall/foaf.rdf#>.

myfoaf:kendall foaf:name "Kendall Grant Clark";
                        foaf:depiction <http://clark.dallas.tx.us/kendall/kendall.jpg>.
                        foaf:schoolHomepage <http://www.smu.edu/>.
               foaf:workplaceHomepage <http://www.mindswap.org/>;
               foaf:homepage <http://clark.dallas.tx.us/kendall/>;
               foaf:knows myfoaf:edd;
               foaf:knows myfoaf:niel;
                        rdf:type foaf:Person.

myfoaf:edd foaf:mbox <mailto:edd@usefulinc.com>;
                    rdf:type foaf:Person.

myfoaf:niel rdf:type foaf:Person;
                     foaf:mbox <mailto:niel@bornstein.atlanta.ga.us>.
----
Received on Friday, 5 August 2005 19:49:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:24 GMT