Simple Question (Direct)
Simple Question
Q775116
P1196
Q1931388
USER
What manner did Elliot Tiber die ?
(Q775116,P1196,c(Q1931388))
action filter_type
action find
entity Q775116
relation P1196
type Q1931388
['Q775116', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1931388 . resource:Q775116 property:P1196 ?x }
Elliot Tiber
action filter_type
action find
entity Elliot Tiber
relation manner of death
type cause of death
['Elliot Tiber', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:cause_of_death . resource:Elliot_Tiber property:manner_of_death ?x }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q775116,P1196,c(Q1931388))
action filter_type
action find
entity Q775116
relation P1196
type Q1931388
Elliot Tiber died in [ANSWER]
['Q775116', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1931388 . resource:Q775116 property:P1196 ?x }
natural causes
Elliot Tiber died in natural causes
natural causes
action filter_type
action find
entity Elliot Tiber
relation manner of death
type cause of death
['Elliot Tiber', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:cause_of_death . resource:Elliot_Tiber property:manner_of_death ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q775116
P161
Q838948
USER
Which work of art has Elliot Tiber in its star cast ?
(c(Q838948),P161,Q775116)
action filter_type
action find_reverse
entity Q775116
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q775116']
SELECT DISTINCT ?q WHERE { ?q property:P161 resource:Q775116 . ?q rdf:type ontology:Q838948 }
Elliot Tiber
action filter_type
action find_reverse
entity Elliot Tiber
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Elliot Tiber']
SELECT DISTINCT ?q WHERE { ?q property:cast_member resource:Elliot_Tiber . ?q rdf:type ontology:work_of_art }
[]
work of art
Q3448269
SYSTEM
High Street
Q3448269
(c(Q838948),P161,Q775116)
action filter_type
action find_reverse
entity Q775116
relation P161
type Q838948
[ANSWER] has Elliot Tiber in its star cast
[{'concept': 'Q838948'}, 'P161', 'Q775116']
SELECT DISTINCT ?q WHERE { ?q property:P161 resource:Q775116 . ?q rdf:type ontology:Q838948 }
High Street
High Street has Elliot Tiber in its star cast
High Street
action filter_type
action find_reverse
entity Elliot Tiber
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Elliot Tiber']
SELECT DISTINCT ?q WHERE { ?q property:cast_member resource:Elliot_Tiber . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3448269
P495
Q15617994
USER
Where did that work of art originate ?
(Q3448269,P495,c(Q15617994))
action filter_type
action find
entity Q3448269
relation P495
type Q15617994
['Q3448269', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3448269 property:P495 ?h }
High Street
action filter_type
action find
entity High Street
relation country of origin
type designation for an administrative territorial entity
['High Street', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:High_Street property:country_of_origin ?h }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q3448269,P495,c(Q15617994))
action filter_type
action find
entity Q3448269
relation P495
type Q15617994
That work of art originated in [ANSWER]
['Q3448269', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3448269 property:P495 ?h }
Belgium
That work of art originated in Belgium
Belgium
action filter_type
action find
entity High Street
relation country of origin
type designation for an administrative territorial entity
['High Street', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:High_Street property:country_of_origin ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P17
Q15617994
USER
Which administrative territory is that one a part of ?
(Q31,P17,c(Q15617994))
action filter_type
action find
entity Q31
relation P17
type Q15617994
['Q31', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q31 property:P17 ?s }
Belgium
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belgium property:country ?s }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q31,P17,c(Q15617994))
action filter_type
action find
entity Q31
relation P17
type Q15617994
[ANSWER] is that one a part of
['Q31', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q31 property:P17 ?s }
Belgium
Belgium is that one a part of
Belgium
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belgium property:country ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1093048
Q15617994
USER
And what about Fayet?
(Q1093048,P17,c(Q15617994))
action filter_type
action find
entity Q1093048
relation P17
type Q15617994
['Q1093048', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1093048 property:P17 ?x }
Fayet
action filter_type
action find
entity Fayet
relation country
type designation for an administrative territorial entity
['Fayet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fayet property:country ?x }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1093048,P17,c(Q15617994))
action filter_type
action find
entity Q1093048
relation P17
type Q15617994
[ANSWER]
['Q1093048', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1093048 property:P17 ?x }
France
France
action filter_type
action find
entity Fayet
relation country
type designation for an administrative territorial entity
['Fayet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fayet property:country ?x }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17524610 Q31
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Belgium or are Fountain At Widcombe Manor House a part of ?
OR((Q31,P530,c(Q15617994)), (Q17524610,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q31
relation P530
action find
entity Q17524610
relation P17
type Q15617994
{'OR': [['Q31', 'P530', {'concept': 'Q15617994'}], ['Q17524610', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q31 property:P530 ?m } UNION { resource:Q17524610 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Fountain At Widcombe Manor House Belgium
action filter_type
action union
action find
entity Belgium
relation diplomatic relation
action find
entity Fountain At Widcombe Manor House
relation country
type designation for an administrative territorial entity
{'OR': [['Belgium', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Fountain At Widcombe Manor House', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Belgium property:diplomatic_relation ?m } UNION { resource:Fountain_At_Widcombe_Manor_House property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q32 Q347 Q38 Q145
SYSTEM
Luxembourg, Liechtenstein, Italy, United Kingdom
Q32 Q347 Q38 Q145
OR((Q31,P530,c(Q15617994)), (Q17524610,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q31
relation P530
action find
entity Q17524610
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Belgium or are Fountain At Widcombe Manor House a part of
{'OR': [['Q31', 'P530', {'concept': 'Q15617994'}], ['Q17524610', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q31 property:P530 ?m } UNION { resource:Q17524610 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Luxembourg Liechtenstein Italy United Kingdom
Luxembourg, Liechtenstein, Italy and United Kingdom have diplomatic relationships with Belgium or are Fountain At Widcombe Manor House a part of
Luxembourg Liechtenstein Italy United Kingdom
action filter_type
action union
action find
entity Belgium
relation diplomatic relation
action find
entity Fountain At Widcombe Manor House
relation country
type designation for an administrative territorial entity
{'OR': [['Belgium', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Fountain At Widcombe Manor House', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Belgium property:diplomatic_relation ?m } UNION { resource:Fountain_At_Widcombe_Manor_House property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q1173008
P47
Q56061
USER
How many administrative territories share border with France or Dauphin ?
(Q142,P47,c(Q56061)) (Q1173008,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q56061
action filter_type
action find
entity Q1173008
relation P47
type Q56061
['Q142', 'P47', {'concept': 'Q56061'}] ['Q1173008', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?t property:P47 ?g . VALUES ( ?t ) { ( resource:Q142 ) ( resource:Q1173008 ) } }
France Dauphin
action count
action union
action filter_type
action find
entity France
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Dauphin
relation shares border with
type administrative territorial entity
['France', 'shares border with', {'concept': 'administrative territorial entity'}] ['Dauphin', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?t property:shares_border_with ?g . VALUES ( ?t ) { ( resource:France ) ( resource:Dauphin ) } }
[]
administrative territorial entity
SYSTEM
2
Q117978 Q1659829
(Q142,P47,c(Q56061)) (Q1173008,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q56061
action filter_type
action find
entity Q1173008
relation P47
type Q56061
[ANSWER]
['Q142', 'P47', {'concept': 'Q56061'}] ['Q1173008', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?t property:P47 ?g . VALUES ( ?t ) { ( resource:Q142 ) ( resource:Q1173008 ) } }
Gilbert Plains Roblin
2
action count
action union
action filter_type
action find
entity France
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Dauphin
relation shares border with
type administrative territorial entity
['France', 'shares border with', {'concept': 'administrative territorial entity'}] ['Dauphin', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?t property:shares_border_with ?g . VALUES ( ?t ) { ( resource:France ) ( resource:Dauphin ) } }
[]