LinguaLibre

Difference between revisions of "Speakers"

Line 13: Line 13:
  
 
        
 
        
           ?locutor prop:P12 ?location .
+
           ?locutor prop:P14 ?location .
 
           BIND(uri(concat("http://www.wikidata.org/entity/", ?location)) as ?locationItem).
 
           BIND(uri(concat("http://www.wikidata.org/entity/", ?location)) as ?locationItem).
 
    
 
    
 
           SERVICE <https://query.wikidata.org/sparql> {
 
           SERVICE <https://query.wikidata.org/sparql> {
             #extra:{"type":"wikidata", "label":"P12"} ?locationItem wdt:P131*/wdt:P131? wd:[EXTRA] .
+
             #extra:{"type":"wikidata", "label":"P14"} ?locationItem wdt:P131*/wdt:P131? wd:[EXTRA] .
 
             ?locationItem rdfs:label ?place .
 
             ?locationItem rdfs:label ?place .
 
             FILTER (LANG(?place) = "fr") .
 
             FILTER (LANG(?place) = "fr") .

Revision as of 17:28, 18 May 2018

The SPARQL endpoint isn't ready yet, come back in a few days :)

... Loading ...