Simple Question (Direct)
Simple Question
Q10392098
P19
Q1048835
USER
Which political territory is the place of birth of Vitor Hugo Gonçalves ?
(Q10392098,P19,c(Q1048835))
action filter_type
action find
entity Q10392098
relation P19
type Q1048835
['Q10392098', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q10392098 property:P19 ?w . ?w rdf:type ontology:Q1048835 }
Vitor Hugo Gonçalves
action filter_type
action find
entity Vitor Hugo Gonçalves
relation place of birth
type political territorial entity
['Vitor Hugo Gonçalves', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vitor_Hugo_Gonçalves property:place_of_birth ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1008266
SYSTEM
Rolândia
Q1008266
(Q10392098,P19,c(Q1048835))
action filter_type
action find
entity Q10392098
relation P19
type Q1048835
[ANSWER] is the place of birth of Vitor Hugo Gonçalves
['Q10392098', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q10392098 property:P19 ?w . ?w rdf:type ontology:Q1048835 }
Rolândia
Rolândia is the place of birth of Vitor Hugo Gonçalves
Rolândia
action filter_type
action find
entity Vitor Hugo Gonçalves
relation place of birth
type political territorial entity
['Vitor Hugo Gonçalves', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Vitor_Hugo_Gonçalves property:place_of_birth ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10392098
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1008266,P27,c(Q15617994))
action filter_type
action find
entity Q10392098
relation P27
type Q15617994
['Q1008266', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q10392098 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Vitor Hugo Gonçalves
action filter_type
action find
entity Vitor Hugo Gonçalves
relation country of citizenship
type designation for an administrative territorial entity
['Rolândia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vitor_Hugo_Gonçalves property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q1008266,P27,c(Q15617994))
action filter_type
action find
entity Q10392098
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q1008266', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q10392098 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Brazil
The Brazil is that person a civilian of
Brazil
action filter_type
action find
entity Vitor Hugo Gonçalves
relation country of citizenship
type designation for an administrative territorial entity
['Rolândia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vitor_Hugo_Gonçalves property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22007379 Q10392098
P106
Q12737077
USER
Which occupations do Vitor Hugo Gonçalves or Jose Perez do for a living ?
OR((Q10392098,P106,c(Q12737077)), (Q22007379,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10392098
relation P106
action find
entity Q22007379
relation P106
type Q12737077
{'OR': [['Q10392098', 'P106', {'concept': 'Q12737077'}], ['Q22007379', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { ?x property:P106 ?c . VALUES ( ?x ) { ( resource:Q22007379 ) ( resource:Q10392098 ) } } . ?c rdf:type ontology:Q12737077 }
Jose Perez Vitor Hugo Gonçalves
action filter_type
action union
action find
entity Vitor Hugo Gonçalves
relation occupation
action find
entity Jose Perez
relation occupation
type occupation
{'OR': [['Vitor Hugo Gonçalves', 'occupation', {'concept': 'occupation'}], ['Jose Perez', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { ?x property:occupation ?c . VALUES ( ?x ) { ( resource:Jose_Perez ) ( resource:Vitor_Hugo_Gonçalves ) } } . ?c rdf:type ontology:occupation }
[]
occupation
Q15117302 Q937857
SYSTEM
volleyball player, association football player
Q15117302 Q937857
OR((Q10392098,P106,c(Q12737077)), (Q22007379,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10392098
relation P106
action find
entity Q22007379
relation P106
type Q12737077
The [ANSWERS] Vitor Hugo Gonçalves or Jose Perez do for a living
{'OR': [['Q10392098', 'P106', {'concept': 'Q12737077'}], ['Q22007379', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { ?x property:P106 ?c . VALUES ( ?x ) { ( resource:Q22007379 ) ( resource:Q10392098 ) } } . ?c rdf:type ontology:Q12737077 }
volleyball player association football player
The volleyball player and association football player Vitor Hugo Gonçalves or Jose Perez do for a living
volleyball player association football player
action filter_type
action union
action find
entity Vitor Hugo Gonçalves
relation occupation
action find
entity Jose Perez
relation occupation
type occupation
{'OR': [['Vitor Hugo Gonçalves', 'occupation', {'concept': 'occupation'}], ['Jose Perez', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { ?x property:occupation ?c . VALUES ( ?x ) { ( resource:Jose_Perez ) ( resource:Vitor_Hugo_Gonçalves ) } } . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19606655
P106
Q502895
USER
Do Laurent Bataille have a job as those occupations ?
(Q19606655,P106,Q15117302) (Q19606655,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q19606655
relation P106
['Q19606655', 'P106', 'Q15117302'] ['Q19606655', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?y ) { ( resource:Q15117302 ) ( resource:Q937857 ) } . resource:Q19606655 property:P106 ?y }
Laurent Bataille
action is_in
entity prev_answer
action find
entity Laurent Bataille
relation occupation
['Laurent Bataille', 'occupation', 'volleyball player'] ['Laurent Bataille', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?y ) { ( resource:volleyball_player ) ( resource:association_football_player ) } . resource:Laurent_Bataille property:occupation ?y }
[]
common name
SYSTEM
NO
(Q19606655,P106,Q15117302) (Q19606655,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q19606655
relation P106
[ANSWER]
['Q19606655', 'P106', 'Q15117302'] ['Q19606655', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?y ) { ( resource:Q15117302 ) ( resource:Q937857 ) } . resource:Q19606655 property:P106 ?y }
No
action is_in
entity prev_answer
action find
entity Laurent Bataille
relation occupation
['Laurent Bataille', 'occupation', 'volleyball player'] ['Laurent Bataille', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?y ) { ( resource:volleyball_player ) ( resource:association_football_player ) } . resource:Laurent_Bataille property:occupation ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1008266 Q155
P17
Q15617994
USER
Is Rolândia present in Brazil ?
(Q1008266,P17,Q155)
action is_in
entity Q155
action find
entity Q1008266
relation P17
['Q1008266', 'P17', 'Q155']
ASK WHERE { resource:Q1008266 property:P17 resource:Q155 }
Rolândia Brazil
action is_in
entity Brazil
action find
entity Rolândia
relation country
['Rolândia', 'country', 'Brazil']
ASK WHERE { resource:Rolândia property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1008266,P17,Q155)
action is_in
entity Q155
action find
entity Q1008266
relation P17
[ANSWER]
['Q1008266', 'P17', 'Q155']
ASK WHERE { resource:Q1008266 property:P17 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Rolândia
relation country
['Rolândia', 'country', 'Brazil']
ASK WHERE { resource:Rolândia property:country resource:Brazil }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17036193 Q22007379
P27
Q15617994
USER
Which administrative territories do Jose Perez or Pep Quintana i Riera belong to ?
OR((Q22007379,P27,c(Q15617994)), (Q17036193,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22007379
relation P27
action find
entity Q17036193
relation P27
type Q15617994
{'OR': [['Q22007379', 'P27', {'concept': 'Q15617994'}], ['Q17036193', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { VALUES ( ?q ) { ( resource:Q22007379 ) ( resource:Q17036193 ) } . ?q property:P27 ?m } }
Pep Quintana i Riera Jose Perez
action filter_type
action union
action find
entity Jose Perez
relation country of citizenship
action find
entity Pep Quintana i Riera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jose Perez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pep Quintana i Riera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?q ) { ( resource:Jose_Perez ) ( resource:Pep_Quintana_i_Riera ) } . ?q property:country_of_citizenship ?m } }
[]
designation for an administrative territorial entity
Q29 Q717
SYSTEM
Spain, Venezuela
Q29 Q717
OR((Q22007379,P27,c(Q15617994)), (Q17036193,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22007379
relation P27
action find
entity Q17036193
relation P27
type Q15617994
Jose Perez or Pep Quintana i Riera belong to the [ANSWERS]
{'OR': [['Q22007379', 'P27', {'concept': 'Q15617994'}], ['Q17036193', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { VALUES ( ?q ) { ( resource:Q22007379 ) ( resource:Q17036193 ) } . ?q property:P27 ?m } }
Spain Venezuela
Jose Perez or Pep Quintana i Riera belong to the Spain and Venezuela
Spain Venezuela
action filter_type
action union
action find
entity Jose Perez
relation country of citizenship
action find
entity Pep Quintana i Riera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jose Perez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pep Quintana i Riera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?q ) { ( resource:Jose_Perez ) ( resource:Pep_Quintana_i_Riera ) } . ?q property:country_of_citizenship ?m } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3707220
P27
Q502895
USER
Are Diego Osorio Villegas a native of those administrative territories ?
(Q3707220,P27,Q29) (Q3707220,P27,Q717)
action is_in
entity prev_answer
action find
entity Q3707220
relation P27
['Q3707220', 'P27', 'Q29'] ['Q3707220', 'P27', 'Q717']
ASK WHERE { resource:Q3707220 property:P27 ?t . VALUES ( ?t ) { ( resource:Q29 ) ( resource:Q717 ) } }
Diego Osorio Villegas
action is_in
entity prev_answer
action find
entity Diego Osorio Villegas
relation country of citizenship
['Diego Osorio Villegas', 'country of citizenship', 'Spain'] ['Diego Osorio Villegas', 'country of citizenship', 'Venezuela']
ASK WHERE { resource:Diego_Osorio_Villegas property:country_of_citizenship ?t . VALUES ( ?t ) { ( resource:Spain ) ( resource:Venezuela ) } }
[]
common name
SYSTEM
YES
(Q3707220,P27,Q29) (Q3707220,P27,Q717)
action is_in
entity prev_answer
action find
entity Q3707220
relation P27
[ANSWER]
['Q3707220', 'P27', 'Q29'] ['Q3707220', 'P27', 'Q717']
ASK WHERE { resource:Q3707220 property:P27 ?t . VALUES ( ?t ) { ( resource:Q29 ) ( resource:Q717 ) } }
Yes
action is_in
entity prev_answer
action find
entity Diego Osorio Villegas
relation country of citizenship
['Diego Osorio Villegas', 'country of citizenship', 'Spain'] ['Diego Osorio Villegas', 'country of citizenship', 'Venezuela']
ASK WHERE { resource:Diego_Osorio_Villegas property:country_of_citizenship ?t . VALUES ( ?t ) { ( resource:Spain ) ( resource:Venezuela ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q2736
P425
Q349
USER
Does association football have association football player as the associated field of occupation ?
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
association football player association football
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]