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

Wonky example

From: Steve Harris <steve.harris@garlik.com>
Date: Tue, 22 May 2012 16:14:20 +0100
Message-Id: <49CD9309-F29A-4C7B-84CC-98DAF66C1E5E@garlik.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#extensionFunctions

Not really a big issue, but could be confusing:

WHERE { ?a aGeo:placeName "Grenoble" .
        ?a aGeo:location ?axLoc .
        ?a aGeo:location ?ayLoc .

        ?b aGeo:placeName ?neighbor .
        ?b aGeo:location ?bxLoc .
        ?b aGeo:location ?byLoc .


would be better if there were two properties like aGeo:location, e.g. aGeo:locationx and aGeo:locationy or similar, otherwise the results will be strange, unless the coordinate system is very weird :)

- Steve

-- 
Steve Harris, CTO
Garlik, a part of Experian
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 653331 VAT # 887 1335 93
Registered office: Landmark House, Experian Way, Nottingham, Notts, NG80 1ZZ
Received on Tuesday, 22 May 2012 15:15:11 GMT

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