Questions tagged [SPARQL] (2)

0
answer

As for WIKIDATA to the population of the city?

Need to send via the API the name of the city and its region, and in response to the population based on the region. Can't understand how another region to add a query in sparql looks so far SELECT ?item ?city ?region ?population WHERE { ?item wdt:P17 wd:Q159; wdt:P1082 ?population; rdfs:label ?city. FILTER(LANGMATCHES(...
kamron asked March 31st 20 at 19:42
1
answer

As the name of the County or city to get the code from Wikipedia?

There is an example of a request receiving population for Vietnam in json format: https://query.wikidata.org/sparql?format=json&query=SELECT ?country ?countryLabel ?population WHERE { ?country wdt:P31 wd:Q6256. ?country wdt:P17 wd:Q881. ?country wdt:P1082 ?population. SERVICE wikibase:label { bd:serviceParam wikibas...
Craig40 asked March 20th 20 at 12:16
1
answer

SPARQL — ASK query and FILTER, COUNT, please help!?

Please help me! Fighting for a very long time, Google didn't help. Task — "is it True that there are 60 countries landlocked?". Use dbpedia, ASK a query, but how to use COUNT? Don't understand. ASK WHERE { ?c a dbpedia-owl:Country; a yago:LandlockedCountries. } This is of course the answer is True. Tried both the filter a...
Hayden.Bergstrom asked October 10th 19 at 12:33
1
answer

SparQL — relevant?

Today, the University learned that in PHP course we will also give SparQL. Briefly read on Wikipedia about this technology, do not fully understand the principle. But interested in something else: - how relevant and applicable in real life projects this technology? - if true, then in what areas/the areas/parts of the projec...
soni asked September 30th 19 at 17:52
  • 1