Simple Question (Direct)
Simple Question
Q10496893
P21
Q290
USER
Which sex does Lamine Tamba belong to ?
(Q10496893,P21,c(Q290))
action filter_type
action find
entity Q10496893
relation P21
type Q290
['Q10496893', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q10496893 property:P21 ?j }
Lamine Tamba
action filter_type
action find
entity Lamine Tamba
relation gender
type sex
['Lamine Tamba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Lamine_Tamba property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10496893,P21,c(Q290))
action filter_type
action find
entity Q10496893
relation P21
type Q290
Lamine Tamba belongs to [ANSWER]
['Q10496893', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q10496893 property:P21 ?j }
male
Lamine Tamba belongs to male
male
action filter_type
action find
entity Lamine Tamba
relation gender
type sex
['Lamine Tamba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Lamine_Tamba property:gender ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10496893
P641
Q349
USER
What did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q10496893
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q10496893 property:P641 ?c . ?c rdf:type ontology:Q349 }
Lamine Tamba
action filter_type
action find
entity Lamine Tamba
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Lamine_Tamba property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q10496893
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q10496893 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Lamine Tamba
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Lamine_Tamba property:sport ?c . ?c rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q375289 Q10496893
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Lamine Tamba or Daisey Bailey ?
OR((Q10496893,P27,c(Q15617994)), (Q375289,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10496893
relation P27
action find
entity Q375289
relation P27
type Q15617994
{'OR': [['Q10496893', 'P27', {'concept': 'Q15617994'}], ['Q375289', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:P27 ?r . VALUES ( ?z ) { ( resource:Q375289 ) ( resource:Q10496893 ) } } . ?r rdf:type ontology:Q15617994 }
Daisey Bailey Lamine Tamba
action filter_type
action union
action find
entity Lamine Tamba
relation country of citizenship
action find
entity Daisey Bailey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lamine Tamba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Daisey Bailey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:country_of_citizenship ?r . VALUES ( ?z ) { ( resource:Daisey_Bailey ) ( resource:Lamine_Tamba ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1041
SYSTEM
United States of America, Senegal
Q30 Q1041
OR((Q10496893,P27,c(Q15617994)), (Q375289,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10496893
relation P27
action find
entity Q375289
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Lamine Tamba or Daisey Bailey
{'OR': [['Q10496893', 'P27', {'concept': 'Q15617994'}], ['Q375289', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:P27 ?r . VALUES ( ?z ) { ( resource:Q375289 ) ( resource:Q10496893 ) } } . ?r rdf:type ontology:Q15617994 }
United States of America Senegal
United States of America and Senegal are the countries of citizenship of Lamine Tamba or Daisey Bailey
United States of America Senegal
action filter_type
action union
action find
entity Lamine Tamba
relation country of citizenship
action find
entity Daisey Bailey
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lamine Tamba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Daisey Bailey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:country_of_citizenship ?r . VALUES ( ?z ) { ( resource:Daisey_Bailey ) ( resource:Lamine_Tamba ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share the border with that administrative territory ?
(Q1041,P47,c(Q15617994))
['Q1041', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1041 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
['Senegal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Senegal property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(Q30,P47,c(Q15617994)) (Q1041,P47,c(Q15617994))
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q1041', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1041 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean United States of America ?
United States of America
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Senegal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Senegal property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Senegal. Could you tell me the answer for that?
(Q1041,P47,c(Q15617994))
Q1041
['Q1041', 'P47', {'concept': 'Q15617994'}]
['Senegal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
5
Q1025 Q1007 Q1006 Q1005 Q912
(Q1041,P47,c(Q15617994))
[ANSWER]
['Q1041', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1041 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Mauritania Guinea-Bissau Guinea Gambia Mali
5
['Senegal', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Senegal property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1041
P138
Q34442
USER
Which road is the eponym of Senegal ?
(c(Q34442),P138,Q1041)
action filter_type
action find_reverse
entity Q1041
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q1041']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q1041 . ?r rdf:type ontology:Q34442 }
Senegal
action filter_type
action find_reverse
entity Senegal
relation named after
type road
[{'concept': 'road'}, 'named after', 'Senegal']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Senegal . ?r rdf:type ontology:road }
[]
road
Q3452603
SYSTEM
rue du Sénégal
Q3452603
(c(Q34442),P138,Q1041)
action filter_type
action find_reverse
entity Q1041
relation P138
type Q34442
[ANSWER] is the eponym of Senegal
[{'concept': 'Q34442'}, 'P138', 'Q1041']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q1041 . ?r rdf:type ontology:Q34442 }
rue du Sénégal
Rue du Sénégal is the eponym of Senegal
rue du Sénégal
action filter_type
action find_reverse
entity Senegal
relation named after
type road
[{'concept': 'road'}, 'named after', 'Senegal']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Senegal . ?r rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1041
P530
Q15617994
USER
Who holds diplomatic relationship with Senegal ?
(Q1041,P530,c(Q15617994))
action filter_type
action find
entity Q1041
relation P530
type Q15617994
['Q1041', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q1041 property:P530 ?m }
Senegal
action filter_type
action find
entity Senegal
relation diplomatic relation
type designation for an administrative territorial entity
['Senegal', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Senegal property:diplomatic_relation ?m }
[]
designation for an administrative territorial entity
Q1011
SYSTEM
Cape Verde
Q1011
(Q1041,P530,c(Q15617994))
action filter_type
action find
entity Q1041
relation P530
type Q15617994
Guinea [ANSWER] holds diplomatic relationship with Senegal
['Q1041', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q1041 property:P530 ?m }
Cape Verde
Guinea Cape Verde holds diplomatic relationship with Senegal
Cape Verde
action filter_type
action find
entity Senegal
relation diplomatic relation
type designation for an administrative territorial entity
['Senegal', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Senegal property:diplomatic_relation ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1011
P610
Q14524493
USER
Which is the highest peak of that administrative territory ?
(Q1011,P610,c(Q14524493))
action filter_type
action find
entity Q1011
relation P610
type Q14524493
['Q1011', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { resource:Q1011 property:P610 ?f . ?f rdf:type ontology:Q14524493 }
Cape Verde
action filter_type
action find
entity Cape Verde
relation highest point
type terrain
['Cape Verde', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { resource:Cape_Verde property:highest_point ?f . ?f rdf:type ontology:terrain }
[]
terrain
Q499108
SYSTEM
Pico do Fogo
Q499108
(Q1011,P610,c(Q14524493))
action filter_type
action find
entity Q1011
relation P610
type Q14524493
The highest peak of that administrative territory is the [ANSWER]
['Q1011', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { resource:Q1011 property:P610 ?f . ?f rdf:type ontology:Q14524493 }
Pico do Fogo
The highest peak of that administrative territory is the Pico do Fogo
Pico do Fogo
action filter_type
action find
entity Cape Verde
relation highest point
type terrain
['Cape Verde', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { resource:Cape_Verde property:highest_point ?f . ?f rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P19
Q502895
USER
Who were born at Cape Verde ?
(c(Q502895),P19,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1011']
SELECT DISTINCT ?g WHERE { ?g property:P19 resource:Q1011 . ?g rdf:type ontology:Q502895 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Cape Verde']
SELECT DISTINCT ?g WHERE { ?g property:place_of_birth resource:Cape_Verde . ?g rdf:type ontology:common_name }
[]
common name
Q2060958 Q3618344 Q5340302
SYSTEM
John DeBrito, Anselmo Ribeiro, Edson Cruz
Q7159779 Q16202954 Q10267712 Q16728820 Q4750358 Q4661421 Q2060958 Q1334608 Q23007887 Q19577567 Q21531045 Q17489564 Q3618344 Q23771915 Q3183837 Q23771910 Q894495 Q15731061 Q3855242 Q5340302 Q17024697 Q21622379 Q17708723
(c(Q502895),P19,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P19
type Q502895
[ANSWERS] were born at Cape Verde
[{'concept': 'Q502895'}, 'P19', 'Q1011']
SELECT DISTINCT ?g WHERE { ?g property:P19 resource:Q1011 . ?g rdf:type ontology:Q502895 }
Pedro Miguel Carvalho Deus Correia Evandro Carvalho Djony Mendes Ely Fernandes Ana Firmino Aalviar Lima John DeBrito Emanuel Bettencourt Ká Semedo Daniel Augusto Macedo de Melo e Pinto Flavio dos Santos Dias Adilson Vaz Anselmo Ribeiro Ronivaldo Cruz Jorge Humberto Platiny Alves Boss AC Daniel Sousa Mery Andrade Edson Cruz Maria Helena Semedo Erin Pinheiro Kisley
John DeBrito, Anselmo Ribeiro and Edson Cruz were born at Cape Verde
John DeBrito Anselmo Ribeiro Edson Cruz
action filter_type
action find_reverse
entity Cape Verde
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Cape Verde']
SELECT DISTINCT ?g WHERE { ?g property:place_of_birth resource:Cape_Verde . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2060958 Q3618344 Q5340302
P106
Q12737077
USER
What are the job of those people ?
(Q2060958,P106,c(Q12737077)) (Q3618344,P106,c(Q12737077)) (Q5340302,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q2060958', 'P106', {'concept': 'Q12737077'}] ['Q3618344', 'P106', {'concept': 'Q12737077'}] ['Q5340302', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . ?h property:P106 ?r . VALUES ( ?h ) { ( resource:Q7159779 ) ( resource:Q16202954 ) ( resource:Q10267712 ) } }
John DeBrito Anselmo Ribeiro Edson Cruz
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['John DeBrito', 'occupation', {'concept': 'occupation'}] ['Anselmo Ribeiro', 'occupation', {'concept': 'occupation'}] ['Edson Cruz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . ?h property:occupation ?r . VALUES ( ?h ) { ( resource:Pedro_Miguel_Carvalho_Deus_Correia ) ( resource:Evandro_Carvalho ) ( resource:Djony_Mendes ) } }
[]
occupation
Q937857 Q937857 Q937857
SYSTEM
association football player
Q937857 Q937857 Q937857
(Q2060958,P106,c(Q12737077)) (Q3618344,P106,c(Q12737077)) (Q5340302,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The job of those people are an [ANSWER], [ANSWER] and [ANSWER]
['Q2060958', 'P106', {'concept': 'Q12737077'}] ['Q3618344', 'P106', {'concept': 'Q12737077'}] ['Q5340302', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . ?h property:P106 ?r . VALUES ( ?h ) { ( resource:Q7159779 ) ( resource:Q16202954 ) ( resource:Q10267712 ) } }
association football player association football player association football player
The job of those people are an association football player, association football player and association football player
association football player association football player association football player
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['John DeBrito', 'occupation', {'concept': 'occupation'}] ['Anselmo Ribeiro', 'occupation', {'concept': 'occupation'}] ['Edson Cruz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . ?h property:occupation ?r . VALUES ( ?h ) { ( resource:Pedro_Miguel_Carvalho_Deus_Correia ) ( resource:Evandro_Carvalho ) ( resource:Djony_Mendes ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P183
Q16521
USER
Which taxon belongs to Cape Verde ?
(c(Q16521),P183,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q1011']
SELECT DISTINCT ?i WHERE { ?i property:P183 resource:Q1011 . ?i rdf:type ontology:Q16521 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Cape Verde']
SELECT DISTINCT ?i WHERE { ?i property:endemic_to resource:Cape_Verde . ?i rdf:type ontology:taxon }
[]
taxon
Q1090157
SYSTEM
Iago sparrow
Q1090157
(c(Q16521),P183,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P183
type Q16521
[ANSWER] belongs to Cape Verde
[{'concept': 'Q16521'}, 'P183', 'Q1011']
SELECT DISTINCT ?i WHERE { ?i property:P183 resource:Q1011 . ?i rdf:type ontology:Q16521 }
Iago sparrow
Iago sparrow belongs to Cape Verde
Iago sparrow
action filter_type
action find_reverse
entity Cape Verde
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Cape Verde']
SELECT DISTINCT ?i WHERE { ?i property:endemic_to resource:Cape_Verde . ?i rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1011
P180
Q2342494
USER
Which collectable depicts that administrative territory ?
(c(Q2342494),P180,Q1090157)
action filter_type
action find_reverse
entity Q1011
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q1090157']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q1011 . ?x rdf:type ontology:Q2342494 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Iago sparrow']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:Cape_Verde . ?x rdf:type ontology:collectable }
[]
collectable
Q1768515
SYSTEM
The Voyage of the Beagle
Q1768515
(c(Q2342494),P180,Q1090157)
action filter_type
action find_reverse
entity Q1011
relation P180
type Q2342494
[ANSWER] depicts that administrative territory
[{'concept': 'Q2342494'}, 'P180', 'Q1090157']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q1011 . ?x rdf:type ontology:Q2342494 }
The Voyage of the Beagle
The Voyage of the Beagle depicts that administrative territory
The Voyage of the Beagle
action filter_type
action find_reverse
entity Cape Verde
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Iago sparrow']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:Cape_Verde . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of Cape Verde ?
(c(Q12737077),P1001,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1011']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q1011 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cape Verde']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Cape_Verde }
[]
occupation
Q21295976 Q19058382
SYSTEM
Member of the National Assembly of Cape Verde, President of Cape Verde
Q21295976 Q19058382
(c(Q12737077),P1001,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1001
type Q12737077
The [ANSWERS] have control over the jurisdiction of Cape Verde
[{'concept': 'Q12737077'}, 'P1001', 'Q1011']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q1011 }
Member of the National Assembly of Cape Verde President of Cape Verde
The Member of the National Assembly of Cape Verde and President of Cape Verde have control over the jurisdiction of Cape Verde
Member of the National Assembly of Cape Verde President of Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cape Verde']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Cape_Verde }
[]