Simple Question (Direct)
Simple Question
Q4888471
P19
Q56061
USER
Which administrative territory is the place of birth of Benjamin Davies ?
(Q4888471,P19,c(Q56061))
action filter_type
action find
entity Q4888471
relation P19
type Q56061
['Q4888471', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4888471 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Benjamin Davies
action filter_type
action find
entity Benjamin Davies
relation place of birth
type administrative territorial entity
['Benjamin Davies', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Benjamin_Davies property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q4888471,P19,c(Q56061))
action filter_type
action find
entity Q4888471
relation P19
type Q56061
[ANSWER] is the place of birth of Benjamin Davies
['Q4888471', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4888471 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Edinburgh
Edinburgh is the place of birth of Benjamin Davies
Edinburgh
action filter_type
action find
entity Benjamin Davies
relation place of birth
type administrative territorial entity
['Benjamin Davies', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Benjamin_Davies property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23436
P840
Q2342494
USER
Which collectable has its narrative set in that administrative territory ?
(c(Q2342494),P840,Q23436)
action filter_type
action find_reverse
entity Q23436
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q23436']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . ?g property:P840 resource:Q23436 }
Edinburgh
action filter_type
action find_reverse
entity Edinburgh
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Edinburgh']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . ?g property:narrative_location resource:Edinburgh }
[]
collectable
Q5156663
SYSTEM
Complicity
Q5156663
(c(Q2342494),P840,Q23436)
action filter_type
action find_reverse
entity Q23436
relation P840
type Q2342494
[ANSWER] has its narrative set in that administrative territory
[{'concept': 'Q2342494'}, 'P840', 'Q23436']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . ?g property:P840 resource:Q23436 }
Complicity
Complicity has its narrative set in that administrative territory
Complicity
action filter_type
action find_reverse
entity Edinburgh
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Edinburgh']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . ?g property:narrative_location resource:Edinburgh }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5156663
P144
Q838948
USER
Which work of art is adapted from that collectable ?
(c(Q838948),P144,Q5156663)
action filter_type
action find_reverse
entity Q5156663
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q5156663']
SELECT DISTINCT ?a WHERE { ?a property:P144 resource:Q5156663 . ?a rdf:type ontology:Q838948 }
Complicity
action filter_type
action find_reverse
entity Complicity
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Complicity']
SELECT DISTINCT ?a WHERE { ?a property:based_on resource:Complicity . ?a rdf:type ontology:work_of_art }
[]
work of art
Q5156662
SYSTEM
Complicity
Q5156662
(c(Q838948),P144,Q5156663)
action filter_type
action find_reverse
entity Q5156663
relation P144
type Q838948
[ANSWER] is adapted from that collectable
[{'concept': 'Q838948'}, 'P144', 'Q5156663']
SELECT DISTINCT ?a WHERE { ?a property:P144 resource:Q5156663 . ?a rdf:type ontology:Q838948 }
Complicity
Complicity is adapted from that collectable
Complicity
action filter_type
action find_reverse
entity Complicity
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Complicity']
SELECT DISTINCT ?a WHERE { ?a property:based_on resource:Complicity . ?a rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15989768 Q4888471
P27
Q15617994
USER
Which administrative territories do Benjamin Davies or John Moran belong to ?
OR((Q4888471,P27,c(Q15617994)), (Q15989768,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4888471
relation P27
action find
entity Q15989768
relation P27
type Q15617994
{'OR': [['Q4888471', 'P27', {'concept': 'Q15617994'}], ['Q15989768', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q15989768 property:P27 ?g } UNION { resource:Q4888471 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
John Moran Benjamin Davies
action filter_type
action union
action find
entity Benjamin Davies
relation country of citizenship
action find
entity John Moran
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Benjamin Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John Moran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:John_Moran property:country_of_citizenship ?g } UNION { resource:Benjamin_Davies property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q4888471,P27,c(Q15617994)), (Q15989768,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4888471
relation P27
action find
entity Q15989768
relation P27
type Q15617994
Benjamin Davies or John Moran belong to the [ANSWERS]
{'OR': [['Q4888471', 'P27', {'concept': 'Q15617994'}], ['Q15989768', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q15989768 property:P27 ?g } UNION { resource:Q4888471 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
United States of America United Kingdom
Benjamin Davies or John Moran belong to the United States of America and United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity Benjamin Davies
relation country of citizenship
action find
entity John Moran
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Benjamin Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John Moran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:John_Moran property:country_of_citizenship ?g } UNION { resource:Benjamin_Davies property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6777799 Q15989768
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of John Moran or Martín Kutscher ?
OR((Q15989768,P27,c(Q15617994)), (Q6777799,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15989768
relation P27
action find
entity Q6777799
relation P27
type Q15617994
{'OR': [['Q15989768', 'P27', {'concept': 'Q15617994'}], ['Q6777799', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q15989768 property:P27 ?j } UNION { resource:Q6777799 property:P27 ?j } } }
Martín Kutscher John Moran
action filter_type
action union
action find
entity John Moran
relation country of citizenship
action find
entity Martín Kutscher
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Moran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Martín Kutscher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:John_Moran property:country_of_citizenship ?j } UNION { resource:Martín_Kutscher property:country_of_citizenship ?j } } }
[]
designation for an administrative territorial entity
Q77 Q30
SYSTEM
Uruguay, United States of America
Q77 Q30
OR((Q15989768,P27,c(Q15617994)), (Q6777799,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15989768
relation P27
action find
entity Q6777799
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of John Moran or Martín Kutscher
{'OR': [['Q15989768', 'P27', {'concept': 'Q15617994'}], ['Q6777799', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q15989768 property:P27 ?j } UNION { resource:Q6777799 property:P27 ?j } } }
Uruguay United States of America
Uruguay and United States of America are the countries of citizenship of John Moran or Martín Kutscher
Uruguay United States of America
action filter_type
action union
action find
entity John Moran
relation country of citizenship
action find
entity Martín Kutscher
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Moran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Martín Kutscher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:John_Moran property:country_of_citizenship ?j } UNION { resource:Martín_Kutscher property:country_of_citizenship ?j } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4455788
P530
Q1048835
USER
Do Tereshpil have tactful political relations with those administrative territories ?
(Q4455788,P530,Q77) (Q4455788,P530,Q30)
action is_in
entity prev_answer
action find
entity Q4455788
relation P530
['Q4455788', 'P530', 'Q77'] ['Q4455788', 'P530', 'Q30']
ASK WHERE { VALUES ( ?f ) { ( resource:Q77 ) ( resource:Q30 ) } . resource:Q4455788 property:P530 ?f }
Tereshpil
action is_in
entity prev_answer
action find
entity Tereshpil
relation diplomatic relation
['Tereshpil', 'diplomatic relation', 'Uruguay'] ['Tereshpil', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?f ) { ( resource:Uruguay ) ( resource:United_States_of_America ) } . resource:Tereshpil property:diplomatic_relation ?f }
[]
political territorial entity
SYSTEM
NO
(Q4455788,P530,Q77) (Q4455788,P530,Q30)
action is_in
entity prev_answer
action find
entity Q4455788
relation P530
[ANSWER]
['Q4455788', 'P530', 'Q77'] ['Q4455788', 'P530', 'Q30']
ASK WHERE { VALUES ( ?f ) { ( resource:Q77 ) ( resource:Q30 ) } . resource:Q4455788 property:P530 ?f }
No
action is_in
entity prev_answer
action find
entity Tereshpil
relation diplomatic relation
['Tereshpil', 'diplomatic relation', 'Uruguay'] ['Tereshpil', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?f ) { ( resource:Uruguay ) ( resource:United_States_of_America ) } . resource:Tereshpil property:diplomatic_relation ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5156663 Q331726 Q23436
P840
Q56061
USER
Does Complicity have its narrative set in Orahovica and Edinburgh ?
(Q5156663,P840,Q331726) (Q5156663,P840,Q23436)
action is_in
entity Q5156663
action intersection
action find_reverse
entity Q331726
relation P840
action find_reverse
entity Q23436
relation P840
['Q5156663', 'P840', 'Q331726'] ['Q5156663', 'P840', 'Q23436']
ASK WHERE { resource:Q5156663 property:P840 resource:Q331726 . resource:Q5156663 property:P840 resource:Q23436 }
Complicity Orahovica Edinburgh
action is_in
entity Complicity
action intersection
action find_reverse
entity Orahovica
relation narrative location
action find_reverse
entity Edinburgh
relation narrative location
['Complicity', 'narrative location', 'Orahovica'] ['Complicity', 'narrative location', 'Edinburgh']
ASK WHERE { resource:Complicity property:narrative_location resource:Orahovica . resource:Complicity property:narrative_location resource:Edinburgh }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q5156663,P840,Q331726) (Q5156663,P840,Q23436)
action is_in
entity Q5156663
action intersection
action find_reverse
entity Q331726
relation P840
action find_reverse
entity Q23436
relation P840
[ANSWER]
['Q5156663', 'P840', 'Q331726'] ['Q5156663', 'P840', 'Q23436']
ASK WHERE { resource:Q5156663 property:P840 resource:Q331726 . resource:Q5156663 property:P840 resource:Q23436 }
NO and YES respectively
action is_in
entity Complicity
action intersection
action find_reverse
entity Orahovica
relation narrative location
action find_reverse
entity Edinburgh
relation narrative location
['Complicity', 'narrative location', 'Orahovica'] ['Complicity', 'narrative location', 'Edinburgh']
ASK WHERE { resource:Complicity property:narrative_location resource:Orahovica . resource:Complicity property:narrative_location resource:Edinburgh }
[]