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

V. odd example

From: Bijan Parsia <bparsia@isr.umd.edu>
Date: Mon, 4 Apr 2005 16:25:11 -0400
Message-Id: <189a33879e7ec7c1dd6f0c15a2cb674f@isr.umd.edu>
To: DAWG Mailing List <public-rdf-dawg@w3.org>

http://www.w3.org/2001/sw/DataAccess/rq23/#GraphPatternMatching

I find the example:

	SELECT ?x ?v WHERE ( ?x ?x ?v )

against
	rdf:type rdf:type rdf:Property .

and
	rdfs:seeAlso rdf:type rdf:Property .

To be a bit abstruse, involving reflection on the rdf syntax. Perhaps 
the following would do just as well, and be more in the spirit of the 
other examples:

	SELECT ?x ?v WHERE ( ?x ?v ?x)

against:
	:bob ns:loves :bob

and
	:bob ns:loves :mary

(Actually, I don't know how this query would behave/ought to behave in 
the presense of equivalentTos and other OWLisms)

In any case, something a bit more concrete seems to be in order.

Actually, you could just have

	SELECT ?x ?v WHERE ( ?x foaf:knows :mary)

against
	:bob foaf:knows :mary.

and
	:bob foaf:knows :george.

or
	:bob dc:creator "Foo".

I really think this example should be as simple and concrete as 
possible.

Cheers,
Bijan.
Received on Monday, 4 April 2005 20:25:12 GMT

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