Simple Question (Direct)
Simple Question
Q16137723
P102
Q7210356
USER
Which party is Louis Terhar affiliated with ?
(Q16137723,P102,c(Q7210356))
action filter_type
action find
entity Q16137723
relation P102
type Q7210356
['Q16137723', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . resource:Q16137723 property:P102 ?l }
Louis Terhar
action filter_type
action find
entity Louis Terhar
relation member of political party
type political organization
['Louis Terhar', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . resource:Louis_Terhar property:member_of_political_party ?l }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q16137723,P102,c(Q7210356))
action filter_type
action find
entity Q16137723
relation P102
type Q7210356
Louis Terhar is affiliated with [ANSWER]
['Q16137723', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . resource:Q16137723 property:P102 ?l }
Republican Party
Louis Terhar is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Louis Terhar
relation member of political party
type political organization
['Louis Terhar', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . resource:Louis_Terhar property:member_of_political_party ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16137723
P937
Q56061
USER
What is the location where Louis Terhar worked ?
(Q16137723,P937,c(Q56061))
action filter_type
action find
entity Q16137723
relation P937
type Q56061
['Q16137723', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q16137723 property:P937 ?e . ?e rdf:type ontology:Q56061 }
Louis Terhar
action filter_type
action find
entity Louis Terhar
relation work location
type administrative territorial entity
['Louis Terhar', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Louis_Terhar property:work_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16567
SYSTEM
Columbus
Q16567
(Q16137723,P937,c(Q56061))
action filter_type
action find
entity Q16137723
relation P937
type Q56061
The location Louis Terhar worked is in [ANSWER]
['Q16137723', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q16137723 property:P937 ?e . ?e rdf:type ontology:Q56061 }
Columbus
The location Louis Terhar worked is in Columbus
Columbus
action filter_type
action find
entity Louis Terhar
relation work location
type administrative territorial entity
['Louis Terhar', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Louis_Terhar property:work_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1711786
Q56061
USER
And how about Juli Alexandrowitsch Kwizinski?
(Q1711786,P937,c(Q56061))
action filter_type
action find
entity Q1711786
relation P937
type Q56061
['Q1711786', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q1711786 property:P937 ?w }
Juli Alexandrowitsch Kwizinski
action filter_type
action find
entity Juli Alexandrowitsch Kwizinski
relation work location
type administrative territorial entity
['Juli Alexandrowitsch Kwizinski', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Juli_Alexandrowitsch_Kwizinski property:work_location ?w }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q1711786,P937,c(Q56061))
action filter_type
action find
entity Q1711786
relation P937
type Q56061
[ANSWER]
['Q1711786', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q1711786 property:P937 ?w }
Moscow
Moscow
action filter_type
action find
entity Juli Alexandrowitsch Kwizinski
relation work location
type administrative territorial entity
['Juli Alexandrowitsch Kwizinski', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Juli_Alexandrowitsch_Kwizinski property:work_location ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q649 Q12668210 Q4997208
P190
Q56061
USER
Is that administrative territory twin city of Pandėlys and Bulçesh ?
(Q649,P190,Q12668210) (Q649,P190,Q4997208)
action is_in
entity Q649
action intersection
action find_reverse
entity Q12668210
relation P190
action find_reverse
entity Q4997208
relation P190
['Q649', 'P190', 'Q12668210'] ['Q649', 'P190', 'Q4997208']
ASK WHERE { resource:Q649 property:P190 resource:Q12668210 . resource:Q649 property:P190 resource:Q4997208 }
Moscow Pandėlys Bulçesh
action is_in
entity Moscow
action intersection
action find_reverse
entity Pandėlys
relation sister city
action find_reverse
entity Bulçesh
relation sister city
['Moscow', 'sister city', 'Pandėlys'] ['Moscow', 'sister city', 'Bulçesh']
ASK WHERE { resource:Moscow property:sister_city resource:Pandėlys . resource:Moscow property:sister_city resource:Bulçesh }
[]
administrative territorial entity
SYSTEM
NO
(Q649,P190,Q12668210) (Q649,P190,Q4997208)
action is_in
entity Q649
action intersection
action find_reverse
entity Q12668210
relation P190
action find_reverse
entity Q4997208
relation P190
[ANSWER]
['Q649', 'P190', 'Q12668210'] ['Q649', 'P190', 'Q4997208']
ASK WHERE { resource:Q649 property:P190 resource:Q12668210 . resource:Q649 property:P190 resource:Q4997208 }
No
action is_in
entity Moscow
action intersection
action find_reverse
entity Pandėlys
relation sister city
action find_reverse
entity Bulçesh
relation sister city
['Moscow', 'sister city', 'Pandėlys'] ['Moscow', 'sister city', 'Bulçesh']
ASK WHERE { resource:Moscow property:sister_city resource:Pandėlys . resource:Moscow property:sister_city resource:Bulçesh }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29468 Q61
P159
Q56061
USER
Is Washington, D.C. the head office of Republican Party ?
(Q29468,P159,Q61)
action is_in
entity Q61
action find
entity Q29468
relation P159
['Q29468', 'P159', 'Q61']
ASK WHERE { resource:Q29468 property:P159 resource:Q61 }
Republican Party Washington, D.C.
action is_in
entity Washington, D.C.
action find
entity Republican Party
relation headquarters location
['Republican Party', 'headquarters location', 'Washington, D.C.']
ASK WHERE { resource:Republican_Party property:headquarters_location resource:Washington,_D.C. }
[]
administrative territorial entity
SYSTEM
YES
(Q29468,P159,Q61)
action is_in
entity Q61
action find
entity Q29468
relation P159
[ANSWER]
['Q29468', 'P159', 'Q61']
ASK WHERE { resource:Q29468 property:P159 resource:Q61 }
Yes
action is_in
entity Washington, D.C.
action find
entity Republican Party
relation headquarters location
['Republican Party', 'headquarters location', 'Washington, D.C.']
ASK WHERE { resource:Republican_Party property:headquarters_location resource:Washington,_D.C. }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q649 Q1297 Q994
P190
Q56061
USER
Is Moscow twin city of Chicago and Tbilisi ?
(Q649,P190,Q1297) (Q649,P190,Q994)
action is_in
entity Q649
action intersection
action find_reverse
entity Q1297
relation P190
action find_reverse
entity Q994
relation P190
['Q649', 'P190', 'Q1297'] ['Q649', 'P190', 'Q994']
ASK WHERE { resource:Q649 property:P190 resource:Q1297 . resource:Q649 property:P190 resource:Q994 }
Moscow Chicago Tbilisi
action is_in
entity Moscow
action intersection
action find_reverse
entity Chicago
relation sister city
action find_reverse
entity Tbilisi
relation sister city
['Moscow', 'sister city', 'Chicago'] ['Moscow', 'sister city', 'Tbilisi']
ASK WHERE { resource:Moscow property:sister_city resource:Chicago . resource:Moscow property:sister_city resource:Tbilisi }
[]
administrative territorial entity
SYSTEM
YES
(Q649,P190,Q1297) (Q649,P190,Q994)
action is_in
entity Q649
action intersection
action find_reverse
entity Q1297
relation P190
action find_reverse
entity Q994
relation P190
[ANSWER]
['Q649', 'P190', 'Q1297'] ['Q649', 'P190', 'Q994']
ASK WHERE { resource:Q649 property:P190 resource:Q1297 . resource:Q649 property:P190 resource:Q994 }
Yes
action is_in
entity Moscow
action intersection
action find_reverse
entity Chicago
relation sister city
action find_reverse
entity Tbilisi
relation sister city
['Moscow', 'sister city', 'Chicago'] ['Moscow', 'sister city', 'Tbilisi']
ASK WHERE { resource:Moscow property:sister_city resource:Chicago . resource:Moscow property:sister_city resource:Tbilisi }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16567 Q3057318
P190
Q56061
USER
Is Ernonheid sister town of Columbus ?
(Q16567,P190,Q3057318)
action is_in
entity Q3057318
action find
entity Q16567
relation P190
['Q16567', 'P190', 'Q3057318']
ASK WHERE { resource:Q16567 property:P190 resource:Q3057318 }
Columbus Ernonheid
action is_in
entity Ernonheid
action find
entity Columbus
relation sister city
['Columbus', 'sister city', 'Ernonheid']
ASK WHERE { resource:Columbus property:sister_city resource:Ernonheid }
[]
administrative territorial entity
SYSTEM
NO
(Q16567,P190,Q3057318)
action is_in
entity Q3057318
action find
entity Q16567
relation P190
[ANSWER]
['Q16567', 'P190', 'Q3057318']
ASK WHERE { resource:Q16567 property:P190 resource:Q3057318 }
No
action is_in
entity Ernonheid
action find
entity Columbus
relation sister city
['Columbus', 'sister city', 'Ernonheid']
ASK WHERE { resource:Columbus property:sister_city resource:Ernonheid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16567
P47
Q56061
USER
Which administrative territory has a shared border with Columbus?
action filter_type
action find
entity Q16567
relation P47
type Q56061
SELECT DISTINCT ?r WHERE { resource:Q16567 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Columbus
action filter_type
action find
entity Columbus
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?r WHERE { resource:Columbus property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q815891
SYSTEM
Bellefontaine
Q815891
action filter_type
action find
entity Q16567
relation P47
type Q56061
[ANSWER] has a shared border with Columbus
SELECT DISTINCT ?r WHERE { resource:Q16567 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Bellefontaine
Bellefontaine has a shared border with Columbus
Bellefontaine
action filter_type
action find
entity Columbus
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?r WHERE { resource:Columbus property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q815891 Q572921 Q30
P17
Q15617994
USER
Is that administrative territory located in Lauingen and United States of America ?
(Q815891,P17,Q572921) (Q815891,P17,Q30)
action is_in
entity Q815891
action intersection
action find_reverse
entity Q572921
relation P17
action find_reverse
entity Q30
relation P17
['Q815891', 'P17', 'Q572921'] ['Q815891', 'P17', 'Q30']
ASK WHERE { resource:Q815891 property:P17 resource:Q572921 . resource:Q815891 property:P17 resource:Q30 }
Bellefontaine Lauingen United States of America
action is_in
entity Bellefontaine
action intersection
action find_reverse
entity Lauingen
relation country
action find_reverse
entity United States of America
relation country
['Bellefontaine', 'country', 'Lauingen'] ['Bellefontaine', 'country', 'United States of America']
ASK WHERE { resource:Bellefontaine property:country resource:Lauingen . resource:Bellefontaine property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q815891,P17,Q572921) (Q815891,P17,Q30)
action is_in
entity Q815891
action intersection
action find_reverse
entity Q572921
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q815891', 'P17', 'Q572921'] ['Q815891', 'P17', 'Q30']
ASK WHERE { resource:Q815891 property:P17 resource:Q572921 . resource:Q815891 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Bellefontaine
action intersection
action find_reverse
entity Lauingen
relation country
action find_reverse
entity United States of America
relation country
['Bellefontaine', 'country', 'Lauingen'] ['Bellefontaine', 'country', 'United States of America']
ASK WHERE { resource:Bellefontaine property:country resource:Lauingen . resource:Bellefontaine property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q34442 Q728937
USER
How many administrative territories are the endpoints for atmost 1 roads and railroad lines ?
(c(Q34442)|c(Q728937),P559,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
value 1
[[{'concept': 'Q34442'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q728937 ) } . ?e rdf:type ?m } GROUP BY ?t } . FILTER ( ?x <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
value 1
[[{'concept': 'road'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:road ) ( ontology:railroad_line ) } . ?e rdf:type ?m } GROUP BY ?t } . FILTER ( ?x <= 1 ) }
[]
administrative territorial entity road railroad line
SYSTEM
157
Q938820 Q9832 Q3051477 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q3812238 Q69639 Q1017610 Q10084 Q375314 Q12439 Q7567083 Q2814 Q541055 Q723164 Q82490 Q4825403 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 Q5902931 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q7651719 Q171357 Q134620 Q956 Q959 Q992420 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q7050868 Q24826 Q6509 Q671348 Q28327 Q5477618 Q5032535 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q35433 Q1763 Q1449 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q6820370 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2703030 Q2133814 Q794802 Q7944369 Q646784 Q79499 Q184383 Q6275457 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q1735 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q580016 Q2290 Q12191 Q244289 Q237253 Q485186 Q588417 Q634172 Q146659 Q522362 Q1729 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q34442)|c(Q728937),P559,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
value 1
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:Q34442 ) ( ontology:Q728937 ) } . ?e rdf:type ?m } GROUP BY ?t } . FILTER ( ?x <= 1 ) }
Virrat Eindhoven Ellewoutsdijk Minehead Sedbury Annalankangas Edinburgh Scheveningen Bronygarth Göschenen Horgoš Vlissingen Folkestone Detroit South Drain Halle (Saale) Oijen Pop Lyme Regis Austrepollen Winchester Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Paramaribo Horda, Norway Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Svartnes Kecskemét Jyväskylä Beijing Vladivostok Fjærland Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Nordrepollen Liverpool Burgas Worthing Örnsköldsvik Frafjord Cann River Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Saint-Rhémy-en-Bosses Murmansk Genoa Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Merritton, Ontario Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Apoera Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria Kilsby St Nicholas-at-Wade Otira Värpinge Moffat Helena Zeebrugge Jong, Norway Deerfield Afobaka Lilla Alby Antwerp Farnham Ulan-Ude Innsbruck Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Albina Porsgrunn Nantes Athis-Mons Great Yarmouth Key West Sewell, Chile Banihal Clapham Bad Säckingen Erfurt Aviemore Karkkila Birstall Los Angeles Prague
157
action count
action atmost
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
value 1
[[{'concept': 'road'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?x ) WHERE { VALUES ( ?m ) { ( ontology:road ) ( ontology:railroad_line ) } . ?e rdf:type ?m } GROUP BY ?t } . FILTER ( ?x <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P194
Q1752346
USER
Which assembly is the legislative body for Moscow ?
(Q649,P194,c(Q1752346))
action filter_type
action find
entity Q649
relation P194
type Q1752346
['Q649', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1752346 . resource:Q649 property:P194 ?l }
Moscow
action filter_type
action find
entity Moscow
relation legislative body
type assembly
['Moscow', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:assembly . resource:Moscow property:legislative_body ?l }
[]
assembly
Q2041767
SYSTEM
Moscow City Duma
Q2041767
(Q649,P194,c(Q1752346))
action filter_type
action find
entity Q649
relation P194
type Q1752346
[ANSWER] is the legislative body for Moscow
['Q649', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1752346 . resource:Q649 property:P194 ?l }
Moscow City Duma
Moscow City Duma is the legislative body for Moscow
Moscow City Duma
action filter_type
action find
entity Moscow
relation legislative body
type assembly
['Moscow', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:assembly . resource:Moscow property:legislative_body ?l }
[]