Simple Question (Direct)
Simple Question
Q16231821
P19
Q56061
USER
Which administrative territory is the birthplace of James Moore ?
(Q16231821,P19,c(Q56061))
action filter_type
action find
entity Q16231821
relation P19
type Q56061
['Q16231821', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16231821 property:P19 ?f . ?f rdf:type ontology:Q56061 }
James Moore
action filter_type
action find
entity James Moore
relation place of birth
type administrative territorial entity
['James Moore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:James_Moore property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18125
SYSTEM
Manchester
Q18125
(Q16231821,P19,c(Q56061))
action filter_type
action find
entity Q16231821
relation P19
type Q56061
[ANSWER] is the birthplace of James Moore
['Q16231821', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16231821 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Manchester
Manchester is the birthplace of James Moore
Manchester
action filter_type
action find
entity James Moore
relation place of birth
type administrative territorial entity
['James Moore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:James_Moore property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18125
P47
Q56061
USER
Which administrative territory shares border with that one ?
(c(Q56061),P47,Q18125)
action filter_type
action find
entity Q18125
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q18125']
SELECT DISTINCT ?x WHERE { resource:Q18125 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Manchester
action filter_type
action find
entity Manchester
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Manchester']
SELECT DISTINCT ?x WHERE { resource:Manchester property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q184579
SYSTEM
Bolton
Q184579
(c(Q56061),P47,Q18125)
action filter_type
action find
entity Q18125
relation P47
type Q56061
[ANSWER] shares border with that one
[{'concept': 'Q56061'}, 'P47', 'Q18125']
SELECT DISTINCT ?x WHERE { resource:Q18125 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Bolton
Bolton shares border with that one
Bolton
action filter_type
action find
entity Manchester
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Manchester']
SELECT DISTINCT ?x WHERE { resource:Manchester property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184579
P190
Q56061
USER
Which administrative territory is a sister city of that one ?
(c(Q56061),P190,Q184579)
action filter_type
action find
entity Q184579
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q184579']
SELECT DISTINCT ?c WHERE { resource:Q184579 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Bolton
action filter_type
action find
entity Bolton
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Bolton']
SELECT DISTINCT ?c WHERE { resource:Bolton property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2971
SYSTEM
Paderborn
Q2971
(c(Q56061),P190,Q184579)
action filter_type
action find
entity Q184579
relation P190
type Q56061
[ANSWER] is a sister city of that one
[{'concept': 'Q56061'}, 'P190', 'Q184579']
SELECT DISTINCT ?c WHERE { resource:Q184579 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Paderborn
Paderborn is a sister city of that one
Paderborn
action filter_type
action find
entity Bolton
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Bolton']
SELECT DISTINCT ?c WHERE { resource:Bolton property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q56061 Q2342494 Q166142
USER
Which administrative territories are min number of collectables and applications set in ?
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:P840 ?e . ?e rdf:type ontology:Q56061 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P840 ?e . ?e rdf:type ontology:Q56061 . ?p rdf:type ontology:Q166142 } } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?q rdf:type ?j } GROUP BY ?y } . FILTER ( ?u = ?t ) }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:collectable } UNION { ?p property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:application } } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:application ) } . ?q rdf:type ?j } GROUP BY ?y } . FILTER ( ?u = ?t ) }
[]
administrative territorial entity collectable application
Q1085 Q490 Q1781
SYSTEM
Prague, Milan, Budapest
Q1715 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q331990 Q210292 Q28729 Q25286 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q23725 Q1050826 Q4093 Q3659 Q16563 Q8692 Q585 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1022 Q308891 Q101625 Q48320 Q80985 Q215646 Q80734 Q7880 Q1930 Q1435589 Q597 Q690 Q257536 Q22889 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q1335 Q594807 Q9427 Q48274 Q12340599 Q262483 Q186237 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q11864 Q83387 Q462799 Q8673 Q2861 Q11703 Q2868 Q490 Q48370 Q36036 Q3703 Q208287 Q54212 Q3630 Q17151 Q237 Q6046 Q25416 Q239 Q16558 Q16559 Q753121 Q994 Q35178 Q113546 Q3037 Q723329 Q490737 Q1563 Q900 Q14815 Q169492 Q13670 Q128321 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q25390 Q214178 Q25395 Q78 Q70 Q178168 Q37100 Q2214 Q38022 Q174 Q270 Q37066 Q486439 Q208472 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q41329 Q1555 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q1479 Q387047 Q18419 Q1780 Q1781 Q690052 Q2090 Q2073211 Q1851 Q127856 Q18705 Q3820 Q621549 Q49149 Q676689 Q271411 Q13496 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q1659757 Q268873 Q26 Q1726 Q530090 Q3825 Q159232 Q1757 Q18125 Q1867 Q384 Q5813 Q27393 Q12191 Q126148 Q202337 Q837478 Q184345 Q6106 Q49111 Q499196 Q495373 Q10313 Q49255 Q3640 Q647 Q41621 Q3012 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q6441 Q165972 Q374748 Q485172 Q26793 Q4190 Q897848 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q630533 Q2751 Q41876 Q41970 Q34647 Q1085
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
[ANSWERS] are min number of collectables and applications set in
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:P840 ?e . ?e rdf:type ontology:Q56061 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P840 ?e . ?e rdf:type ontology:Q56061 . ?p rdf:type ontology:Q166142 } } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?q rdf:type ?j } GROUP BY ?y } . FILTER ( ?u = ?t ) }
Hanover Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Korean Demilitarized Zone Yozgat Kozhikode Uppsala Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Oslo Tijuana Farsø Tombstone Giza Plzeň Stuttgart special wards of Tokyo Marrakesh Kōbe Fes Edo Campagna Toulouse Ottawa Folsom Lisbon Delft Janesville Bath Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Montevideo Søborg Timbuktu Nashua Vedersø Deadwood Joensuu Dybbøl Besançon Mexico City Torquay Onllwyn Junagadh Diyarbakır Evanston Lagos Rostock United States Virgin Islands Lima Milan Manchester Lviv Bamako Kauniainen Barnsley Jakarta Thessaloniki Vatican City Novara Stavanger Brussels Fort Worth Austin Atacames Tbilisi Kuwait City Blackeberg Kathmandu Ascot Bloomington Havana Kazan Weißenfels Neukölln Syracuse Midland Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Leeuwarden Nablus Newark Basel Bern Mitrovica Auckland Pskov St. Louis São Paulo Warsaw Bismarck Cedar Rapids Bingöl Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Linz Guatemala City La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Bordeaux Malibu Brooklyn Bratislava Budapest Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Bajram Curri Beirut Inglewood Nantucket Gravesend Malindi Brindisi Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Gimli Newport Beach Northern Ireland Munich Jerichow Libreville Santa Cruz Helsinki Manchester Taipei Skopje Canary Islands Herning Nantes Tangier Nauplion Sabinov Viña del Mar Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Tampa Ankara Rennes Haifa Ulm Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Montpellier Fort Lauderdale Jenin Ann Arbor Bergen Passau Brande Baikonur The Hamptons Liège San Salvador Canberra Scarborough Tire Siena Reims Pyatigorsk Johannesburg Prague
Prague, Milan and Budapest are min number of collectables and applications set in
Prague Milan Budapest
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?g ) WHERE { { ?p property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:collectable } UNION { ?p property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:application } } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:application ) } . ?q rdf:type ?j } GROUP BY ?y } . FILTER ( ?u = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2861
P138
Q1048835
USER
Which political territory comes from Rostock ?
(c(Q1048835),P138,Q2861)
action filter_type
action find_reverse
entity Q2861
relation P138
type Q1048835
[{'concept': 'Q1048835'}, 'P138', 'Q2861']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q2861 . ?s rdf:type ontology:Q1048835 }
Rostock
action filter_type
action find_reverse
entity Rostock
relation named after
type political territorial entity
[{'concept': 'political territorial entity'}, 'named after', 'Rostock']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Rostock . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2898
SYSTEM
Rostock District
Q2898
(c(Q1048835),P138,Q2861)
action filter_type
action find_reverse
entity Q2861
relation P138
type Q1048835
Is [ANSWER] comes from Rostock
[{'concept': 'Q1048835'}, 'P138', 'Q2861']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q2861 . ?s rdf:type ontology:Q1048835 }
Rostock District
Is Rostock District comes from Rostock
Rostock District
action filter_type
action find_reverse
entity Rostock
relation named after
type political territorial entity
[{'concept': 'political territorial entity'}, 'named after', 'Rostock']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Rostock . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2898
P36
Q56061
USER
Which administrative territory is the capital of that political territory ?
(Q2898,P36,c(Q56061))
action filter_type
action find
entity Q2898
relation P36
type Q56061
['Q2898', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2898 property:P36 ?h . ?h rdf:type ontology:Q56061 }
Rostock District
action filter_type
action find
entity Rostock District
relation capital
type administrative territorial entity
['Rostock District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Rostock_District property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16147
SYSTEM
Güstrow
Q16147
(Q2898,P36,c(Q56061))
action filter_type
action find
entity Q2898
relation P36
type Q56061
[ANSWER] is the capital of that political territory
['Q2898', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2898 property:P36 ?h . ?h rdf:type ontology:Q56061 }
Güstrow
Güstrow is the capital of that political territory
Güstrow
action filter_type
action find
entity Rostock District
relation capital
type administrative territorial entity
['Rostock District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Rostock_District property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16147
P1376
Q1048835
USER
Which political territories have that administrative territory as their county seat ?
(Q16147,P1376,c(Q1048835))
action filter_type
action find
entity Q16147
relation P1376
type Q1048835
['Q16147', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q16147 property:P1376 ?g . ?g rdf:type ontology:Q1048835 }
Güstrow
action filter_type
action find
entity Güstrow
relation capital of
type political territorial entity
['Güstrow', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Güstrow property:capital_of ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2898 Q559600
SYSTEM
Rostock District, Güstrow
Q2898 Q559600
(Q16147,P1376,c(Q1048835))
action filter_type
action find
entity Q16147
relation P1376
type Q1048835
[ANSWERS] have that administrative territory as their county seat
['Q16147', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q16147 property:P1376 ?g . ?g rdf:type ontology:Q1048835 }
Rostock District Güstrow
Rostock District and Güstrow have that administrative territory as their county seat
Rostock District Güstrow
action filter_type
action find
entity Güstrow
relation capital of
type political territorial entity
['Güstrow', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Güstrow property:capital_of ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q1048835
USER
How many administrative territories or political territories share border with that political territory ?
(Q2898,P47,c(Q56061)) (Q2898,P47,c(Q1048835)) (Q2898,P47,c(Q56061)) (Q2898,P47,c(Q1048835)) (Q559600,P47,c(Q56061)) (Q559600,P47,c(Q1048835))
['Q2898', 'P47', {'concept': 'Q56061'}] ['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q2898', 'P47', {'concept': 'Q56061'}] ['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q559600', 'P47', {'concept': 'Q56061'}] ['Q559600', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2898 property:P47 ?z } UNION { resource:Q2898 property:P47 ?y } UNION { resource:Q2898 property:P47 ?z } UNION { resource:Q2898 property:P47 ?y } UNION { resource:Q559600 property:P47 ?z } UNION { resource:Q559600 property:P47 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1048835 }
['Rostock District', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['Güstrow', 'shares border with', {'concept': 'administrative territorial entity'}] ['Güstrow', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Rostock_District property:shares_border_with ?z } UNION { resource:Rostock_District property:shares_border_with ?y } UNION { resource:Rostock_District property:shares_border_with ?z } UNION { resource:Rostock_District property:shares_border_with ?y } UNION { resource:Güstrow property:shares_border_with ?z } UNION { resource:Güstrow property:shares_border_with ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q2898
SYSTEM
Did you mean Rostock District ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2898 property:P47 ?z } UNION { resource:Q2898 property:P47 ?y } UNION { resource:Q2898 property:P47 ?z } UNION { resource:Q2898 property:P47 ?y } UNION { resource:Q559600 property:P47 ?z } UNION { resource:Q559600 property:P47 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1048835 }
Did you mean Rostock District ?
Rostock District
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Rostock_District property:shares_border_with ?z } UNION { resource:Rostock_District property:shares_border_with ?y } UNION { resource:Rostock_District property:shares_border_with ?z } UNION { resource:Rostock_District property:shares_border_with ?y } UNION { resource:Güstrow property:shares_border_with ?z } UNION { resource:Güstrow property:shares_border_with ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q2898,P47,c(Q56061)) (Q2898,P47,c(Q1048835)) (Q2898,P47,c(Q56061)) (Q2898,P47,c(Q1048835)) (Q559600,P47,c(Q56061)) (Q559600,P47,c(Q1048835))
['Q2898', 'P47', {'concept': 'Q56061'}] ['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q2898', 'P47', {'concept': 'Q56061'}] ['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q559600', 'P47', {'concept': 'Q56061'}] ['Q559600', 'P47', {'concept': 'Q1048835'}]
['Rostock District', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['Güstrow', 'shares border with', {'concept': 'administrative territorial entity'}] ['Güstrow', 'shares border with', {'concept': 'political territorial entity'}]
[]
SYSTEM
5
Q2861 Q2905 Q2902 Q2909 Q2876
(Q2898,P47,c(Q56061)) (Q2898,P47,c(Q1048835)) (Q2898,P47,c(Q56061)) (Q2898,P47,c(Q1048835)) (Q559600,P47,c(Q56061)) (Q559600,P47,c(Q1048835))
[ANSWER]
['Q2898', 'P47', {'concept': 'Q56061'}] ['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q2898', 'P47', {'concept': 'Q56061'}] ['Q2898', 'P47', {'concept': 'Q1048835'}] ['Q559600', 'P47', {'concept': 'Q56061'}] ['Q559600', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2898 property:P47 ?z } UNION { resource:Q2898 property:P47 ?y } UNION { resource:Q2898 property:P47 ?z } UNION { resource:Q2898 property:P47 ?y } UNION { resource:Q559600 property:P47 ?z } UNION { resource:Q559600 property:P47 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1048835 }
Rostock Ludwigslust-Parchim District Mecklenburgische Seenplatte District Vorpommern-Rügen District Nordwestmecklenburg District
5
['Rostock District', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rostock District', 'shares border with', {'concept': 'political territorial entity'}] ['Güstrow', 'shares border with', {'concept': 'administrative territorial entity'}] ['Güstrow', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Rostock_District property:shares_border_with ?z } UNION { resource:Rostock_District property:shares_border_with ?y } UNION { resource:Rostock_District property:shares_border_with ?z } UNION { resource:Rostock_District property:shares_border_with ?y } UNION { resource:Güstrow property:shares_border_with ?z } UNION { resource:Güstrow property:shares_border_with ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2898
P206
Q355304 Q15324
USER
How many watercourses or bodies of water are located next to Rostock District ?
(Q2898,P206,c(Q355304)) (Q2898,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q2898
relation P206
type Q355304
action filter_type
action find
entity Q2898
relation P206
type Q15324
['Q2898', 'P206', {'concept': 'Q355304'}] ['Q2898', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } }
Rostock District
action count
action union
action filter_type
action find
entity Rostock District
relation located next to body of water
type watercourse
action filter_type
action find
entity Rostock District
relation located next to body of water
type body of water
['Rostock District', 'located next to body of water', {'concept': 'watercourse'}] ['Rostock District', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:watercourse ) ( ontology:body_of_water ) } }
[]
watercourse body of water
SYSTEM
3
Q2216091 Q317006 Q3280
(Q2898,P206,c(Q355304)) (Q2898,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q2898
relation P206
type Q355304
action filter_type
action find
entity Q2898
relation P206
type Q15324
[ANSWER]
['Q2898', 'P206', {'concept': 'Q355304'}] ['Q2898', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } }
Salzhaff Bay of Mecklenburg Warnow
3
action count
action union
action filter_type
action find
entity Rostock District
relation located next to body of water
type watercourse
action filter_type
action find
entity Rostock District
relation located next to body of water
type body of water
['Rostock District', 'located next to body of water', {'concept': 'watercourse'}] ['Rostock District', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:watercourse ) ( ontology:body_of_water ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2898
P206
Q15324
USER
Which bodies of water are situated nearby that political territory ?
action filter_type
action find
entity Q2898
relation P206
type Q15324
SELECT DISTINCT ?z WHERE { resource:Q2898 property:P206 ?z . ?z rdf:type ontology:Q15324 }
Rostock District
action filter_type
action find
entity Rostock District
relation located next to body of water
type body of water
SELECT DISTINCT ?z WHERE { resource:Rostock_District property:located_next_to_body_of_water ?z . ?z rdf:type ontology:body_of_water }
[]
body of water
Q2216091 Q317006
SYSTEM
Salzhaff, Bay of Mecklenburg
Q2216091 Q317006
action filter_type
action find
entity Q2898
relation P206
type Q15324
[ANSWERS] are situated nearby that political territory
SELECT DISTINCT ?z WHERE { resource:Q2898 property:P206 ?z . ?z rdf:type ontology:Q15324 }
Salzhaff Bay of Mecklenburg
Salzhaff and Bay of Mecklenburg are situated nearby that political territory
Salzhaff Bay of Mecklenburg
action filter_type
action find
entity Rostock District
relation located next to body of water
type body of water
SELECT DISTINCT ?z WHERE { resource:Rostock_District property:located_next_to_body_of_water ?z . ?z rdf:type ontology:body_of_water }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2216091 Q317006
P17
Q1048835
USER
Which political territories are Salzhaff and Bay of Mecklenburg located in ?
(Q2216091,P17,c(Q1048835)) (Q317006,P17,c(Q1048835))
action union
action filter_type
action find
entity Q2216091
relation P17
type Q1048835
action filter_type
action find
entity Q317006
relation P17
type Q1048835
['Q2216091', 'P17', {'concept': 'Q1048835'}] ['Q317006', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q2216091 ) ( resource:Q317006 ) } . ?m property:P17 ?k }
Salzhaff Bay of Mecklenburg
action union
action filter_type
action find
entity Salzhaff
relation country
type political territorial entity
action filter_type
action find
entity Bay of Mecklenburg
relation country
type political territorial entity
['Salzhaff', 'country', {'concept': 'political territorial entity'}] ['Bay of Mecklenburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Salzhaff ) ( resource:Bay_of_Mecklenburg ) } . ?m property:country ?k }
[]
political territorial entity
Q183 Q183 Q35
SYSTEM
Germany for 1st, 2nd, Denmark for 3rd
Q183 Q183 Q35
(Q2216091,P17,c(Q1048835)) (Q317006,P17,c(Q1048835))
action union
action filter_type
action find
entity Q2216091
relation P17
type Q1048835
action filter_type
action find
entity Q317006
relation P17
type Q1048835
[ANSWERS]
['Q2216091', 'P17', {'concept': 'Q1048835'}] ['Q317006', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q2216091 ) ( resource:Q317006 ) } . ?m property:P17 ?k }
Germany Germany Denmark
Salzhaff and Bay of Mecklenburg are located in Germany, Germany and Denmark
Germany Germany Denmark
action union
action filter_type
action find
entity Salzhaff
relation country
type political territorial entity
action filter_type
action find
entity Bay of Mecklenburg
relation country
type political territorial entity
['Salzhaff', 'country', {'concept': 'political territorial entity'}] ['Bay of Mecklenburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Salzhaff ) ( resource:Bay_of_Mecklenburg ) } . ?m property:country ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2898
P137
Q159334
USER
Which secondary school can be described as facility operator of Rostock District ?
(c(Q159334),P137,Q2898)
action filter_type
action find_reverse
entity Q2898
relation P137
type Q159334
[{'concept': 'Q159334'}, 'P137', 'Q2898']
SELECT DISTINCT ?d WHERE { ?d property:P137 resource:Q2898 . ?d rdf:type ontology:Q159334 }
Rostock District
action filter_type
action find_reverse
entity Rostock District
relation operator
type secondary school
[{'concept': 'secondary school'}, 'operator', 'Rostock District']
SELECT DISTINCT ?d WHERE { ?d property:operator resource:Rostock_District . ?d rdf:type ontology:secondary_school }
[]
secondary school
Q1456173
SYSTEM
Friderico-Francisceum
Q1456173
(c(Q159334),P137,Q2898)
action filter_type
action find_reverse
entity Q2898
relation P137
type Q159334
[ANSWER] can be described as facility operator of Rostock District
[{'concept': 'Q159334'}, 'P137', 'Q2898']
SELECT DISTINCT ?d WHERE { ?d property:P137 resource:Q2898 . ?d rdf:type ontology:Q159334 }
Friderico-Francisceum
Friderico-Francisceum can be described as facility operator of Rostock District
Friderico-Francisceum
action filter_type
action find_reverse
entity Rostock District
relation operator
type secondary school
[{'concept': 'secondary school'}, 'operator', 'Rostock District']
SELECT DISTINCT ?d WHERE { ?d property:operator resource:Rostock_District . ?d rdf:type ontology:secondary_school }
[]