W3C home > Mailing lists > Public > public-lod@w3.org > December 2012

LOD Happy Holidays

From: David Wood <david@3roundstones.com>
Date: Fri, 21 Dec 2012 09:39:38 -0500
Message-Id: <E58B5194-EB43-4BFD-8535-1DBDAC7ED8ED@3roundstones.com>
To: "public-lod@w3.org community" <public-lod@w3.org>
Hi all,

At http://dbpedia.org/sparql

SELECT ("Happy" as ?salutation) ?name1 ?name2 ?name3 ?name4 ?name5 WHERE {
  OPTIONAL {<http://dbpedia.org/resource/Hanukka> rdfs:label ?name1}
  OPTIONAL {<http://dbpedia.org/resource/Christmas> foaf:name ?name2}
  OPTIONAL {<http://dbpedia.org/resource/Kwanza> rdfs:label ?name3}
  OPTIONAL {<http://dbpedia.org/resource/Solstice> rdfs:label ?name4}
  FILTER langMatches( lang(?name4), "EN" )
  OPTIONAL {<http://dbpedia.org/resource/New_Year> rdfs:label ?name5}
  FILTER langMatches( lang(?name5), "EN" )
}

http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+%28%22Happy%22+as+%3Fsalutation%29+%3Fname1+%3Fname2+%3Fname3+%3Fname4+%3Fname5+WHERE+%7B%0D%0A++OPTIONAL+%7B%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FHanukka%3E+rdfs%3Alabel+%3Fname1%7D%0D%0A++OPTIONAL+%7B%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FChristmas%3E+foaf%3Aname+%3Fname2%7D%0D%0A++OPTIONAL+%7B%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FKwanza%3E+rdfs%3Alabel+%3Fname3%7D%0D%0A++OPTIONAL+%7B%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FSolstice%3E+rdfs%3Alabel+%3Fname4%7D%0D%0A++FILTER+langMatches%28+lang%28%3Fname4%29%2C+%22EN%22+%29%0D%0A++OPTIONAL+%7B%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FNew_Year%3E+rdfs%3Alabel+%3Fname5%7D%0D%0A++FILTER+langMatches%28+lang%28%3Fname5%29%2C+%22EN%22+%29%0D%0A%7D&format=text%2Fhtml&timeout=0&debug=on

Regards,
Dave
--
http://about.me/david_wood




Received on Friday, 21 December 2012 14:40:10 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:30:02 UTC