Simple Question (Direct)
Simple Question
Q1627527
P20
Q1048835
USER
Which political territory is the place of death of Carles Buigas ?
(Q1627527,P20,c(Q1048835))
action filter_type
action find
entity Q1627527
relation P20
type Q1048835
['Q1627527', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1627527 property:P20 ?h . ?h rdf:type ontology:Q1048835 }
Carles Buigas
action filter_type
action find
entity Carles Buigas
relation place of death
type political territorial entity
['Carles Buigas', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Carles_Buigas property:place_of_death ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13922
SYSTEM
Cerdanyola del Vallès
Q13922
(Q1627527,P20,c(Q1048835))
action filter_type
action find
entity Q1627527
relation P20
type Q1048835
[ANSWER] is the place of death of Carles Buigas
['Q1627527', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1627527 property:P20 ?h . ?h rdf:type ontology:Q1048835 }
Cerdanyola del Vallès
Cerdanyola del Vallès is the place of death of Carles Buigas
Cerdanyola del Vallès
action filter_type
action find
entity Carles Buigas
relation place of death
type political territorial entity
['Carles Buigas', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Carles_Buigas property:place_of_death ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1627527
P84
Q811979
USER
What was that person an architect of ?
(c(Q811979),P84,Q13922)
action filter_type
action find_reverse
entity Q1627527
relation P84
type Q811979
[{'concept': 'Q811979'}, 'P84', 'Q13922']
SELECT DISTINCT ?r WHERE { ?r property:P84 resource:Q1627527 . ?r rdf:type ontology:Q811979 }
Carles Buigas
action filter_type
action find_reverse
entity Carles Buigas
relation architect
type architectural structure
[{'concept': 'architectural structure'}, 'architect', 'Cerdanyola del Vallès']
SELECT DISTINCT ?r WHERE { ?r property:architect resource:Carles_Buigas . ?r rdf:type ontology:architectural_structure }
[]
architectural structure
Q1414600
SYSTEM
Magic Fountain of Montjuïc
Q1414600
(c(Q811979),P84,Q13922)
action filter_type
action find_reverse
entity Q1627527
relation P84
type Q811979
That person an architect of was the [ANSWER]
[{'concept': 'Q811979'}, 'P84', 'Q13922']
SELECT DISTINCT ?r WHERE { ?r property:P84 resource:Q1627527 . ?r rdf:type ontology:Q811979 }
Magic Fountain of Montjuïc
That person an architect of was the Magic Fountain of Montjuïc
Magic Fountain of Montjuïc
action filter_type
action find_reverse
entity Carles Buigas
relation architect
type architectural structure
[{'concept': 'architectural structure'}, 'architect', 'Cerdanyola del Vallès']
SELECT DISTINCT ?r WHERE { ?r property:architect resource:Carles_Buigas . ?r rdf:type ontology:architectural_structure }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1414600 Q6175581 Q1907517
P17
Q15617994
USER
Is that architectural structure located in Jefferson Schools and Massenheim ?
(Q1414600,P17,Q6175581) (Q1414600,P17,Q1907517)
action is_in
entity Q1414600
action intersection
action find_reverse
entity Q6175581
relation P17
action find_reverse
entity Q1907517
relation P17
['Q1414600', 'P17', 'Q6175581'] ['Q1414600', 'P17', 'Q1907517']
ASK WHERE { resource:Q1414600 property:P17 resource:Q6175581 . resource:Q1414600 property:P17 resource:Q1907517 }
Magic Fountain of Montjuïc Jefferson Schools Massenheim
action is_in
entity Magic Fountain of Montjuïc
action intersection
action find_reverse
entity Jefferson Schools
relation country
action find_reverse
entity Massenheim
relation country
['Magic Fountain of Montjuïc', 'country', 'Jefferson Schools'] ['Magic Fountain of Montjuïc', 'country', 'Massenheim']
ASK WHERE { resource:Magic_Fountain_of_Montjuïc property:country resource:Jefferson_Schools . resource:Magic_Fountain_of_Montjuïc property:country resource:Massenheim }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1414600,P17,Q6175581) (Q1414600,P17,Q1907517)
action is_in
entity Q1414600
action intersection
action find_reverse
entity Q6175581
relation P17
action find_reverse
entity Q1907517
relation P17
[ANSWER]
['Q1414600', 'P17', 'Q6175581'] ['Q1414600', 'P17', 'Q1907517']
ASK WHERE { resource:Q1414600 property:P17 resource:Q6175581 . resource:Q1414600 property:P17 resource:Q1907517 }
No
action is_in
entity Magic Fountain of Montjuïc
action intersection
action find_reverse
entity Jefferson Schools
relation country
action find_reverse
entity Massenheim
relation country
['Magic Fountain of Montjuïc', 'country', 'Jefferson Schools'] ['Magic Fountain of Montjuïc', 'country', 'Massenheim']
ASK WHERE { resource:Magic_Fountain_of_Montjuïc property:country resource:Jefferson_Schools . resource:Magic_Fountain_of_Montjuïc property:country resource:Massenheim }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2931853 Q1414600
P17
Q15617994
USER
Which administrative territories are Magic Fountain of Montjuïc or CORPAC a part of ?
OR((Q1414600,P17,c(Q15617994)), (Q2931853,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1414600
relation P17
action find
entity Q2931853
relation P17
type Q15617994
{'OR': [['Q1414600', 'P17', {'concept': 'Q15617994'}], ['Q2931853', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { VALUES ( ?r ) { ( resource:Q1414600 ) ( resource:Q2931853 ) } . ?r property:P17 ?e } }
CORPAC Magic Fountain of Montjuïc
action filter_type
action union
action find
entity Magic Fountain of Montjuïc
relation country
action find
entity CORPAC
relation country
type designation for an administrative territorial entity
{'OR': [['Magic Fountain of Montjuïc', 'country', {'concept': 'designation for an administrative territorial entity'}], ['CORPAC', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Magic_Fountain_of_Montjuïc ) ( resource:CORPAC ) } . ?r property:country ?e } }
[]
designation for an administrative territorial entity
Q29 Q419
SYSTEM
Spain, Peru
Q29 Q419
OR((Q1414600,P17,c(Q15617994)), (Q2931853,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1414600
relation P17
action find
entity Q2931853
relation P17
type Q15617994
Are Magic Fountain of Montjuïc or CORPAC a part of [ANSWERS]
{'OR': [['Q1414600', 'P17', {'concept': 'Q15617994'}], ['Q2931853', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { VALUES ( ?r ) { ( resource:Q1414600 ) ( resource:Q2931853 ) } . ?r property:P17 ?e } }
Spain Peru
Are Magic Fountain of Montjuïc or CORPAC a part of Spain and Peru
Spain Peru
action filter_type
action union
action find
entity Magic Fountain of Montjuïc
relation country
action find
entity CORPAC
relation country
type designation for an administrative territorial entity
{'OR': [['Magic Fountain of Montjuïc', 'country', {'concept': 'designation for an administrative territorial entity'}], ['CORPAC', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Magic_Fountain_of_Montjuïc ) ( resource:CORPAC ) } . ?r property:country ?e } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5885575
P27
Q502895
USER
Are Gregorio de Gante a citizen of those administrative territories ?
(Q5885575,P27,Q29) (Q5885575,P27,Q419)
action is_in
entity prev_answer
action find
entity Q5885575
relation P27
['Q5885575', 'P27', 'Q29'] ['Q5885575', 'P27', 'Q419']
ASK WHERE { resource:Q5885575 property:P27 ?c . VALUES ( ?c ) { ( resource:Q29 ) ( resource:Q419 ) } }
Gregorio de Gante
action is_in
entity prev_answer
action find
entity Gregorio de Gante
relation country of citizenship
['Gregorio de Gante', 'country of citizenship', 'Spain'] ['Gregorio de Gante', 'country of citizenship', 'Peru']
ASK WHERE { resource:Gregorio_de_Gante property:country_of_citizenship ?c . VALUES ( ?c ) { ( resource:Spain ) ( resource:Peru ) } }
[]
common name
SYSTEM
NO
(Q5885575,P27,Q29) (Q5885575,P27,Q419)
action is_in
entity prev_answer
action find
entity Q5885575
relation P27
[ANSWER]
['Q5885575', 'P27', 'Q29'] ['Q5885575', 'P27', 'Q419']
ASK WHERE { resource:Q5885575 property:P27 ?c . VALUES ( ?c ) { ( resource:Q29 ) ( resource:Q419 ) } }
No
action is_in
entity prev_answer
action find
entity Gregorio de Gante
relation country of citizenship
['Gregorio de Gante', 'country of citizenship', 'Spain'] ['Gregorio de Gante', 'country of citizenship', 'Peru']
ASK WHERE { resource:Gregorio_de_Gante property:country_of_citizenship ?c . VALUES ( ?c ) { ( resource:Spain ) ( resource:Peru ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P1532
Q6979593
USER
Who play for Peru ?
(c(Q6979593),P1532,Q419)
action filter_type
action find_reverse
entity Q419
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q419']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q419 . ?o rdf:type ontology:Q6979593 }
Peru
action filter_type
action find_reverse
entity Peru
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Peru']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Peru . ?o rdf:type ontology:national_association_football_team }
[]
national association football team
Q16581679 Q2064317 Q23905215
SYSTEM
Peru Olympic football team, Peru women's national football team, Peru women's national under-17 football team
Q16581679 Q2064317 Q23905215
(c(Q6979593),P1532,Q419)
action filter_type
action find_reverse
entity Q419
relation P1532
type Q6979593
[ANSWERS] play for Peru
[{'concept': 'Q6979593'}, 'P1532', 'Q419']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q419 . ?o rdf:type ontology:Q6979593 }
Peru Olympic football team Peru women's national football team Peru women's national under-17 football team
Peru Olympic football team, Peru women's national football team and Peru women's national under-17 football team play for Peru
Peru Olympic football team Peru women's national football team Peru women's national under-17 football team
action filter_type
action find_reverse
entity Peru
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Peru']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Peru . ?o rdf:type ontology:national_association_football_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2064317
P641
Q349
USER
Which sport was that national association football team a part of ?
(Q2064317,P641,c(Q349))
action filter_type
action find
entity Q2064317
relation P641
type Q349
['Q2064317', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q2064317 property:P641 ?r }
Peru women's national football team
action filter_type
action find
entity Peru women's national football team
relation sport
type sport
["Peru women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Peru_women's_national_football_team property:sport ?r }
[]
sport
Clarification for simple ques.
Q23905215
SYSTEM
Did you mean Peru women's national under-17 football team ?
Q16581679 Q2064317 Q23905215
(Q16581679,P641,c(Q349)) (Q2064317,P641,c(Q349)) (Q23905215,P641,c(Q349))
[ANSWER]
['Q16581679', 'P641', {'concept': 'Q349'}] ['Q2064317', 'P641', {'concept': 'Q349'}] ['Q23905215', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q2064317 property:P641 ?r }
Peru Olympic football team Peru women's national football team Peru women's national under-17 football team
Did you mean Peru women's national under-17 football team ?
Peru women's national under-17 football team
['Peru Olympic football team', 'sport', {'concept': 'sport'}] ["Peru women's national football team", 'sport', {'concept': 'sport'}] ["Peru women's national under-17 football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Peru_women's_national_football_team property:sport ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant Peru women's national football team. Could you tell me the answer for that?
(Q2064317,P641,c(Q349))
Q2064317
['Q2064317', 'P641', {'concept': 'Q349'}]
["Peru women's national football team", 'sport', {'concept': 'sport'}]
[]
Q606060
SYSTEM
women's association football
Q606060
(Q2064317,P641,c(Q349))
action filter_type
action find
entity Q2064317
relation P641
type Q349
[ANSWER] was that national association football team a part of
['Q2064317', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q2064317 property:P641 ?r }
women's association football
Women's association football was that national association football team a part of
women's association football
action filter_type
action find
entity Peru women's national football team
relation sport
type sport
["Peru women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Peru_women's_national_football_team property:sport ?r }
[]