Simple Question (Direct)
Simple Question
Q373471
P607
Q198
USER
What battle was James Day Hodgson a part of ?
(Q373471,P607,c(Q198))
action filter_type
action find
entity Q373471
relation P607
type Q198
['Q373471', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q373471 property:P607 ?v . ?v rdf:type ontology:Q198 }
James Day Hodgson
action filter_type
action find
entity James Day Hodgson
relation conflict
type war
['James Day Hodgson', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:James_Day_Hodgson property:conflict ?v . ?v rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q373471,P607,c(Q198))
action filter_type
action find
entity Q373471
relation P607
type Q198
On [ANSWER] was James Day Hodgson a part of
['Q373471', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q373471 property:P607 ?v . ?v rdf:type ontology:Q198 }
World War II
On World War II was James Day Hodgson a part of
World War II
action filter_type
action find
entity James Day Hodgson
relation conflict
type war
['James Day Hodgson', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:James_Day_Hodgson property:conflict ?v . ?v rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q373471
P69
Q3918
USER
Which university is the alma mater of that person ?
(Q362,P69,c(Q3918))
action filter_type
action find
entity Q373471
relation P69
type Q3918
['Q362', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { resource:Q373471 property:P69 ?o . ?o rdf:type ontology:Q3918 }
James Day Hodgson
action filter_type
action find
entity James Day Hodgson
relation educated at
type university
['World War II', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { resource:James_Day_Hodgson property:educated_at ?o . ?o rdf:type ontology:university }
[]
university
Q174710
SYSTEM
University of California, Los Angeles
Q174710
(Q362,P69,c(Q3918))
action filter_type
action find
entity Q373471
relation P69
type Q3918
[ANSWER] is the alma mater of that person
['Q362', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?o WHERE { resource:Q373471 property:P69 ?o . ?o rdf:type ontology:Q3918 }
University of California, Los Angeles
University of California, Los Angeles is the alma mater of that person
University of California, Los Angeles
action filter_type
action find
entity James Day Hodgson
relation educated at
type university
['World War II', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?o WHERE { resource:James_Day_Hodgson property:educated_at ?o . ?o rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q174710 Q14945653
P108
Q502895
USER
Does Owen Jenkins work for that university ?
(Q14945653,P108,Q174710)
action is_in
entity Q14945653
action find
entity Q174710
relation P108
['Q14945653', 'P108', 'Q174710']
ASK WHERE { resource:Q174710 property:P108 resource:Q14945653 }
University of California, Los Angeles Owen Jenkins
action is_in
entity Owen Jenkins
action find
entity University of California, Los Angeles
relation employer
['Owen Jenkins', 'employer', 'University of California, Los Angeles']
ASK WHERE { resource:University_of_California,_Los_Angeles property:employer resource:Owen_Jenkins }
[]
common name
SYSTEM
NO
(Q14945653,P108,Q174710)
action is_in
entity Q14945653
action find
entity Q174710
relation P108
[ANSWER]
['Q14945653', 'P108', 'Q174710']
ASK WHERE { resource:Q174710 property:P108 resource:Q14945653 }
No
action is_in
entity Owen Jenkins
action find
entity University of California, Los Angeles
relation employer
['Owen Jenkins', 'employer', 'University of California, Los Angeles']
ASK WHERE { resource:University_of_California,_Los_Angeles property:employer resource:Owen_Jenkins }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174710
P17
Q15617994
USER
Which administrative territory is University of California, Los Angeles a part of ?
(Q174710,P17,c(Q15617994))
action filter_type
action find
entity Q174710
relation P17
type Q15617994
['Q174710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q174710 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
University of California, Los Angeles
action filter_type
action find
entity University of California, Los Angeles
relation country
type designation for an administrative territorial entity
['University of California, Los Angeles', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:University_of_California,_Los_Angeles property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q174710,P17,c(Q15617994))
action filter_type
action find
entity Q174710
relation P17
type Q15617994
The [ANSWER] is University of California, Los Angeles a part of
['Q174710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q174710 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is University of California, Los Angeles a part of
United States of America
action filter_type
action find
entity University of California, Los Angeles
relation country
type designation for an administrative territorial entity
['University of California, Los Angeles', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:University_of_California,_Los_Angeles property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2342494
USER
Which administrative territories did approximately the same number of television programs and collectables originate as that administrative territory ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:P495 ?i . ?i rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P495 ?i . ?i rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } } GROUP BY ?i } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } . ?a property:P495 resource:Q30 } } }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } UNION { ?b property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?i } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:television_program ) ( ontology:collectable ) } } . ?a property:country_of_origin resource:United_States_of_America } } }
[]
designation for an administrative territorial entity television program collectable
Q30
SYSTEM
United States of America
Q30
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q15416
type Q2342494
The [ANSWER] approximately the same number of television programs and collectables originated as that administrative territory
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:P495 ?i . ?i rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P495 ?i . ?i rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } } GROUP BY ?i } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } . ?a property:P495 resource:Q30 } } }
United States of America
The United States of America approximately the same number of television programs and collectables originated as that administrative territory
United States of America
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } UNION { ?b property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?i } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:television_program ) ( ontology:collectable ) } } . ?a property:country_of_origin resource:United_States_of_America } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with max number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?w property:P530 ?d } GROUP BY ?w } } . FILTER ( ?f = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:P530 ?n . ?g rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?g } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?d } GROUP BY ?w } } . FILTER ( ?f = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:diplomatic_relation ?n . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
To [ANSWER] have ambassadorial relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?w property:P530 ?d } GROUP BY ?w } } . FILTER ( ?f = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:P530 ?n . ?g rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?g } }
Georgia
To Georgia have ambassadorial relations with max number of administrative territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?d } GROUP BY ?w } } . FILTER ( ?f = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?f ) WHERE { ?g property:diplomatic_relation ?n . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q230 Q878819
P27
Q502895
USER
Is Vakhtang VI of Kartli a civilian of that administrative territory ?
(Q878819,P27,Q230)
action is_in
entity Q230
action find
entity Q878819
relation P27
['Q878819', 'P27', 'Q230']
ASK WHERE { resource:Q878819 property:P27 resource:Q230 }
Georgia Vakhtang VI of Kartli
action is_in
entity Georgia
action find
entity Vakhtang VI of Kartli
relation country of citizenship
['Vakhtang VI of Kartli', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Vakhtang_VI_of_Kartli property:country_of_citizenship resource:Georgia }
[]
common name
SYSTEM
YES
(Q878819,P27,Q230)
action is_in
entity Q230
action find
entity Q878819
relation P27
[ANSWER]
['Q878819', 'P27', 'Q230']
ASK WHERE { resource:Q878819 property:P27 resource:Q230 }
Yes
action is_in
entity Georgia
action find
entity Vakhtang VI of Kartli
relation country of citizenship
['Vakhtang VI of Kartli', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Vakhtang_VI_of_Kartli property:country_of_citizenship resource:Georgia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q21
P27
Q502895
USER
How many people are civilians of United States of America and England ?
(c(Q502895),P27,Q30) (c(Q502895),P27,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P27
type Q502895
action filter_type
action find_reverse
entity Q21
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q30'] [{'concept': 'Q502895'}, 'P27', 'Q21']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P27 resource:Q30 . ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q21 . ?w rdf:type ontology:Q502895 }
United States of America England
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type common name
action filter_type
action find_reverse
entity England
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United States of America'] [{'concept': 'common name'}, 'country of citizenship', 'England']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:country_of_citizenship resource:United_States_of_America . ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:England . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
22
Q6273866 Q16856837 Q20974094 Q4098008 Q2985012 Q6129812 Q7167530 Q15727503 Q5216666 Q21850008 Q957215 Q17300506 Q26480671 Q6526707 Q2343277 Q16210643 Q19801560 Q20659219 Q5533194 Q548323 Q15727499 Q357211
(c(Q502895),P27,Q30) (c(Q502895),P27,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P27
type Q502895
action filter_type
action find_reverse
entity Q21
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q30'] [{'concept': 'Q502895'}, 'P27', 'Q21']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P27 resource:Q30 . ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q21 . ?w rdf:type ontology:Q502895 }
Jonathan Mayhew Wainwright I Edward Siedle Clare Tree Major Paul J. Griffiths Eva Rausing James Bishop Percy Rivington Pyne I Alice Cooper Daniel Brodhead I Daniel Brodhead II Lawrence Alloway Margot Wittkower Clive Foss Lenora Beatrice Sparkes Gordon Bradley Thomas Hanford Phineas Bond William Oldrin, Sr. Genille Cave-Browne-Cave Chögyam Trungpa Charles Henry Cooper Graham Nash
22
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type common name
action filter_type
action find_reverse
entity England
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United States of America'] [{'concept': 'common name'}, 'country of citizenship', 'England']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:country_of_citizenship resource:United_States_of_America . ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:England . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?p WHERE { resource:Q30 property:P194 ?p . ?p rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:legislative_body ?p . ?p rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?p WHERE { resource:Q30 property:P194 ?p . ?p rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:legislative_body ?p . ?p rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P915
Q838948
USER
Which works of art were filmed at United States of America ?
(c(Q838948),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q30']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q30 . ?h rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:United_States_of_America . ?h rdf:type ontology:work_of_art }
[]
work of art
Q1127828 Q19946486 Q16251439
SYSTEM
Koyaanisqatsi, Til Vesterheimen, A Hologram for the King
Q1127828 Q19946486 Q16251439
(c(Q838948),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
[ANSWERS] were filmed at United States of America
[{'concept': 'Q838948'}, 'P915', 'Q30']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q30 . ?h rdf:type ontology:Q838948 }
Koyaanisqatsi Til Vesterheimen A Hologram for the King
Koyaanisqatsi, Til Vesterheimen and A Hologram for the King were filmed at United States of America
Koyaanisqatsi Til Vesterheimen A Hologram for the King
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:United_States_of_America . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1127828 Q19946486 Q16251439
P915
Q15617994
USER
What were the locations of filming those works of art ?
(Q1127828,P915,c(Q15617994)) (Q19946486,P915,c(Q15617994)) (Q16251439,P915,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P915
type Q15617994
['Q1127828', 'P915', {'concept': 'Q15617994'}] ['Q19946486', 'P915', {'concept': 'Q15617994'}] ['Q16251439', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?t property:P915 ?m . VALUES ( ?t ) { ( resource:Q1127828 ) ( resource:Q19946486 ) ( resource:Q16251439 ) } . ?m rdf:type ontology:Q15617994 }
Koyaanisqatsi Til Vesterheimen A Hologram for the King
action filter_type
action find
entity prev_answer
relation filming location
type designation for an administrative territorial entity
['Koyaanisqatsi', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['Til Vesterheimen', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['A Hologram for the King', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?t property:filming_location ?m . VALUES ( ?t ) { ( resource:Koyaanisqatsi ) ( resource:Til_Vesterheimen ) ( resource:A_Hologram_for_the_King ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30 Q79 Q1028
(Q1127828,P915,c(Q15617994)) (Q19946486,P915,c(Q15617994)) (Q16251439,P915,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P915
type Q15617994
The locations of filming those works of art were [ANSWER], [ANSWER] and [ANSWER]
['Q1127828', 'P915', {'concept': 'Q15617994'}] ['Q19946486', 'P915', {'concept': 'Q15617994'}] ['Q16251439', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?t property:P915 ?m . VALUES ( ?t ) { ( resource:Q1127828 ) ( resource:Q19946486 ) ( resource:Q16251439 ) } . ?m rdf:type ontology:Q15617994 }
United States of America United States of America United States of America Egypt Morocco
The locations of filming those works of art were United States of America, United States of America and United States of America
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation filming location
type designation for an administrative territorial entity
['Koyaanisqatsi', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['Til Vesterheimen', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['A Hologram for the King', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?t property:filming_location ?m . VALUES ( ?t ) { ( resource:Koyaanisqatsi ) ( resource:Til_Vesterheimen ) ( resource:A_Hologram_for_the_King ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P47
Q15617994
USER
Which administrative territories share border with United States of America ?
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q30 property:P47 ?e }
United States of America
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:shares_border_with ?e }
[]
designation for an administrative territorial entity
Q159 Q17 Q96
SYSTEM
Russia, Japan, Mexico
Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS] share border with United States of America
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q30 property:P47 ?e }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
Russia, Japan and Mexico share border with United States of America
Russia Japan Mexico
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:shares_border_with ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18168
Q15617994
USER
And what about Sostegno?
(Q18168,P47,c(Q15617994))
action filter_type
action find
entity Q18168
relation P47
type Q15617994
['Q18168', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q18168 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Sostegno
action filter_type
action find
entity Sostegno
relation shares border with
type designation for an administrative territorial entity
['Sostegno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Sostegno property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q18060 Q18057 Q25210
SYSTEM
Curino, Crevacuore, Serravalle Sesia
Q18060 Q25137 Q18057 Q25193 Q25210 Q18191
(Q18168,P47,c(Q15617994))
action filter_type
action find
entity Q18168
relation P47
type Q15617994
[ANSWERS]
['Q18168', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q18168 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Curino Lozzolo Crevacuore Roasio Serravalle Sesia Villa del Bosco
Curino Crevacuore Serravalle Sesia
action filter_type
action find
entity Sostegno
relation shares border with
type designation for an administrative territorial entity
['Sostegno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Sostegno property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18168
P47
Q15617994
USER
Are Sostegno bordered by those ones ?
(Q18168,P47,Q18060) (Q18168,P47,Q18057) (Q18168,P47,Q25210)
action is_in
entity prev_answer
action find
entity Q18168
relation P47
['Q18168', 'P47', 'Q18060'] ['Q18168', 'P47', 'Q18057'] ['Q18168', 'P47', 'Q25210']
ASK WHERE { VALUES ( ?n ) { ( resource:Q18060 ) ( resource:Q25137 ) ( resource:Q18057 ) } . resource:Q18168 property:P47 ?n }
Sostegno
action is_in
entity prev_answer
action find
entity Sostegno
relation shares border with
['Sostegno', 'shares border with', 'Curino'] ['Sostegno', 'shares border with', 'Crevacuore'] ['Sostegno', 'shares border with', 'Serravalle Sesia']
ASK WHERE { VALUES ( ?n ) { ( resource:Curino ) ( resource:Lozzolo ) ( resource:Crevacuore ) } . resource:Sostegno property:shares_border_with ?n }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18168,P47,Q18060) (Q18168,P47,Q18057) (Q18168,P47,Q25210)
action is_in
entity prev_answer
action find
entity Q18168
relation P47
[ANSWER]
['Q18168', 'P47', 'Q18060'] ['Q18168', 'P47', 'Q18057'] ['Q18168', 'P47', 'Q25210']
ASK WHERE { VALUES ( ?n ) { ( resource:Q18060 ) ( resource:Q25137 ) ( resource:Q18057 ) } . resource:Q18168 property:P47 ?n }
Yes
action is_in
entity prev_answer
action find
entity Sostegno
relation shares border with
['Sostegno', 'shares border with', 'Curino'] ['Sostegno', 'shares border with', 'Crevacuore'] ['Sostegno', 'shares border with', 'Serravalle Sesia']
ASK WHERE { VALUES ( ?n ) { ( resource:Curino ) ( resource:Lozzolo ) ( resource:Crevacuore ) } . resource:Sostegno property:shares_border_with ?n }
[]