Simple Question (Direct)
Simple Question
Q1555872
P937
Q56061
USER
What is the location where Gustav Groß worked ?
(Q1555872,P937,c(Q56061))
action filter_type
action find
entity Q1555872
relation P937
type Q56061
['Q1555872', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1555872 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Gustav Groß
action filter_type
action find
entity Gustav Groß
relation work location
type administrative territorial entity
['Gustav Groß', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Gustav_Groß property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1555872,P937,c(Q56061))
action filter_type
action find
entity Q1555872
relation P937
type Q56061
The location Gustav Groß worked is in [ANSWER]
['Q1555872', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1555872 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Vienna
The location Gustav Groß worked is in Vienna
Vienna
action filter_type
action find
entity Gustav Groß
relation work location
type administrative territorial entity
['Gustav Groß', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Gustav_Groß property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P706
Q4830453
USER
Which business enterprise has its location as that administrative territory ?
(c(Q4830453),P706,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P706
type Q4830453
[{'concept': 'Q4830453'}, 'P706', 'Q1741']
SELECT DISTINCT ?z WHERE { ?z property:P706 resource:Q1741 . ?z rdf:type ontology:Q4830453 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation located on terrain feature
type business enterprise
[{'concept': 'business enterprise'}, 'located on terrain feature', 'Vienna']
SELECT DISTINCT ?z WHERE { ?z property:located_on_terrain_feature resource:Vienna . ?z rdf:type ontology:business_enterprise }
[]
business enterprise
Q18760972
SYSTEM
Querkraft Architekten
Q18760972
(c(Q4830453),P706,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P706
type Q4830453
[ANSWER] has its location as that administrative territory
[{'concept': 'Q4830453'}, 'P706', 'Q1741']
SELECT DISTINCT ?z WHERE { ?z property:P706 resource:Q1741 . ?z rdf:type ontology:Q4830453 }
Querkraft Architekten
Querkraft Architekten has its location as that administrative territory
Querkraft Architekten
action filter_type
action find_reverse
entity Vienna
relation located on terrain feature
type business enterprise
[{'concept': 'business enterprise'}, 'located on terrain feature', 'Vienna']
SELECT DISTINCT ?z WHERE { ?z property:located_on_terrain_feature resource:Vienna . ?z rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P291
Q93288
USER
Which contract has that administrative territory as its release location ?
(c(Q93288),P291,Q18760972)
action filter_type
action find_reverse
entity Q1741
relation P291
type Q93288
[{'concept': 'Q93288'}, 'P291', 'Q18760972']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q93288 . ?k property:P291 resource:Q1741 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation place of publication
type contract
[{'concept': 'contract'}, 'place of publication', 'Querkraft Architekten']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:contract . ?k property:place_of_publication resource:Vienna }
[]
contract
Q17001802
SYSTEM
Joint Comprehensive Plan of Action
Q17001802
(c(Q93288),P291,Q18760972)
action filter_type
action find_reverse
entity Q1741
relation P291
type Q93288
[ANSWER] has that administrative territory as its release location
[{'concept': 'Q93288'}, 'P291', 'Q18760972']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q93288 . ?k property:P291 resource:Q1741 }
Joint Comprehensive Plan of Action
Joint Comprehensive Plan of Action has that administrative territory as its release location
Joint Comprehensive Plan of Action
action filter_type
action find_reverse
entity Vienna
relation place of publication
type contract
[{'concept': 'contract'}, 'place of publication', 'Querkraft Architekten']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:contract . ?k property:place_of_publication resource:Vienna }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17001802 Q1741
P291
Q56061
USER
Was Vienna that contract issued ?
(Q17001802,P291,Q1741)
action is_in
entity Q1741
action find
entity Q17001802
relation P291
['Q17001802', 'P291', 'Q1741']
ASK WHERE { resource:Q17001802 property:P291 resource:Q1741 }
Joint Comprehensive Plan of Action Vienna
action is_in
entity Vienna
action find
entity Joint Comprehensive Plan of Action
relation place of publication
['Joint Comprehensive Plan of Action', 'place of publication', 'Vienna']
ASK WHERE { resource:Joint_Comprehensive_Plan_of_Action property:place_of_publication resource:Vienna }
[]
administrative territorial entity
SYSTEM
YES
(Q17001802,P291,Q1741)
action is_in
entity Q1741
action find
entity Q17001802
relation P291
[ANSWER]
['Q17001802', 'P291', 'Q1741']
ASK WHERE { resource:Q17001802 property:P291 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity Joint Comprehensive Plan of Action
relation place of publication
['Joint Comprehensive Plan of Action', 'place of publication', 'Vienna']
ASK WHERE { resource:Joint_Comprehensive_Plan_of_Action property:place_of_publication resource:Vienna }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1741 Q4515150
P206
Q355304
USER
Is Chetyrekh River situated nearby Vienna ?
(Q1741,P206,Q4515150)
action is_in
entity Q4515150
action find
entity Q1741
relation P206
['Q1741', 'P206', 'Q4515150']
ASK WHERE { resource:Q1741 property:P206 resource:Q4515150 }
Vienna Chetyrekh River
action is_in
entity Chetyrekh River
action find
entity Vienna
relation located next to body of water
['Vienna', 'located next to body of water', 'Chetyrekh River']
ASK WHERE { resource:Vienna property:located_next_to_body_of_water resource:Chetyrekh_River }
[]
watercourse
SYSTEM
NO
(Q1741,P206,Q4515150)
action is_in
entity Q4515150
action find
entity Q1741
relation P206
[ANSWER]
['Q1741', 'P206', 'Q4515150']
ASK WHERE { resource:Q1741 property:P206 resource:Q4515150 }
No
action is_in
entity Chetyrekh River
action find
entity Vienna
relation located next to body of water
['Vienna', 'located next to body of water', 'Chetyrekh River']
ASK WHERE { resource:Vienna property:located_next_to_body_of_water resource:Chetyrekh_River }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1555872 Q1122290 Q40
P27
Q1048835
USER
Is Gustav Groß a native of Monterroso and Austria ?
(Q1555872,P27,Q1122290) (Q1555872,P27,Q40)
action is_in
entity Q1555872
action intersection
action find_reverse
entity Q1122290
relation P27
action find_reverse
entity Q40
relation P27
['Q1555872', 'P27', 'Q1122290'] ['Q1555872', 'P27', 'Q40']
ASK WHERE { resource:Q1555872 property:P27 resource:Q1122290 . resource:Q1555872 property:P27 resource:Q40 }
Gustav Groß Monterroso Austria
action is_in
entity Gustav Groß
action intersection
action find_reverse
entity Monterroso
relation country of citizenship
action find_reverse
entity Austria
relation country of citizenship
['Gustav Groß', 'country of citizenship', 'Monterroso'] ['Gustav Groß', 'country of citizenship', 'Austria']
ASK WHERE { resource:Gustav_Groß property:country_of_citizenship resource:Monterroso . resource:Gustav_Groß property:country_of_citizenship resource:Austria }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q1555872,P27,Q1122290) (Q1555872,P27,Q40)
action is_in
entity Q1555872
action intersection
action find_reverse
entity Q1122290
relation P27
action find_reverse
entity Q40
relation P27
[ANSWER]
['Q1555872', 'P27', 'Q1122290'] ['Q1555872', 'P27', 'Q40']
ASK WHERE { resource:Q1555872 property:P27 resource:Q1122290 . resource:Q1555872 property:P27 resource:Q40 }
NO and YES respectively
action is_in
entity Gustav Groß
action intersection
action find_reverse
entity Monterroso
relation country of citizenship
action find_reverse
entity Austria
relation country of citizenship
['Gustav Groß', 'country of citizenship', 'Monterroso'] ['Gustav Groß', 'country of citizenship', 'Austria']
ASK WHERE { resource:Gustav_Groß property:country_of_citizenship resource:Monterroso . resource:Gustav_Groß property:country_of_citizenship resource:Austria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1555872 Q18432
P937
Q56061
USER
How many administrative territories are the work locations of Gustav Groß or Staten Island ?
(Q1555872,P937,c(Q56061)) (Q18432,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q1555872
relation P937
type Q56061
action filter_type
action find
entity Q18432
relation P937
type Q56061
['Q1555872', 'P937', {'concept': 'Q56061'}] ['Q18432', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Q1555872 property:P937 ?y . ?y rdf:type ontology:Q56061 } UNION { ?y rdf:type ontology:Q56061 . resource:Q18432 property:P937 ?y } }
Gustav Groß Staten Island
action count
action union
action filter_type
action find
entity Gustav Groß
relation work location
type administrative territorial entity
action filter_type
action find
entity Staten Island
relation work location
type administrative territorial entity
['Gustav Groß', 'work location', {'concept': 'administrative territorial entity'}] ['Staten Island', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Gustav_Groß property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity } UNION { ?y rdf:type ontology:administrative_territorial_entity . resource:Staten_Island property:work_location ?y } }
[]
administrative territorial entity
SYSTEM
2
Q1741 Q61
(Q1555872,P937,c(Q56061)) (Q18432,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q1555872
relation P937
type Q56061
action filter_type
action find
entity Q18432
relation P937
type Q56061
[ANSWER]
['Q1555872', 'P937', {'concept': 'Q56061'}] ['Q18432', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Q1555872 property:P937 ?y . ?y rdf:type ontology:Q56061 } UNION { ?y rdf:type ontology:Q56061 . resource:Q18432 property:P937 ?y } }
Vienna Washington, D.C.
2
action count
action union
action filter_type
action find
entity Gustav Groß
relation work location
type administrative territorial entity
action filter_type
action find
entity Staten Island
relation work location
type administrative territorial entity
['Gustav Groß', 'work location', {'concept': 'administrative territorial entity'}] ['Staten Island', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Gustav_Groß property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity } UNION { ?y rdf:type ontology:administrative_territorial_entity . resource:Staten_Island property:work_location ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P190
Q56061
USER
Which administrative territories are twin cities of Vienna ?
(Q1741,P190,c(Q56061))
action filter_type
action find
entity Q1741
relation P190
type Q56061
['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1741 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Vienna property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q1781 Q270
SYSTEM
Moscow, Budapest, Warsaw
Q437 Q4656 Q3711 Q33935 Q649 Q472 Q270 Q1780 Q1781 Q406 Q70
(Q1741,P190,c(Q56061))
action filter_type
action find
entity Q1741
relation P190
type Q56061
[ANSWERS] are twin cities of Vienna
['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1741 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Ljubljana Pula Belgrade Tel Aviv Moscow Sofia Warsaw Bratislava Budapest Istanbul Bern
Moscow, Budapest and Warsaw are twin cities of Vienna
Moscow Budapest Warsaw
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Vienna property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1741
Q13220204
USER
And which administrative country subdivision?
(Q1741,P190,c(Q13220204))
action filter_type
action find
entity Q1741
relation P190
type Q13220204
['Q1741', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q1741 property:P190 ?l . ?l rdf:type ontology:Q13220204 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type second-level administrative country subdivision
['Vienna', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Vienna property:sister_city ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1435
SYSTEM
Zagreb
Q1435
(Q1741,P190,c(Q13220204))
action filter_type
action find
entity Q1741
relation P190
type Q13220204
[ANSWER]
['Q1741', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q1741 property:P190 ?l . ?l rdf:type ontology:Q13220204 }
Zagreb
Zagreb
action filter_type
action find
entity Vienna
relation sister city
type second-level administrative country subdivision
['Vienna', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Vienna property:sister_city ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]