Question
stringlengths 13
126
| Query
stringlengths 9
976
| Answer
stringlengths 3
20.9M
⌀ |
---|---|---|
Is Galway the largest county in Connacht?
|
ASK WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_county_108546183 . ?x rdf:type ?type . ?x (yago:isLocatedIn)+ yago:Connacht . ?x yago:hasArea ?area . yago:County_Galway yago:hasArea ?Garea . ?x (yago:isLocatedIn)+ yago:Connacht FILTER ( xsd:float(?area) < xsd:float(?Garea) ) }
|
{'head': {}, 'boolean': False}
|
What is the longest river in the United States ?
|
SELECT ?rivers WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_river_109411430 . ?rivers rdf:type ?type . ?rivers (yago:isLocatedIn)+ yago:United_States . ?rivers yago:hasLength ?length } ORDER BY DESC(xsd:integer(?length)) LIMIT 1
|
rivers
http://yago-knowledge.org/resource/Alum_Creek
|
Give me 10 rivers in USA?
|
SELECT ?rivers WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_river_109411430 . ?rivers rdf:type ?type . ?rivers (yago:isLocatedIn)+ yago:United_States . ?rivers yago:hasLength ?length } ORDER BY DESC(xsd:integer(?length)) LIMIT 1
|
rivers
http://yago-knowledge.org/resource/Alum_Creek
|
Which is the largest settlement in Europe?
|
SELECT DISTINCT ?settlement WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_settlement_108672562 . ?settlement rdf:type ?type . ?settlement (yago:isLocatedIn)+ yago:Europe . ?settlement yago:hasArea ?area } ORDER BY DESC(?area) LIMIT 1
|
settlement
http://yago-knowledge.org/resource/Issigeac
|
Which settlement has the biggest population in France?
|
SELECT ?pop WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_settlement_108672562 . ?settlement rdf:type ?type . ?settlement (yago:isLocatedIn)+ yago:France . ?settlement yago:hasPopulation ?pop } ORDER BY DESC(xsd:integer(?pop)) LIMIT 1
|
pop
7127
|
Which is the longest river in Greece?
|
SELECT ?rivers WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_river_109411430 . ?rivers rdf:type ?type . ?rivers (yago:isLocatedIn)+ yago:Greece . ?rivers yago:hasLength ?length } ORDER BY DESC(xsd:integer(?length)) LIMIT 1
|
rivers
http://yago-knowledge.org/resource/Mornos
|
What is the oldest historical site in the United States?
|
SELECT ?historical_site WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_memorial_103743902 . ?historical_site rdf:type ?type . ?historical_site (yago:isLocatedIn)+ yago:United_States . ?historical_site yago:wasCreatedOnDate ?date } ORDER BY ?date LIMIT 1
|
historical_site
http://yago-knowledge.org/resource/Sacred_Cod_of_Massachusetts
|
Which is the tallest building in the United States?
|
SELECT ?building WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_building_102913152 . ?building rdf:type ?type . ?building (yago:isLocatedIn)+ yago:United_States . ?building yago:hasHeight ?height } ORDER BY DESC(?height) LIMIT 1
|
building
http://yago-knowledge.org/resource/Ronald_V._Dellums_Federal_Building
|
Which is the tallest dam in California?
|
SELECT ?beacon WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_dam_103160309 . ?beacon rdf:type ?type . ?beacon (yago:isLocatedIn)+ yago:California . ?beacon yago:hasHeight ?height } ORDER BY DESC(?height) LIMIT 1
|
beacon
http://yago-knowledge.org/resource/Boca_Dam
|
Which is the oldest castle in Pennsylvania?
|
SELECT ?castle WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_palace_103878066 . ?castle rdf:type ?type . ?castle (yago:isLocatedIn)+ yago:Pennsylvania . ?castle yago:wasCreatedOnDate ?date } ORDER BY ?date LIMIT 1
|
castle
http://yago-knowledge.org/resource/Garden_Theater
|
Which is the oldest church in the United States?
|
SELECT ?beacon WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_church_103028079 . ?beacon rdf:type ?type . ?beacon (yago:isLocatedIn)+ yago:United_States . ?beacon yago:wasCreatedOnDate ?date } ORDER BY ?date LIMIT 1
|
beacon
http://yago-knowledge.org/resource/Flatlands_Dutch_Reformed_Church
|
What is the tallest building in Ireland ?
|
SELECT ?building WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_building_102913152 . ?building rdf:type ?type . ?building (yago:isLocatedIn)+ yago:Republic_of_Ireland . ?building yago:hasHeight ?height } ORDER BY DESC(?height) LIMIT 1
|
building
http://yago-knowledge.org/resource/George%27s_Quay_Plaza
|
In which state is the tallest building in New York?
|
SELECT ?building WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_building_102913152 . ?building rdf:type ?type . ?building (yago:isLocatedIn)+ yago:New_York_City . ?building yago:hasHeight ?height } ORDER BY DESC(?height) LIMIT 1
|
building
http://yago-knowledge.org/resource/New_York_World_Building
|
Which is the tallest building in Chicago?
|
SELECT ?building WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_building_102913152 . ?building rdf:type ?type . ?building (yago:isLocatedIn)+ yago:Chicago . ?building yago:hasHeight ?height } ORDER BY DESC(?height) LIMIT 1
|
building
"http://yago-knowledge.org/resource/Masonic_Temple_(Chicago,_Illinois)"
|
What is the total population of the 5 biggest cities of the United Kingdom ?
|
SELECT (SUM(xsd:integer(?pop)) AS ?totalpop) WHERE { { SELECT ?city (strdf:area(?lWKT) AS ?area) WHERE { yago:United_Kingdom geo:hasGeometry ?geom . ?geom geo:asWKT ?mWKT . ?lake rdf:type y2geoo:OSM_city ; geo:hasGeometry ?geol . ?geol geo:asWKT ?lWKT FILTER geof:sfContains(?mWKT, ?lWKT) } ORDER BY DESC(xsd:integer(?area)) LIMIT 5 } ?city yago:hasPopulation ?pop }
|
totalpop
104496392985
|
What is the population total of the 5 largest US states?
|
SELECT (SUM(xsd:integer(?pop)) AS ?populationTotal) WHERE { SELECT ?state ?pop WHERE { ?state rdf:type yago:wikicategory_States_of_the_United_States ; yago:hasPopulation ?pop } ORDER BY DESC(xsd:integer(?pop)) LIMIT 5 }
|
populationTotal
9685744
|
Which city in California has the most hospitals?
|
SELECT ?city WHERE { ?type (rdfs:subClassOf)+ yago:wordnet_administrative_district_108491826 . ?city rdf:type ?type . ?city (yago:isLocatedIn)+ yago:California . ?type1 (rdfs:subClassOf)+ yago:wordnet_hospital_103540595 . ?hospital rdf:type ?type1 . ?hospital (yago:isLocatedIn)+ ?city } GROUP BY ?city ORDER BY DESC(COUNT(?hospital)) LIMIT 1
|
city
http://yago-knowledge.org/resource/Los_Angeles
|
What is the population of Region of Central Greece?
|
same-as:1
|
same-as:1
|
What is location of the county Cambridge?
|
same-as:11
|
same-as:11
|
What is population of Kalithea?
|
same-as:43
|
same-as:43
|
What is the population of Andraveda?
|
same-as:49
|
same-as:49
|
What is the population of region Psara?
|
same-as:53
|
same-as:53
|
Which is the population of Nikaia Agios Ioannis Rentis?
|
same-as:70
|
same-as:70
|
Where is the Manchester city located?
|
same-as:72
|
same-as:72
|
Is Oxfordshire far away from Kent more than 100km?
|
same-as:153
|
same-as:153
|
Is Oxfordshire at distance of 100km from Kent?
|
same-as:153
|
same-as:153
|
Does County Galway contains Claregalway?
|
same-as:157
|
same-as:157
|
Is Samos west of Rodos?
|
same-as:158
|
same-as:158
|
Is the city of Cork located southern of the city of Galway?
|
same-as:164
|
same-as:164
|
Is the Distance between Bublin and Arklow more than 10km?
|
same-as:186
|
same-as:186
|
Does the Athens municipality touch Kallithea?
|
same-as:190
|
same-as:190
|
Is Kalmata north of Tripoli??
|
same-as:206
|
same-as:206
|
Is Liverpool around 40 kms of Manchester?
|
same-as:219
|
same-as:219
|
Which Forests are less than 25km far away from County Sligo?
|
same-as:283
|
same-as:283
|
Which beaches are near by Naxos?
|
same-as:306
|
same-as:306
|
Which lakes are in Ipiros region?
|
same-as:278
|
same-as:278
|
Which are the wards that comprise of City Belfast?
|
same-as:335
|
same-as:335
|
Which municipalities border municipality Athens?
|
same-as:360
|
same-as:360
|
Which forests are contained in the Norfolk?
|
same-as:364
|
same-as:364
|
Which streams cross the municipalities that are located in the interior region of Thessaly?
|
same-as:463
|
same-as:463
|
Which county council boarding the city of Cork contains the biggest lake?
|
same-as:474
|
same-as:474
|
All the district that has forest south of Staffordshire?
|
same-as:497
|
same-as:497
|
Which England county has inside the biggest area forest?
|
same-as:792
|
same-as:792
|
What is the county with the max area in the UK?
|
same-as:374
|
same-as:374
|
What is the maximum area between Ireland's counties?
|
same-as:800
|
same-as:800
|
Which rivers are in islands in Greece?
|
same-as:674
|
same-as:674
|
All municipalities have a beach inside their boundaries, in Greece?
|
same-as:490
|
same-as:490
|
Which forests in Essex county are west of a lake?
|
same-as:542
|
same-as:542
|
In TULLYHAW Barony, which stream are west a townland?
|
same-as:543
|
same-as:543
|
Which municipality in Crete region have population over 20000?
|
same-as:602
|
same-as:602
|
Which villages at New York contain more than 10000 residents?
|
same-as:957
|
same-as:957
|
Find count of forests on Egland?
|
same-as:614
|
same-as:614
|
Count lakes in Greece.
|
same-as:619
|
same-as:619
|
How many lakes are there at England?
|
same-as:620
|
same-as:620
|
How much lakeside vilages are there?
|
same-as:627
|
same-as:627
|
What's the count of isles with lakes?
|
same-as:644
|
same-as:644
|
How many beaches are at regions at Greece?
|
same-as:676
|
same-as:676
|
How many inhabited islands belong to the USA of America?
|
same-as:962
|
same-as:962
|
Which Irish counties have no forstlands?
|
same-as:590
|
same-as:590
|
Find the 3 least populated munciplaities of Greece.
|
same-as:762
|
same-as:762
|
Which village in Rodes has the biggest population?
|
same-as:781
|
same-as:781
|
What is the most large park in Greece?
|
same-as:860
|
same-as:860
|
Which 2 counties are the fewest by area?
|
same-as:829
|
same-as:829
|
Which is the largest United State?
|
same-as:819
|
same-as:819
|
Which irish barony county has most count of lakes?
|
same-as:881
|
same-as:881
|
How much is the size of the largest forest in Cambridgeshire?
|
same-as:884
|
same-as:884
|
Which is the capital of North Ireland?
|
same-as:900
|
same-as:900
|
How much people live in the LA?
|
same-as:903
|
same-as:903
|
Give me the lat and lon of the NYC?
|
same-as:910
|
same-as:910
|
What museums can I visit in Nwe York?
|
same-as:940
|
same-as:940
|
Which countrys capital is Belfast?
|
same-as:952
|
same-as:952
|
How much states does the USA have?
|
same-as:969
|
same-as:969
|
How much universities be in Seattle?
|
same-as:983
|
same-as:983
|
What is the most older historical site in United States?
|
same-as:1007
|
same-as:1007
|
Where is the Liverpool located?
|
same-as:7
|
same-as:7
|
How much is the size of Eretria?
|
same-as:28
|
same-as:28
|
What is the population of Siros?
|
same-as:59
|
same-as:59
|
How much population does Syros has?
|
same-as:59
|
same-as:59
|
Where is Chikago located?
|
same-as:122
|
same-as:122
|
Is Dublin above Kilkenny?
|
same-as:150
|
same-as:150
|
Is Oxford at most 3kms from Cambridge?
|
same-as:171
|
same-as:171
|
Which Regional Unit border with Thessaly?
|
same-as:287
|
same-as:287
|
Which are bordering districts of the Greater London Authority?
|
same-as:303
|
same-as:303
|
Is Dublin in an island?
|
same-as:305
|
same-as:305
|
Which lakes are in 100km of Ioannina?
|
same-as:390
|
same-as:390
|
Which counties border the Bedford?
|
same-as:406
|
same-as:106
|
How much lakes are in Los Angeles?
|
same-as:613
|
same-as:613
|
Which lakes of England are west of city Manchester?
|
same-as:426
|
same-as:426
|
Where Southampton is located?
|
same-as:23
|
same-as:23
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.