Simple Question (Direct)
Simple Question
Q1994901
P449
Q4830453
USER
Which business enterprise is the original network Noble House was aired on ?
(Q1994901,P449,c(Q4830453))
action filter_type
action find
entity Q1994901
relation P449
type Q4830453
['Q1994901', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?b WHERE { resource:Q1994901 property:P449 ?b . ?b rdf:type ontology:Q4830453 }
Noble House
action filter_type
action find
entity Noble House
relation original network
type business enterprise
['Noble House', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?b WHERE { resource:Noble_House property:original_network ?b . ?b rdf:type ontology:business_enterprise }
[]
business enterprise
Q13974
SYSTEM
NBC
Q13974
(Q1994901,P449,c(Q4830453))
action filter_type
action find
entity Q1994901
relation P449
type Q4830453
[ANSWER] is the original network Noble House was aired on
['Q1994901', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?b WHERE { resource:Q1994901 property:P449 ?b . ?b rdf:type ontology:Q4830453 }
NBC
NBC is the original network Noble House was aired on
NBC
action filter_type
action find
entity Noble House
relation original network
type business enterprise
['Noble House', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?b WHERE { resource:Noble_House property:original_network ?b . ?b rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13974
P740
Q56061
USER
Which location did that business enterprise orginate in ?
(Q13974,P740,c(Q56061))
action filter_type
action find
entity Q13974
relation P740
type Q56061
['Q13974', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q13974 property:P740 ?i . ?i rdf:type ontology:Q56061 }
NBC
action filter_type
action find
entity NBC
relation location of formation
type administrative territorial entity
['NBC', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:NBC property:location_of_formation ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q13974,P740,c(Q56061))
action filter_type
action find
entity Q13974
relation P740
type Q56061
That business enterprise orginated to [ANSWER]
['Q13974', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q13974 property:P740 ?i . ?i rdf:type ontology:Q56061 }
New York City
That business enterprise orginated to New York City
New York City
action filter_type
action find
entity NBC
relation location of formation
type administrative territorial entity
['NBC', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:NBC property:location_of_formation ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q60 Q126188
P138
Q502895
USER
Is James VII and II that administrative territory named after ?
(Q60,P138,Q126188)
action is_in
entity Q126188
action find
entity Q60
relation P138
['Q60', 'P138', 'Q126188']
ASK WHERE { resource:Q60 property:P138 resource:Q126188 }
New York City James VII and II
action is_in
entity James VII and II
action find
entity New York City
relation named after
['New York City', 'named after', 'James VII and II']
ASK WHERE { resource:New_York_City property:named_after resource:James_VII_and_II }
[]
common name
SYSTEM
YES
(Q60,P138,Q126188)
action is_in
entity Q126188
action find
entity Q60
relation P138
[ANSWER]
['Q60', 'P138', 'Q126188']
ASK WHERE { resource:Q60 property:P138 resource:Q126188 }
Yes
action is_in
entity James VII and II
action find
entity New York City
relation named after
['New York City', 'named after', 'James VII and II']
ASK WHERE { resource:New_York_City property:named_after resource:James_VII_and_II }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q60 Q18426
P551
Q502895
USER
How many people have residence at New York City and The Bronx ?
(c(Q502895),P551,Q60) (c(Q502895),P551,Q18426)
action count
action intersection
action filter_type
action find_reverse
entity Q60
relation P551
type Q502895
action filter_type
action find_reverse
entity Q18426
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q60'] [{'concept': 'Q502895'}, 'P551', 'Q18426']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P551 resource:Q60 . ?l rdf:type ontology:Q502895 . ?l property:P551 resource:Q18426 . ?l rdf:type ontology:Q502895 }
New York City The Bronx
action count
action intersection
action filter_type
action find_reverse
entity New York City
relation residence
type common name
action filter_type
action find_reverse
entity The Bronx
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'New York City'] [{'concept': 'common name'}, 'residence', 'The Bronx']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:residence resource:New_York_City . ?l rdf:type ontology:common_name . ?l property:residence resource:The_Bronx . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q451780 Q261684
(c(Q502895),P551,Q60) (c(Q502895),P551,Q18426)
action count
action intersection
action filter_type
action find_reverse
entity Q60
relation P551
type Q502895
action filter_type
action find_reverse
entity Q18426
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q60'] [{'concept': 'Q502895'}, 'P551', 'Q18426']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P551 resource:Q60 . ?l rdf:type ontology:Q502895 . ?l property:P551 resource:Q18426 . ?l rdf:type ontology:Q502895 }
Nate Archibald Richard Davalos
2
action count
action intersection
action filter_type
action find_reverse
entity New York City
relation residence
type common name
action filter_type
action find_reverse
entity The Bronx
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'New York City'] [{'concept': 'common name'}, 'residence', 'The Bronx']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:residence resource:New_York_City . ?l rdf:type ontology:common_name . ?l property:residence resource:The_Bronx . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P6
Q502895
USER
Which people are the head of government of that administrative territory ?
action filter_type
action find
entity Q60
relation P6
type Q502895
SELECT DISTINCT ?i WHERE { resource:Q60 property:P6 ?i . ?i rdf:type ontology:Q502895 }
New York City
action filter_type
action find
entity New York City
relation head of government
type common name
SELECT DISTINCT ?i WHERE { resource:New_York_City property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Q607 Q467122 Q212648
SYSTEM
Michael Bloomberg, Ed Koch, Rudy Giuliani
Q204135 Q467133 Q312502 Q2274772 Q441554 Q2156376 Q6287566 Q467122 Q939458 Q607 Q6233903 Q329910 Q212648 Q4121154 Q4911497 Q666931 Q1701296 Q2544704 Q3182321 Q439156 Q5536568
action filter_type
action find
entity Q60
relation P6
type Q502895
[ANSWERS] are the head of government of that administrative territory
SELECT DISTINCT ?i WHERE { resource:Q60 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Jimmy Walker David Dinkins Fiorello H. La Guardia Seth Low William O'Dwyer Robert Anderson Van Wyck Joseph V. McKee Ed Koch Vincent R. Impellitteri Michael Bloomberg John Francis Hylan Abraham Beame Rudy Giuliani Ardolph L. Kline Bill de Blasio John Lindsay John P. O'Brien William Jay Gaynor John Purroy Mitchel Robert F. Wagner George B. McClellan, Jr.
Michael Bloomberg, Ed Koch and Rudy Giuliani are the head of government of that administrative territory
Michael Bloomberg Ed Koch Rudy Giuliani
action filter_type
action find
entity New York City
relation head of government
type common name
SELECT DISTINCT ?i WHERE { resource:New_York_City property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q60
P6
Q56061
USER
Do New York City have those people as their head of government ?
(Q60,P6,Q607) (Q60,P6,Q467122) (Q60,P6,Q212648)
action is_in
entity prev_answer
action find
entity Q60
relation P6
['Q60', 'P6', 'Q607'] ['Q60', 'P6', 'Q467122'] ['Q60', 'P6', 'Q212648']
ASK WHERE { VALUES ( ?e ) { ( resource:Q204135 ) ( resource:Q467133 ) ( resource:Q312502 ) } . resource:Q60 property:P6 ?e }
New York City
action is_in
entity prev_answer
action find
entity New York City
relation head of government
['New York City', 'head of government', 'Michael Bloomberg'] ['New York City', 'head of government', 'Ed Koch'] ['New York City', 'head of government', 'Rudy Giuliani']
ASK WHERE { VALUES ( ?e ) { ( resource:Jimmy_Walker ) ( resource:David_Dinkins ) ( resource:Fiorello_H._La_Guardia ) } . resource:New_York_City property:head_of_government ?e }
[]
administrative territorial entity
SYSTEM
YES
(Q60,P6,Q607) (Q60,P6,Q467122) (Q60,P6,Q212648)
action is_in
entity prev_answer
action find
entity Q60
relation P6
[ANSWER]
['Q60', 'P6', 'Q607'] ['Q60', 'P6', 'Q467122'] ['Q60', 'P6', 'Q212648']
ASK WHERE { VALUES ( ?e ) { ( resource:Q204135 ) ( resource:Q467133 ) ( resource:Q312502 ) } . resource:Q60 property:P6 ?e }
Yes
action is_in
entity prev_answer
action find
entity New York City
relation head of government
['New York City', 'head of government', 'Michael Bloomberg'] ['New York City', 'head of government', 'Ed Koch'] ['New York City', 'head of government', 'Rudy Giuliani']
ASK WHERE { VALUES ( ?e ) { ( resource:Jimmy_Walker ) ( resource:David_Dinkins ) ( resource:Fiorello_H._La_Guardia ) } . resource:New_York_City property:head_of_government ?e }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1268182 Q60
P19 P190
Q56061
USER
Which administrative territories are twin towns of New York City or are the birthplace of Nemanja Mirosavljev ?
OR((Q60,P190,c(Q56061)), (Q1268182,P19,c(Q56061)))
action filter_type
action union
action find
entity Q60
relation P190
action find
entity Q1268182
relation P19
type Q56061
{'OR': [['Q60', 'P190', {'concept': 'Q56061'}], ['Q1268182', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1268182 property:P19 ?l } UNION { resource:Q60 property:P190 ?l } } . ?l rdf:type ontology:Q56061 }
Nemanja Mirosavljev New York City
action filter_type
action union
action find
entity New York City
relation sister city
action find
entity Nemanja Mirosavljev
relation place of birth
type administrative territorial entity
{'OR': [['New York City', 'sister city', {'concept': 'administrative territorial entity'}], ['Nemanja Mirosavljev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Nemanja_Mirosavljev property:place_of_birth ?l } UNION { resource:New_York_City property:sister_city ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34647 Q55630 Q33935 Q1490 Q585 Q3630 Q1218 Q84 Q85 Q34820
SYSTEM
Some of them are Johannesburg, Novi Sad, Tel Aviv, Tokyo, Oslo, Jakarta, Jerusalem, London, Cairo, Santo Domingo
Q3630 Q33935 Q34820 Q34647 Q2807 Q956 Q1781 Q84 Q85 Q55630 Q1490 Q1218 Q3561 Q51103 Q585
OR((Q60,P190,c(Q56061)), (Q1268182,P19,c(Q56061)))
action filter_type
action union
action find
entity Q60
relation P190
action find
entity Q1268182
relation P19
type Q56061
[ANSWERS] are twin towns of New York City or are the birthplace of Nemanja Mirosavljev
{'OR': [['Q60', 'P190', {'concept': 'Q56061'}], ['Q1268182', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1268182 property:P19 ?l } UNION { resource:Q60 property:P190 ?l } } . ?l rdf:type ontology:Q56061 }
Jakarta Tel Aviv Santo Domingo Johannesburg Madrid Beijing Budapest London Cairo Novi Sad Tokyo Jerusalem Algiers Cali Oslo
Johannesburg, Novi Sad, Tel Aviv, Tokyo, Oslo, Jakarta, Jerusalem, London, Cairo and Santo Domingo are twin towns of New York City or are the birthplace of Nemanja Mirosavljev
Johannesburg Novi Sad Tel Aviv Tokyo Oslo Jakarta Jerusalem London Cairo Santo Domingo
action filter_type
action union
action find
entity New York City
relation sister city
action find
entity Nemanja Mirosavljev
relation place of birth
type administrative territorial entity
{'OR': [['New York City', 'sister city', {'concept': 'administrative territorial entity'}], ['Nemanja Mirosavljev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Nemanja_Mirosavljev property:place_of_birth ?l } UNION { resource:New_York_City property:sister_city ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]