Simple Question (Direct)
Simple Question
Q5055953
P39
Q12737077
USER
Which occupation was a position occupied by Cecil Beck ?
(Q5055953,P39,c(Q12737077))
action filter_type
action find
entity Q5055953
relation P39
type Q12737077
['Q5055953', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5055953 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Cecil Beck
action filter_type
action find
entity Cecil Beck
relation position held
type occupation
['Cecil Beck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Cecil_Beck property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q5055953,P39,c(Q12737077))
action filter_type
action find
entity Q5055953
relation P39
type Q12737077
The [ANSWER] was a position occupied by Cecil Beck
['Q5055953', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5055953 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position occupied by Cecil Beck
Member of Parliament in the United Kingdom
action filter_type
action find
entity Cecil Beck
relation position held
type occupation
['Cecil Beck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Cecil_Beck property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5055953
P119
Q1497375
USER
Where is the place of burial for Cecil Beck located ?
(Q5055953,P119,c(Q1497375))
action filter_type
action find
entity Q5055953
relation P119
type Q1497375
['Q5055953', 'P119', {'concept': 'Q1497375'}]
SELECT DISTINCT ?y WHERE { resource:Q5055953 property:P119 ?y . ?y rdf:type ontology:Q1497375 }
Cecil Beck
action filter_type
action find
entity Cecil Beck
relation place of burial
type item with multiple objects
['Cecil Beck', 'place of burial', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?y WHERE { resource:Cecil_Beck property:place_of_burial ?y . ?y rdf:type ontology:item_with_multiple_objects }
[]
item with multiple objects
Q926913
SYSTEM
Brompton Cemetery
Q926913
(Q5055953,P119,c(Q1497375))
action filter_type
action find
entity Q5055953
relation P119
type Q1497375
The place of burial for Cecil Beck is located in [ANSWER]
['Q5055953', 'P119', {'concept': 'Q1497375'}]
SELECT DISTINCT ?y WHERE { resource:Q5055953 property:P119 ?y . ?y rdf:type ontology:Q1497375 }
Brompton Cemetery
The place of burial for Cecil Beck is located in Brompton Cemetery
Brompton Cemetery
action filter_type
action find
entity Cecil Beck
relation place of burial
type item with multiple objects
['Cecil Beck', 'place of burial', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?y WHERE { resource:Cecil_Beck property:place_of_burial ?y . ?y rdf:type ontology:item_with_multiple_objects }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3044517
Q1497375
USER
And also tell me about George Odger?
(Q3044517,P119,c(Q1497375))
action filter_type
action find
entity Q3044517
relation P119
type Q1497375
['Q3044517', 'P119', {'concept': 'Q1497375'}]
SELECT DISTINCT ?b WHERE { resource:Q3044517 property:P119 ?b . ?b rdf:type ontology:Q1497375 }
George Odger
action filter_type
action find
entity George Odger
relation place of burial
type item with multiple objects
['George Odger', 'place of burial', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?b WHERE { resource:George_Odger property:place_of_burial ?b . ?b rdf:type ontology:item_with_multiple_objects }
[]
item with multiple objects
Q926913
SYSTEM
Brompton Cemetery
Q926913
(Q3044517,P119,c(Q1497375))
action filter_type
action find
entity Q3044517
relation P119
type Q1497375
[ANSWER]
['Q3044517', 'P119', {'concept': 'Q1497375'}]
SELECT DISTINCT ?b WHERE { resource:Q3044517 property:P119 ?b . ?b rdf:type ontology:Q1497375 }
Brompton Cemetery
Brompton Cemetery
action filter_type
action find
entity George Odger
relation place of burial
type item with multiple objects
['George Odger', 'place of burial', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?b WHERE { resource:George_Odger property:place_of_burial ?b . ?b rdf:type ontology:item_with_multiple_objects }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q926913
P1435
Q41176
USER
Which building heritage status does that item with multiple objects have ?
(Q926913,P1435,c(Q41176))
action filter_type
action find
entity Q926913
relation P1435
type Q41176
['Q926913', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q926913 property:P1435 ?j . ?j rdf:type ontology:Q41176 }
Brompton Cemetery
action filter_type
action find
entity Brompton Cemetery
relation heritage status
type building
['Brompton Cemetery', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Brompton_Cemetery property:heritage_status ?j . ?j rdf:type ontology:building }
[]
building
Q15700831
SYSTEM
Grade II* listed building
Q15700831
(Q926913,P1435,c(Q41176))
action filter_type
action find
entity Q926913
relation P1435
type Q41176
The [ANSWER] that item with multiple objects has
['Q926913', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q926913 property:P1435 ?j . ?j rdf:type ontology:Q41176 }
Grade II* listed building
The Grade II* listed building that item with multiple objects has
Grade II* listed building
action filter_type
action find
entity Brompton Cemetery
relation heritage status
type building
['Brompton Cemetery', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Brompton_Cemetery property:heritage_status ?j . ?j rdf:type ontology:building }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q926913 Q671774
P915
Q838948
USER
How many works of art were filmed in the location Brompton Cemetery or Piz Gloria ?
(c(Q838948),P915,Q926913) (c(Q838948),P915,Q671774)
action count
action union
action filter_type
action find_reverse
entity Q926913
relation P915
type Q838948
action filter_type
action find_reverse
entity Q671774
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q926913'] [{'concept': 'Q838948'}, 'P915', 'Q671774']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P915 ?y . VALUES ( ?y ) { ( resource:Q926913 ) ( resource:Q671774 ) } }
Brompton Cemetery Piz Gloria
action count
action union
action filter_type
action find_reverse
entity Brompton Cemetery
relation filming location
type work of art
action filter_type
action find_reverse
entity Piz Gloria
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Brompton Cemetery'] [{'concept': 'work of art'}, 'filming location', 'Piz Gloria']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:filming_location ?y . VALUES ( ?y ) { ( resource:Brompton_Cemetery ) ( resource:Piz_Gloria ) } }
[]
work of art
SYSTEM
2
Q17548046 Q107894
(c(Q838948),P915,Q926913) (c(Q838948),P915,Q671774)
action count
action union
action filter_type
action find_reverse
entity Q926913
relation P915
type Q838948
action filter_type
action find_reverse
entity Q671774
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q926913'] [{'concept': 'Q838948'}, 'P915', 'Q671774']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P915 ?y . VALUES ( ?y ) { ( resource:Q926913 ) ( resource:Q671774 ) } }
Mission: Impossible – Rogue Nation On Her Majesty's Secret Service
2
action count
action union
action filter_type
action find_reverse
entity Brompton Cemetery
relation filming location
type work of art
action filter_type
action find_reverse
entity Piz Gloria
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Brompton Cemetery'] [{'concept': 'work of art'}, 'filming location', 'Piz Gloria']
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:filming_location ?y . VALUES ( ?y ) { ( resource:Brompton_Cemetery ) ( resource:Piz_Gloria ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q926913
P17
Q15617994
USER
Which administrative territory is Brompton Cemetery situated in ?
(Q926913,P17,c(Q15617994))
action filter_type
action find
entity Q926913
relation P17
type Q15617994
['Q926913', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q926913 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Brompton Cemetery
action filter_type
action find
entity Brompton Cemetery
relation country
type designation for an administrative territorial entity
['Brompton Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Brompton_Cemetery property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q926913,P17,c(Q15617994))
action filter_type
action find
entity Q926913
relation P17
type Q15617994
Brompton Cemetery is situated in [ANSWER]
['Q926913', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q926913 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
Brompton Cemetery is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Brompton Cemetery
relation country
type designation for an administrative territorial entity
['Brompton Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Brompton_Cemetery property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q2631599 Q17299
P530
Q15617994
USER
Does that administrative territory have tactful political relations with district of Uzbekistan and Cantalupo Ligure ?
(Q145,P530,Q2631599) (Q145,P530,Q17299)
action is_in
entity Q145
action intersection
action find_reverse
entity Q2631599
relation P530
action find_reverse
entity Q17299
relation P530
['Q145', 'P530', 'Q2631599'] ['Q145', 'P530', 'Q17299']
ASK WHERE { resource:Q145 property:P530 resource:Q2631599 . resource:Q145 property:P530 resource:Q17299 }
United Kingdom district of Uzbekistan Cantalupo Ligure
action is_in
entity United Kingdom
action intersection
action find_reverse
entity district of Uzbekistan
relation diplomatic relation
action find_reverse
entity Cantalupo Ligure
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'district of Uzbekistan'] ['United Kingdom', 'diplomatic relation', 'Cantalupo Ligure']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:district_of_Uzbekistan . resource:United_Kingdom property:diplomatic_relation resource:Cantalupo_Ligure }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q2631599) (Q145,P530,Q17299)
action is_in
entity Q145
action intersection
action find_reverse
entity Q2631599
relation P530
action find_reverse
entity Q17299
relation P530
[ANSWER]
['Q145', 'P530', 'Q2631599'] ['Q145', 'P530', 'Q17299']
ASK WHERE { resource:Q145 property:P530 resource:Q2631599 . resource:Q145 property:P530 resource:Q17299 }
No
action is_in
entity United Kingdom
action intersection
action find_reverse
entity district of Uzbekistan
relation diplomatic relation
action find_reverse
entity Cantalupo Ligure
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'district of Uzbekistan'] ['United Kingdom', 'diplomatic relation', 'Cantalupo Ligure']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:district_of_Uzbekistan . resource:United_Kingdom property:diplomatic_relation resource:Cantalupo_Ligure }
[]