Simple Question (Direct)
Simple Question
Q6813934
P607
Q198
USER
Which battle did Melvin Bassi take part in ?
(Q6813934,P607,c(Q198))
action filter_type
action find
entity Q6813934
relation P607
type Q198
['Q6813934', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?u WHERE { resource:Q6813934 property:P607 ?u . ?u rdf:type ontology:Q198 }
Melvin Bassi
action filter_type
action find
entity Melvin Bassi
relation conflict
type war
['Melvin Bassi', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?u WHERE { resource:Melvin_Bassi property:conflict ?u . ?u rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q6813934,P607,c(Q198))
action filter_type
action find
entity Q6813934
relation P607
type Q198
Melvin Bassi took part in [ANSWER]
['Q6813934', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?u WHERE { resource:Q6813934 property:P607 ?u . ?u rdf:type ontology:Q198 }
World War II
Melvin Bassi took part in World War II
World War II
action filter_type
action find
entity Melvin Bassi
relation conflict
type war
['Melvin Bassi', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?u WHERE { resource:Melvin_Bassi property:conflict ?u . ?u rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6813934
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q362,P27,c(Q15617994))
action filter_type
action find
entity Q6813934
relation P27
type Q15617994
['Q362', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q6813934 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Melvin Bassi
action filter_type
action find
entity Melvin Bassi
relation country of citizenship
type designation for an administrative territorial entity
['World War II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Melvin_Bassi property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q362,P27,c(Q15617994))
action filter_type
action find
entity Q6813934
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q362', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q6813934 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Melvin Bassi
relation country of citizenship
type designation for an administrative territorial entity
['World War II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Melvin_Bassi property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6813934
P69
Q3918
USER
Which university was that person educated at ?
(Q30,P69,c(Q3918))
action filter_type
action find
entity Q6813934
relation P69
type Q3918
['Q30', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q6813934 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Melvin Bassi
action filter_type
action find
entity Melvin Bassi
relation educated at
type university
['United States of America', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Melvin_Bassi property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q7896136
SYSTEM
University of Pittsburgh School of Law
Q7896136
(Q30,P69,c(Q3918))
action filter_type
action find
entity Q6813934
relation P69
type Q3918
That person was educated by [ANSWER]
['Q30', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q6813934 property:P69 ?p . ?p rdf:type ontology:Q3918 }
University of Pittsburgh School of Law
That person was educated by University of Pittsburgh School of Law
University of Pittsburgh School of Law
action filter_type
action find
entity Melvin Bassi
relation educated at
type university
['United States of America', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Melvin_Bassi property:educated_at ?p . ?p rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7896136 Q5666887
P69
Q502895
USER
Was Harry Allison Estep educated at that university ?
(Q5666887,P69,Q7896136)
action is_in
entity Q7896136
action find
entity Q5666887
relation P69
['Q5666887', 'P69', 'Q7896136']
ASK WHERE { resource:Q5666887 property:P69 resource:Q7896136 }
University of Pittsburgh School of Law Harry Allison Estep
action is_in
entity University of Pittsburgh School of Law
action find
entity Harry Allison Estep
relation educated at
['Harry Allison Estep', 'educated at', 'University of Pittsburgh School of Law']
ASK WHERE { resource:Harry_Allison_Estep property:educated_at resource:University_of_Pittsburgh_School_of_Law }
[]
common name
SYSTEM
YES
(Q5666887,P69,Q7896136)
action is_in
entity Q7896136
action find
entity Q5666887
relation P69
[ANSWER]
['Q5666887', 'P69', 'Q7896136']
ASK WHERE { resource:Q5666887 property:P69 resource:Q7896136 }
Yes
action is_in
entity University of Pittsburgh School of Law
action find
entity Harry Allison Estep
relation educated at
['Harry Allison Estep', 'educated at', 'University of Pittsburgh School of Law']
ASK WHERE { resource:Harry_Allison_Estep property:educated_at resource:University_of_Pittsburgh_School_of_Law }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6813934 Q26691892
P106
Q12737077
USER
Does mayor of Caudete have Melvin Bassi as his/her as a career ?
(Q6813934,P106,Q26691892)
action is_in
entity Q26691892
action find
entity Q6813934
relation P106
['Q6813934', 'P106', 'Q26691892']
ASK WHERE { resource:Q6813934 property:P106 resource:Q26691892 }
Melvin Bassi mayor of Caudete
action is_in
entity mayor of Caudete
action find
entity Melvin Bassi
relation occupation
['Melvin Bassi', 'occupation', 'mayor of Caudete']
ASK WHERE { resource:Melvin_Bassi property:occupation resource:mayor_of_Caudete }
[]
occupation
SYSTEM
NO
(Q6813934,P106,Q26691892)
action is_in
entity Q26691892
action find
entity Q6813934
relation P106
[ANSWER]
['Q6813934', 'P106', 'Q26691892']
ASK WHERE { resource:Q6813934 property:P106 resource:Q26691892 }
No
action is_in
entity mayor of Caudete
action find
entity Melvin Bassi
relation occupation
['Melvin Bassi', 'occupation', 'mayor of Caudete']
ASK WHERE { resource:Melvin_Bassi property:occupation resource:mayor_of_Caudete }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4878309 Q5666887
P69
Q3918
USER
Which universities are the alma mater of Harry Allison Estep and Bebe Moore Campbell ?
AND((Q5666887,P69,c(Q3918)), (Q4878309,P69,c(Q3918)))
action filter_type
action intersection
action find
entity Q5666887
relation P69
action find
entity Q4878309
relation P69
type Q3918
{'AND': [['Q5666887', 'P69', {'concept': 'Q3918'}], ['Q4878309', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?s WHERE { resource:Q5666887 property:P69 ?s . resource:Q4878309 property:P69 ?s . ?s rdf:type ontology:Q3918 }
Bebe Moore Campbell Harry Allison Estep
action filter_type
action intersection
action find
entity Harry Allison Estep
relation educated at
action find
entity Bebe Moore Campbell
relation educated at
type university
{'AND': [['Harry Allison Estep', 'educated at', {'concept': 'university'}], ['Bebe Moore Campbell', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?s WHERE { resource:Harry_Allison_Estep property:educated_at ?s . resource:Bebe_Moore_Campbell property:educated_at ?s . ?s rdf:type ontology:university }
[]
university
Q235034
SYSTEM
University of Pittsburgh
Q235034
AND((Q5666887,P69,c(Q3918)), (Q4878309,P69,c(Q3918)))
action filter_type
action intersection
action find
entity Q5666887
relation P69
action find
entity Q4878309
relation P69
type Q3918
[ANSWER] is the alma mater of Harry Allison Estep and Bebe Moore Campbell
{'AND': [['Q5666887', 'P69', {'concept': 'Q3918'}], ['Q4878309', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?s WHERE { resource:Q5666887 property:P69 ?s . resource:Q4878309 property:P69 ?s . ?s rdf:type ontology:Q3918 }
University of Pittsburgh
University of Pittsburgh is the alma mater of Harry Allison Estep and Bebe Moore Campbell
University of Pittsburgh
action filter_type
action intersection
action find
entity Harry Allison Estep
relation educated at
action find
entity Bebe Moore Campbell
relation educated at
type university
{'AND': [['Harry Allison Estep', 'educated at', {'concept': 'university'}], ['Bebe Moore Campbell', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?s WHERE { resource:Harry_Allison_Estep property:educated_at ?s . resource:Bebe_Moore_Campbell property:educated_at ?s . ?s rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4878309
P172
Q2472587
USER
Which people does Bebe Moore Campbell have as ethnic origin ?
(Q235034,P172,c(Q2472587))
action filter_type
action find
entity Q4878309
relation P172
type Q2472587
['Q235034', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { resource:Q4878309 property:P172 ?h . ?h rdf:type ontology:Q2472587 }
Bebe Moore Campbell
action filter_type
action find
entity Bebe Moore Campbell
relation ethnic group
type people
['University of Pittsburgh', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { resource:Bebe_Moore_Campbell property:ethnic_group ?h . ?h rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q235034,P172,c(Q2472587))
action filter_type
action find
entity Q4878309
relation P172
type Q2472587
Bebe Moore Campbell has taken [ANSWER] as ethnic origin
['Q235034', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { resource:Q4878309 property:P172 ?h . ?h rdf:type ontology:Q2472587 }
African Americans
Bebe Moore Campbell has taken African Americans as ethnic origin
African Americans
action filter_type
action find
entity Bebe Moore Campbell
relation ethnic group
type people
['University of Pittsburgh', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { resource:Bebe_Moore_Campbell property:ethnic_group ?h . ?h rdf:type ontology:people }
[]