Simple Question (Direct)
Simple Question
Q2792507
P20
Q56061
USER
Where did Antonio Enríquez Savignac die ?
(Q2792507,P20,c(Q56061))
action filter_type
action find
entity Q2792507
relation P20
type Q56061
['Q2792507', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2792507 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Antonio Enríquez Savignac
action filter_type
action find
entity Antonio Enríquez Savignac
relation place of death
type administrative territorial entity
['Antonio Enríquez Savignac', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Antonio_Enríquez_Savignac property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489
SYSTEM
Mexico City
Q1489
(Q2792507,P20,c(Q56061))
action filter_type
action find
entity Q2792507
relation P20
type Q56061
Antonio Enríquez Savignac died in [ANSWER]
['Q2792507', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2792507 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Mexico City
Antonio Enríquez Savignac died in Mexico City
Mexico City
action filter_type
action find
entity Antonio Enríquez Savignac
relation place of death
type administrative territorial entity
['Antonio Enríquez Savignac', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Antonio_Enríquez_Savignac property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2792507
P102
Q7210356
USER
Which party does Antonio Enríquez Savignac belong to ?
(Q2792507,P102,c(Q7210356))
action filter_type
action find
entity Q2792507
relation P102
type Q7210356
['Q2792507', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q2792507 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Antonio Enríquez Savignac
action filter_type
action find
entity Antonio Enríquez Savignac
relation member of political party
type political organization
['Antonio Enríquez Savignac', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Antonio_Enríquez_Savignac property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q682969
SYSTEM
Institutional Revolutionary Party
Q682969
(Q2792507,P102,c(Q7210356))
action filter_type
action find
entity Q2792507
relation P102
type Q7210356
Antonio Enríquez Savignac belongs to [ANSWER]
['Q2792507', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q2792507 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Institutional Revolutionary Party
Antonio Enríquez Savignac belongs to Institutional Revolutionary Party
Institutional Revolutionary Party
action filter_type
action find
entity Antonio Enríquez Savignac
relation member of political party
type political organization
['Antonio Enríquez Savignac', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Antonio_Enríquez_Savignac property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2792507
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q682969,P19,c(Q56061))
action filter_type
action find
entity Q2792507
relation P19
type Q56061
['Q682969', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2792507 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Antonio Enríquez Savignac
action filter_type
action find
entity Antonio Enríquez Savignac
relation place of birth
type administrative territorial entity
['Institutional Revolutionary Party', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Antonio_Enríquez_Savignac property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489
SYSTEM
Mexico City
Q1489
(Q682969,P19,c(Q56061))
action filter_type
action find
entity Q2792507
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q682969', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2792507 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Mexico City
Mexico City is the place of birth of that person
Mexico City
action filter_type
action find
entity Antonio Enríquez Savignac
relation place of birth
type administrative territorial entity
['Institutional Revolutionary Party', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Antonio_Enríquez_Savignac property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2792507
P1412
Q34770
USER
Which language is spoken by that person ?
(Q1489,P1412,c(Q34770))
action filter_type
action find
entity Q2792507
relation P1412
type Q34770
['Q1489', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q2792507 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Antonio Enríquez Savignac
action filter_type
action find
entity Antonio Enríquez Savignac
relation languages spoken, written or signed
type language
['Mexico City', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Antonio_Enríquez_Savignac property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1489,P1412,c(Q34770))
action filter_type
action find
entity Q2792507
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q1489', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q2792507 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Antonio Enríquez Savignac
relation languages spoken, written or signed
type language
['Mexico City', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Antonio_Enríquez_Savignac property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5945041 Q2792507
P1412
Q34770
USER
Or José Refugio Esparza Reyes?
OR((Q2792507,P1412,c(Q34770)), (Q5945041,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q2792507
relation P1412
action find
entity Q5945041
relation P1412
type Q34770
{'OR': [['Q2792507', 'P1412', {'concept': 'Q34770'}], ['Q5945041', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2792507 property:P1412 ?v } UNION { resource:Q5945041 property:P1412 ?v } } . ?v rdf:type ontology:Q34770 }
José Refugio Esparza Reyes Antonio Enríquez Savignac
action filter_type
action union
action find
entity Antonio Enríquez Savignac
relation languages spoken, written or signed
action find
entity José Refugio Esparza Reyes
relation languages spoken, written or signed
type language
{'OR': [['Antonio Enríquez Savignac', 'languages spoken, written or signed', {'concept': 'language'}], ['José Refugio Esparza Reyes', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Antonio_Enríquez_Savignac property:languages_spoken,_written_or_signed ?v } UNION { resource:José_Refugio_Esparza_Reyes property:languages_spoken,_written_or_signed ?v } } . ?v rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
OR((Q2792507,P1412,c(Q34770)), (Q5945041,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q2792507
relation P1412
action find
entity Q5945041
relation P1412
type Q34770
[ANSWER]
{'OR': [['Q2792507', 'P1412', {'concept': 'Q34770'}], ['Q5945041', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2792507 property:P1412 ?v } UNION { resource:Q5945041 property:P1412 ?v } } . ?v rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action union
action find
entity Antonio Enríquez Savignac
relation languages spoken, written or signed
action find
entity José Refugio Esparza Reyes
relation languages spoken, written or signed
type language
{'OR': [['Antonio Enríquez Savignac', 'languages spoken, written or signed', {'concept': 'language'}], ['José Refugio Esparza Reyes', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Antonio_Enríquez_Savignac property:languages_spoken,_written_or_signed ?v } UNION { resource:José_Refugio_Esparza_Reyes property:languages_spoken,_written_or_signed ?v } } . ?v rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q13102980
P1412
Q502895
USER
Does Heinrich Theodor Weber talk in that language ?
(Q13102980,P1412,Q1321)
action is_in
entity Q13102980
action find
entity Q1321
relation P1412
['Q13102980', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q13102980 }
Spanish Heinrich Theodor Weber
action is_in
entity Heinrich Theodor Weber
action find
entity Spanish
relation languages spoken, written or signed
['Heinrich Theodor Weber', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Heinrich_Theodor_Weber }
[]
common name
SYSTEM
NO
(Q13102980,P1412,Q1321)
action is_in
entity Q13102980
action find
entity Q1321
relation P1412
[ANSWER]
['Q13102980', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q13102980 }
No
action is_in
entity Heinrich Theodor Weber
action find
entity Spanish
relation languages spoken, written or signed
['Heinrich Theodor Weber', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Heinrich_Theodor_Weber }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2792507 Q224439 Q96
P27
Q15617994
USER
Is Antonio Enríquez Savignac a citizen of Roccantica and Mexico ?
(Q2792507,P27,Q224439) (Q2792507,P27,Q96)
action is_in
entity Q2792507
action intersection
action find_reverse
entity Q224439
relation P27
action find_reverse
entity Q96
relation P27
['Q2792507', 'P27', 'Q224439'] ['Q2792507', 'P27', 'Q96']
ASK WHERE { resource:Q2792507 property:P27 resource:Q224439 . resource:Q2792507 property:P27 resource:Q96 }
Antonio Enríquez Savignac Roccantica Mexico
action is_in
entity Antonio Enríquez Savignac
action intersection
action find_reverse
entity Roccantica
relation country of citizenship
action find_reverse
entity Mexico
relation country of citizenship
['Antonio Enríquez Savignac', 'country of citizenship', 'Roccantica'] ['Antonio Enríquez Savignac', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Antonio_Enríquez_Savignac property:country_of_citizenship resource:Roccantica . resource:Antonio_Enríquez_Savignac property:country_of_citizenship resource:Mexico }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2792507,P27,Q224439) (Q2792507,P27,Q96)
action is_in
entity Q2792507
action intersection
action find_reverse
entity Q224439
relation P27
action find_reverse
entity Q96
relation P27
[ANSWER]
['Q2792507', 'P27', 'Q224439'] ['Q2792507', 'P27', 'Q96']
ASK WHERE { resource:Q2792507 property:P27 resource:Q224439 . resource:Q2792507 property:P27 resource:Q96 }
NO and YES respectively
action is_in
entity Antonio Enríquez Savignac
action intersection
action find_reverse
entity Roccantica
relation country of citizenship
action find_reverse
entity Mexico
relation country of citizenship
['Antonio Enríquez Savignac', 'country of citizenship', 'Roccantica'] ['Antonio Enríquez Savignac', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Antonio_Enríquez_Savignac property:country_of_citizenship resource:Roccantica . resource:Antonio_Enríquez_Savignac property:country_of_citizenship resource:Mexico }
[]