All, I just wanted to have a few elevations of mountains: PREFIX pr: <http://dbpedia.org/property/> select distinct * where { ?uri a <http://dbpedia.org/ontology/Mountain> ; <http://dbpedia.org/ontology/elevation> ?elev ; pr:name ?name ; pr:range <http://dbpedia.org/resource/Hindu_Kush> } ORDER BY DESC(?elev) LIMIT 10 try: http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&should-sponge=&query=PREFIX+pr%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fproperty%2F%3E%0D%0A%0D%0Aselect+distinct+%2A+where+%0D%0A%7B%0D%0A++%3Furi+a+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FMountain%3E+%3B+%0D%0A+++++%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2Felevation%3E+%3Felev+%3B+%0D%0A+++++pr%3Aname+%3Fname+%3B%0D%0A+++++pr%3Arange+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FHindu_Kush%3E%0D%0A%0D%0A%7D++ORDER+BY+DESC%28%3Felev%29+LIMIT+10&format=text%2Fhtml&debug=on What you notice in the result is the different format for the elevation, some are dbpedia-owl:elevation "7403"^^dbpedia-owl:metre ; some are dbpedia-owl:elevation "7,349 metres (24,112 feet)" ; This will cause a mess in the application... Could this be solved when DBPedia is compiled some way? Cheers, KjetilReceived on Tuesday, 23 June 2009 13:46:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:41:34 GMT