Simple Question (Direct)
Simple Question
Q95111
P20
Q56061
USER
Where did Norman Taurog die ?
(Q95111,P20,c(Q56061))
action filter_type
action find
entity Q95111
relation P20
type Q56061
['Q95111', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q95111 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Norman Taurog
action filter_type
action find
entity Norman Taurog
relation place of death
type administrative territorial entity
['Norman Taurog', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Norman_Taurog property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q506446
SYSTEM
Rancho Mirage
Q506446
(Q95111,P20,c(Q56061))
action filter_type
action find
entity Q95111
relation P20
type Q56061
Norman Taurog died in [ANSWER]
['Q95111', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q95111 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Rancho Mirage
Norman Taurog died in Rancho Mirage
Rancho Mirage
action filter_type
action find
entity Norman Taurog
relation place of death
type administrative territorial entity
['Norman Taurog', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Norman_Taurog property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q506446
P47
Q56061
USER
Which administrative territory is adjacent to that one ?
(Q506446,P47,c(Q56061))
action filter_type
action find
entity Q506446
relation P47
type Q56061
['Q506446', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q506446 property:P47 ?l . ?l rdf:type ontology:Q56061 }
Rancho Mirage
action filter_type
action find
entity Rancho Mirage
relation shares border with
type administrative territorial entity
['Rancho Mirage', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rancho_Mirage property:shares_border_with ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q578518
SYSTEM
Cathedral City
Q578518
(Q506446,P47,c(Q56061))
action filter_type
action find
entity Q506446
relation P47
type Q56061
[ANSWER] is adjacent to that one
['Q506446', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q506446 property:P47 ?l . ?l rdf:type ontology:Q56061 }
Cathedral City
Cathedral City is adjacent to that one
Cathedral City
action filter_type
action find
entity Rancho Mirage
relation shares border with
type administrative territorial entity
['Rancho Mirage', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rancho_Mirage property:shares_border_with ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q578518 Q30 Q694616
P17
Q15617994
USER
Is that administrative territory present in United States of America and Steinhorst ?
(Q578518,P17,Q30) (Q578518,P17,Q694616)
action is_in
entity Q578518
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q694616
relation P17
['Q578518', 'P17', 'Q30'] ['Q578518', 'P17', 'Q694616']
ASK WHERE { resource:Q578518 property:P17 resource:Q30 . resource:Q578518 property:P17 resource:Q694616 }
Cathedral City United States of America Steinhorst
action is_in
entity Cathedral City
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Steinhorst
relation country
['Cathedral City', 'country', 'United States of America'] ['Cathedral City', 'country', 'Steinhorst']
ASK WHERE { resource:Cathedral_City property:country resource:United_States_of_America . resource:Cathedral_City property:country resource:Steinhorst }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q578518,P17,Q30) (Q578518,P17,Q694616)
action is_in
entity Q578518
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q694616
relation P17
[ANSWER]
['Q578518', 'P17', 'Q30'] ['Q578518', 'P17', 'Q694616']
ASK WHERE { resource:Q578518 property:P17 resource:Q30 . resource:Q578518 property:P17 resource:Q694616 }
YES and NO respectively
action is_in
entity Cathedral City
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Steinhorst
relation country
['Cathedral City', 'country', 'United States of America'] ['Cathedral City', 'country', 'Steinhorst']
ASK WHERE { resource:Cathedral_City property:country resource:United_States_of_America . resource:Cathedral_City property:country resource:Steinhorst }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q467027 Q95111
P19 P27
Q15617994
USER
Which administrative territories are Norman Taurog a civilian of or were Buffy Sainte-Marie born in ?
OR((Q95111,P27,c(Q15617994)), (Q467027,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q95111
relation P27
action find
entity Q467027
relation P19
type Q15617994
{'OR': [['Q95111', 'P27', {'concept': 'Q15617994'}], ['Q467027', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q467027 property:P19 ?h } UNION { resource:Q95111 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Buffy Sainte-Marie Norman Taurog
action filter_type
action union
action find
entity Norman Taurog
relation country of citizenship
action find
entity Buffy Sainte-Marie
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Norman Taurog', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Buffy Sainte-Marie', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Buffy_Sainte-Marie property:place_of_birth ?h } UNION { resource:Norman_Taurog property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1989 Q30
SYSTEM
Saskatchewan, United States of America
Q1989 Q30
OR((Q95111,P27,c(Q15617994)), (Q467027,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q95111
relation P27
action find
entity Q467027
relation P19
type Q15617994
[ANSWERS] are Norman Taurog a civilian of or were Buffy Sainte-Marie born in
{'OR': [['Q95111', 'P27', {'concept': 'Q15617994'}], ['Q467027', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q467027 property:P19 ?h } UNION { resource:Q95111 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Saskatchewan United States of America
Saskatchewan and United States of America are Norman Taurog a civilian of or were Buffy Sainte-Marie born in
Saskatchewan United States of America
action filter_type
action union
action find
entity Norman Taurog
relation country of citizenship
action find
entity Buffy Sainte-Marie
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Norman Taurog', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Buffy Sainte-Marie', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Buffy_Sainte-Marie property:place_of_birth ?h } UNION { resource:Norman_Taurog property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q467027
P175
Q7725634 Q2031291
USER
How many literary works and releases delivered the performance of Buffy Sainte-Marie ?
(c(Q7725634),P175,Q467027) (c(Q2031291),P175,Q467027)
action count
action union
action filter_type
action find_reverse
entity Q467027
relation P175
type Q7725634
action filter_type
action find_reverse
entity Q467027
relation P175
type Q2031291
[{'concept': 'Q7725634'}, 'P175', 'Q467027'] [{'concept': 'Q2031291'}, 'P175', 'Q467027']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:P175 resource:Q467027 . ?u rdf:type ontology:Q2031291 } UNION { ?u property:P175 resource:Q467027 . ?u rdf:type ontology:Q7725634 } }
Buffy Sainte-Marie
action count
action union
action filter_type
action find_reverse
entity Buffy Sainte-Marie
relation performer
type literary work
action filter_type
action find_reverse
entity Buffy Sainte-Marie
relation performer
type release
[{'concept': 'literary work'}, 'performer', 'Buffy Sainte-Marie'] [{'concept': 'release'}, 'performer', 'Buffy Sainte-Marie']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:performer resource:Buffy_Sainte-Marie . ?u rdf:type ontology:release } UNION { ?u property:performer resource:Buffy_Sainte-Marie . ?u rdf:type ontology:literary_work } }
[]
literary work release
SYSTEM
3 literary works and 17 releases
Q5072036 Q7655200 Q4985984 Q5141580 Q17519445 Q7065837 Q6907982 Q6000384 Q7380019 Q5966311 Q7271890 Q7897645 Q5451286 Q21203250 Q6090374 Q7492080 Q7716932 Q6981127 Q6753367 Q7716931
(c(Q7725634),P175,Q467027) (c(Q2031291),P175,Q467027)
action count
action union
action filter_type
action find_reverse
entity Q467027
relation P175
type Q7725634
action filter_type
action find_reverse
entity Q467027
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q7725634'}, 'P175', 'Q467027'] [{'concept': 'Q2031291'}, 'P175', 'Q467027']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:P175 resource:Q467027 . ?u rdf:type ontology:Q2031291 } UNION { ?u property:P175 resource:Q467027 . ?u rdf:type ontology:Q7725634 } }
Changing Woman Sweet America Buffy Coincidence and Likely Stories I'm Gonna Be a Country Girl Again Now That the Buffalo's Gone Moonshot Illuminations Running for the Drum I'm Gonna Be a Country Girl Again Quiet Places Until It's Time for You to Go Fire & Fleet & Candlelight Power in the Blood It's My Way! She Used to Wanna Be a Ballerina The Best of Buffy Sainte-Marie Vol. 2 Universal Soldier Many a Mile The Best of Buffy Sainte-Marie
3 literary works and 17 releases
action count
action union
action filter_type
action find_reverse
entity Buffy Sainte-Marie
relation performer
type literary work
action filter_type
action find_reverse
entity Buffy Sainte-Marie
relation performer
type release
[{'concept': 'literary work'}, 'performer', 'Buffy Sainte-Marie'] [{'concept': 'release'}, 'performer', 'Buffy Sainte-Marie']
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { ?u property:performer resource:Buffy_Sainte-Marie . ?u rdf:type ontology:release } UNION { ?u property:performer resource:Buffy_Sainte-Marie . ?u rdf:type ontology:literary_work } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27522876 Q578518
P27 P17
Q15617994
USER
Which administrative territories are Cathedral City present in or are the countries of citizenship of Nika Arih ?
OR((Q578518,P17,c(Q15617994)), (Q27522876,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q578518
relation P17
action find
entity Q27522876
relation P27
type Q15617994
{'OR': [['Q578518', 'P17', {'concept': 'Q15617994'}], ['Q27522876', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q27522876 property:P27 ?n } UNION { resource:Q578518 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Nika Arih Cathedral City
action filter_type
action union
action find
entity Cathedral City
relation country
action find
entity Nika Arih
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Cathedral City', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nika Arih', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Nika_Arih property:country_of_citizenship ?n } UNION { resource:Cathedral_City property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q215
SYSTEM
United States of America, Slovenia
Q30 Q215
OR((Q578518,P17,c(Q15617994)), (Q27522876,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q578518
relation P17
action find
entity Q27522876
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q578518', 'P17', {'concept': 'Q15617994'}], ['Q27522876', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q27522876 property:P27 ?n } UNION { resource:Q578518 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America Slovenia
Which administrative territories are Cathedral City present in or are the countries of citizenship of Nika Arih
United States of America Slovenia
action filter_type
action union
action find
entity Cathedral City
relation country
action find
entity Nika Arih
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Cathedral City', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nika Arih', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Nika_Arih property:country_of_citizenship ?n } UNION { resource:Cathedral_City property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q215
P1376
Q56061
USER
Which administrative territories are the capital of those administrative territories ?
(c(Q56061),P1376,Q30) (c(Q56061),P1376,Q215)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q30'] [{'concept': 'Q56061'}, 'P1376', 'Q215']
SELECT DISTINCT ?h WHERE { ?h property:P1376 ?j . VALUES ( ?j ) { ( resource:Q30 ) ( resource:Q215 ) } . ?h rdf:type ontology:Q56061 }
United States of America Slovenia
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Slovenia']
SELECT DISTINCT ?h WHERE { ?h property:capital_of ?j . VALUES ( ?j ) { ( resource:United_States_of_America ) ( resource:Slovenia ) } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61 Q437
SYSTEM
New York City, Washington, D.C., Ljubljana
Q60 Q61 Q437
(c(Q56061),P1376,Q30) (c(Q56061),P1376,Q215)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[ANSWERS] are the capital of those administrative territories
[{'concept': 'Q56061'}, 'P1376', 'Q30'] [{'concept': 'Q56061'}, 'P1376', 'Q215']
SELECT DISTINCT ?h WHERE { ?h property:P1376 ?j . VALUES ( ?j ) { ( resource:Q30 ) ( resource:Q215 ) } . ?h rdf:type ontology:Q56061 }
New York City Washington, D.C. Ljubljana
New York City, Washington, D.C. and Ljubljana are the capital of those administrative territories
New York City Washington, D.C. Ljubljana
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Slovenia']
SELECT DISTINCT ?h WHERE { ?h property:capital_of ?j . VALUES ( ?j ) { ( resource:United_States_of_America ) ( resource:Slovenia ) } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q60 Q61 Q437
P190
Q515
USER
Which cities are sister towns of those administrative territories ?
(Q60,P190,c(Q515)) (Q61,P190,c(Q515)) (Q437,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q60', 'P190', {'concept': 'Q515'}] ['Q61', 'P190', {'concept': 'Q515'}] ['Q437', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . VALUES ( ?h ) { ( resource:Q60 ) ( resource:Q61 ) ( resource:Q437 ) } . ?h property:P190 ?y }
New York City Washington, D.C. Ljubljana
action filter_type
action find
entity prev_answer
relation sister city
type city
['New York City', 'sister city', {'concept': 'city'}] ['Washington, D.C.', 'sister city', {'concept': 'city'}] ['Ljubljana', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . VALUES ( ?h ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) ( resource:Ljubljana ) } . ?h property:sister_city ?y }
[]
city
Q11194 Q8684 Q1721
SYSTEM
Sarajevo, Seoul, Wiesbaden
Q2844 Q8684 Q3624 Q3926 Q2844 Q9005 Q11194 Q1721 Q2795
(Q60,P190,c(Q515)) (Q61,P190,c(Q515)) (Q437,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are sister towns of those administrative territories
['Q60', 'P190', {'concept': 'Q515'}] ['Q61', 'P190', {'concept': 'Q515'}] ['Q437', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . VALUES ( ?h ) { ( resource:Q60 ) ( resource:Q61 ) ( resource:Q437 ) } . ?h property:P190 ?y }
Brasília Seoul Addis Ababa Pretoria Brasília Brussels Sarajevo Wiesbaden Chemnitz
Sarajevo, Seoul and Wiesbaden are sister towns of those administrative territories
Sarajevo Seoul Wiesbaden
action filter_type
action find
entity prev_answer
relation sister city
type city
['New York City', 'sister city', {'concept': 'city'}] ['Washington, D.C.', 'sister city', {'concept': 'city'}] ['Ljubljana', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . VALUES ( ?h ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) ( resource:Ljubljana ) } . ?h property:sister_city ?y }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11194 Q8684 Q1721
P206
Q355304
USER
Which watercourses are located next to those cities ?
(Q11194,P206,c(Q355304)) (Q8684,P206,c(Q355304)) (Q1721,P206,c(Q355304))
action filter_type
action find
entity prev_answer
relation P206
type Q355304
['Q11194', 'P206', {'concept': 'Q355304'}] ['Q8684', 'P206', {'concept': 'Q355304'}] ['Q1721', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { ?v property:P206 ?b . VALUES ( ?v ) { ( resource:Q2844 ) ( resource:Q8684 ) ( resource:Q3624 ) } . ?b rdf:type ontology:Q355304 }
Sarajevo Seoul Wiesbaden
action filter_type
action find
entity prev_answer
relation located next to body of water
type watercourse
['Sarajevo', 'located next to body of water', {'concept': 'watercourse'}] ['Seoul', 'located next to body of water', {'concept': 'watercourse'}] ['Wiesbaden', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { ?v property:located_next_to_body_of_water ?b . VALUES ( ?v ) { ( resource:Brasília ) ( resource:Seoul ) ( resource:Addis_Ababa ) } . ?b rdf:type ontology:watercourse }
[]
watercourse
Q570604 Q55500 Q584
SYSTEM
Miljacka, Han River, Rhine
Q570604 Q55500 Q584
(Q11194,P206,c(Q355304)) (Q8684,P206,c(Q355304)) (Q1721,P206,c(Q355304))
action filter_type
action find
entity prev_answer
relation P206
type Q355304
[ANSWERS] are located next to those cities
['Q11194', 'P206', {'concept': 'Q355304'}] ['Q8684', 'P206', {'concept': 'Q355304'}] ['Q1721', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { ?v property:P206 ?b . VALUES ( ?v ) { ( resource:Q2844 ) ( resource:Q8684 ) ( resource:Q3624 ) } . ?b rdf:type ontology:Q355304 }
Miljacka Han River Rhine
Miljacka, Han River and Rhine are located next to those cities
Miljacka Han River Rhine
action filter_type
action find
entity prev_answer
relation located next to body of water
type watercourse
['Sarajevo', 'located next to body of water', {'concept': 'watercourse'}] ['Seoul', 'located next to body of water', {'concept': 'watercourse'}] ['Wiesbaden', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { ?v property:located_next_to_body_of_water ?b . VALUES ( ?v ) { ( resource:Brasília ) ( resource:Seoul ) ( resource:Addis_Ababa ) } . ?b rdf:type ontology:watercourse }
[]