Simple Question (Direct)
Simple Question
Q1131546
P19
Q56061
USER
Which administrative territory is the birthplace of Óscar Elías Biscet ?
(Q1131546,P19,c(Q56061))
action filter_type
action find
entity Q1131546
relation P19
type Q56061
['Q1131546', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1131546 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Óscar Elías Biscet
action filter_type
action find
entity Óscar Elías Biscet
relation place of birth
type administrative territorial entity
['Óscar Elías Biscet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Óscar_Elías_Biscet property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1563
SYSTEM
Havana
Q1563
(Q1131546,P19,c(Q56061))
action filter_type
action find
entity Q1131546
relation P19
type Q56061
[ANSWER] is the birthplace of Óscar Elías Biscet
['Q1131546', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1131546 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Havana
Havana is the birthplace of Óscar Elías Biscet
Havana
action filter_type
action find
entity Óscar Elías Biscet
relation place of birth
type administrative territorial entity
['Óscar Elías Biscet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Óscar_Elías_Biscet property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1563
P937
Q502895
USER
Who works at that administrative territory ?
(c(Q502895),P937,Q1563)
action filter_type
action find_reverse
entity Q1563
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q1563']
SELECT DISTINCT ?r WHERE { ?r property:P937 resource:Q1563 . ?r rdf:type ontology:Q502895 }
Havana
action filter_type
action find_reverse
entity Havana
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Havana']
SELECT DISTINCT ?r WHERE { ?r property:work_location resource:Havana . ?r rdf:type ontology:common_name }
[]
common name
Q742233 Q214515 Q11860506
SYSTEM
Carlos Finlay, Lisa Fittko, Giuseppe Burzio
Q742233 Q214515 Q11860506 Q1390211
(c(Q502895),P937,Q1563)
action filter_type
action find_reverse
entity Q1563
relation P937
type Q502895
[ANSWERS] work at that administrative territory
[{'concept': 'Q502895'}, 'P937', 'Q1563']
SELECT DISTINCT ?r WHERE { ?r property:P937 resource:Q1563 . ?r rdf:type ontology:Q502895 }
Carlos Finlay Lisa Fittko Giuseppe Burzio Luis Suárez Salazar
Carlos Finlay, Lisa Fittko and Giuseppe Burzio work at that administrative territory
Carlos Finlay Lisa Fittko Giuseppe Burzio
action filter_type
action find_reverse
entity Havana
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Havana']
SELECT DISTINCT ?r WHERE { ?r property:work_location resource:Havana . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1563
P937 P21
Q502895
USER
Which people have Havana as their work location and are a male ?
AND((c(Q502895),P937,Q1563), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1563
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1563'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P937 resource:Q1563 . ?n rdf:type ontology:Q502895 }
male Havana
action filter_type
action intersection
action find_reverse
entity Havana
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Havana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:work_location resource:Havana . ?n rdf:type ontology:common_name }
[]
common name
Q742233 Q11860506 Q1390211
SYSTEM
Carlos Finlay, Giuseppe Burzio, Luis Suárez Salazar
Q742233 Q11860506 Q1390211
AND((c(Q502895),P937,Q1563), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1563
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Havana as their work location and are a male
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1563'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P937 resource:Q1563 . ?n rdf:type ontology:Q502895 }
Carlos Finlay Giuseppe Burzio Luis Suárez Salazar
Carlos Finlay, Giuseppe Burzio and Luis Suárez Salazar have Havana as their work location and are a male
Carlos Finlay Giuseppe Burzio Luis Suárez Salazar
action filter_type
action intersection
action find_reverse
entity Havana
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Havana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:work_location resource:Havana . ?n rdf:type ontology:common_name }
[]