Hi,
I want to get one value from a list values of a predicat. For example in
this query, I want to get area of country form DBpedia. Some area are
repeated more then once.
How to do to get just one value for each country?
PREFIX endbp:<http://dbpedia.org/property/>
 PREFIX res: <http://dbpedia.org/resource/>
 SELECT distinct ?area ?countryLabel
  WHERE{
            ?country1  rdf:type dbpedia-owl:Country;

            dbpedia-owl:areaTotal  ?area;
            rdfs:label ?countryLabel.
            FILTER( lang(?countryLabel) = "en" )
}

Thanks

Regards
Olivier
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to