Simple Question (Direct)
Simple Question
Q437776
P19
Q56061
USER
Which administrative territory was Mike Brown born at ?
(Q437776,P19,c(Q56061))
action filter_type
action find
entity Q437776
relation P19
type Q56061
['Q437776', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q437776 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Mike Brown
action filter_type
action find
entity Mike Brown
relation place of birth
type administrative territorial entity
['Mike Brown', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Mike_Brown property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q570986
SYSTEM
Northbrook
Q570986
(Q437776,P19,c(Q56061))
action filter_type
action find
entity Q437776
relation P19
type Q56061
Mike Brown was born in [ANSWER]
['Q437776', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q437776 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Northbrook
Mike Brown was born in Northbrook
Northbrook
action filter_type
action find
entity Mike Brown
relation place of birth
type administrative territorial entity
['Mike Brown', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Mike_Brown property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437776
P69
Q3918
USER
Which university is Mike Brown an alumni of ?
(Q437776,P69,c(Q3918))
action filter_type
action find
entity Q437776
relation P69
type Q3918
['Q437776', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q437776 property:P69 ?c . ?c rdf:type ontology:Q3918 }
Mike Brown
action filter_type
action find
entity Mike Brown
relation educated at
type university
['Mike Brown', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Mike_Brown property:educated_at ?c . ?c rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q437776,P69,c(Q3918))
action filter_type
action find
entity Q437776
relation P69
type Q3918
Which university is Mike Brown an alumni of
['Q437776', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q437776 property:P69 ?c . ?c rdf:type ontology:Q3918 }
University of Michigan
Which university is Mike Brown an alumni of
University of Michigan
action filter_type
action find
entity Mike Brown
relation educated at
type university
['Mike Brown', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Mike_Brown property:educated_at ?c . ?c rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q230492 Q148045 Q30
P17
Q15617994
USER
Is that university located in Zarpen and United States of America ?
(Q230492,P17,Q148045) (Q230492,P17,Q30)
action is_in
entity Q230492
action intersection
action find_reverse
entity Q148045
relation P17
action find_reverse
entity Q30
relation P17
['Q230492', 'P17', 'Q148045'] ['Q230492', 'P17', 'Q30']
ASK WHERE { resource:Q230492 property:P17 resource:Q30 . resource:Q230492 property:P17 resource:Q148045 }
University of Michigan Zarpen United States of America
action is_in
entity University of Michigan
action intersection
action find_reverse
entity Zarpen
relation country
action find_reverse
entity United States of America
relation country
['University of Michigan', 'country', 'Zarpen'] ['University of Michigan', 'country', 'United States of America']
ASK WHERE { resource:University_of_Michigan property:country resource:United_States_of_America . resource:University_of_Michigan property:country resource:Zarpen }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q230492,P17,Q148045) (Q230492,P17,Q30)
action is_in
entity Q230492
action intersection
action find_reverse
entity Q148045
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q230492', 'P17', 'Q148045'] ['Q230492', 'P17', 'Q30']
ASK WHERE { resource:Q230492 property:P17 resource:Q30 . resource:Q230492 property:P17 resource:Q148045 }
NO and YES respectively
action is_in
entity University of Michigan
action intersection
action find_reverse
entity Zarpen
relation country
action find_reverse
entity United States of America
relation country
['University of Michigan', 'country', 'Zarpen'] ['University of Michigan', 'country', 'United States of America']
ASK WHERE { resource:University_of_Michigan property:country resource:United_States_of_America . resource:University_of_Michigan property:country resource:Zarpen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q570986 Q30
P17
Q15617994
USER
Is Northbrook situated in United States of America ?
(Q570986,P17,Q30)
action is_in
entity Q30
action find
entity Q570986
relation P17
['Q570986', 'P17', 'Q30']
ASK WHERE { resource:Q570986 property:P17 resource:Q30 }
Northbrook United States of America
action is_in
entity United States of America
action find
entity Northbrook
relation country
['Northbrook', 'country', 'United States of America']
ASK WHERE { resource:Northbrook property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q570986,P17,Q30)
action is_in
entity Q30
action find
entity Q570986
relation P17
[ANSWER]
['Q570986', 'P17', 'Q30']
ASK WHERE { resource:Q570986 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Northbrook
relation country
['Northbrook', 'country', 'United States of America']
ASK WHERE { resource:Northbrook property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1043100 Q437776
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Mike Brown or Carlos Santiago Mérida ?
OR((Q437776,P27,c(Q15617994)), (Q1043100,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q437776
relation P27
action find
entity Q1043100
relation P27
type Q15617994
{'OR': [['Q437776', 'P27', {'concept': 'Q15617994'}], ['Q1043100', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?e ) { ( resource:Q437776 ) ( resource:Q1043100 ) } . ?e property:P27 ?u } . ?u rdf:type ontology:Q15617994 }
Carlos Santiago Mérida Mike Brown
action filter_type
action union
action find
entity Mike Brown
relation country of citizenship
action find
entity Carlos Santiago Mérida
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carlos Santiago Mérida', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?e ) { ( resource:Mike_Brown ) ( resource:Carlos_Santiago_Mérida ) } . ?e property:country_of_citizenship ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q774 Q30
SYSTEM
Guatemala, United States of America
Q774 Q30
OR((Q437776,P27,c(Q15617994)), (Q1043100,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q437776
relation P27
action find
entity Q1043100
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Mike Brown or Carlos Santiago Mérida
{'OR': [['Q437776', 'P27', {'concept': 'Q15617994'}], ['Q1043100', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?e ) { ( resource:Q437776 ) ( resource:Q1043100 ) } . ?e property:P27 ?u } . ?u rdf:type ontology:Q15617994 }
Guatemala United States of America
Guatemala and United States of America are the countries of citizenship of Mike Brown or Carlos Santiago Mérida
Guatemala United States of America
action filter_type
action union
action find
entity Mike Brown
relation country of citizenship
action find
entity Carlos Santiago Mérida
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Carlos Santiago Mérida', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?e ) { ( resource:Mike_Brown ) ( resource:Carlos_Santiago_Mérida ) } . ?e property:country_of_citizenship ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19609681
P27
Q502895
USER
Are Diana Barrera civilians of those administrative territories ?
(Q19609681,P27,Q774) (Q19609681,P27,Q30)
action is_in
entity prev_answer
action find
entity Q19609681
relation P27
['Q19609681', 'P27', 'Q774'] ['Q19609681', 'P27', 'Q30']
ASK WHERE { resource:Q19609681 property:P27 ?i . VALUES ( ?i ) { ( resource:Q774 ) ( resource:Q30 ) } }
Diana Barrera
action is_in
entity prev_answer
action find
entity Diana Barrera
relation country of citizenship
['Diana Barrera', 'country of citizenship', 'Guatemala'] ['Diana Barrera', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Diana_Barrera property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Guatemala ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
YES
(Q19609681,P27,Q774) (Q19609681,P27,Q30)
action is_in
entity prev_answer
action find
entity Q19609681
relation P27
[ANSWER]
['Q19609681', 'P27', 'Q774'] ['Q19609681', 'P27', 'Q30']
ASK WHERE { resource:Q19609681 property:P27 ?i . VALUES ( ?i ) { ( resource:Q774 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Diana Barrera
relation country of citizenship
['Diana Barrera', 'country of citizenship', 'Guatemala'] ['Diana Barrera', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Diana_Barrera property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Guatemala ) ( resource:United_States_of_America ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q437776 Q546740
P27
Q15617994
USER
Is Mike Brown a civilian of Brüheim ?
(Q437776,P27,Q546740)
action is_in
entity Q546740
action find
entity Q437776
relation P27
['Q437776', 'P27', 'Q546740']
ASK WHERE { resource:Q437776 property:P27 resource:Q546740 }
Mike Brown Brüheim
action is_in
entity Brüheim
action find
entity Mike Brown
relation country of citizenship
['Mike Brown', 'country of citizenship', 'Brüheim']
ASK WHERE { resource:Mike_Brown property:country_of_citizenship resource:Brüheim }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q437776,P27,Q546740)
action is_in
entity Q546740
action find
entity Q437776
relation P27
[ANSWER]
['Q437776', 'P27', 'Q546740']
ASK WHERE { resource:Q437776 property:P27 resource:Q546740 }
No
action is_in
entity Brüheim
action find
entity Mike Brown
relation country of citizenship
['Mike Brown', 'country of citizenship', 'Brüheim']
ASK WHERE { resource:Mike_Brown property:country_of_citizenship resource:Brüheim }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q159
P47
Q15617994
USER
Is Russia adjacent to United States of America ?
(Q30,P47,Q159)
action is_in
entity Q159
action find
entity Q30
relation P47
['Q30', 'P47', 'Q159']
ASK WHERE { resource:Q30 property:P47 resource:Q159 }
United States of America Russia
action is_in
entity Russia
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Russia']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P47,Q159)
action is_in
entity Q159
action find
entity Q30
relation P47
[ANSWER]
['Q30', 'P47', 'Q159']
ASK WHERE { resource:Q30 property:P47 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Russia']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Russia }
[]