Simple Question (Direct)
Simple Question
Q5509327
P172
Q2472587
USER
Which people does Funmilayo Olayinka have as his/her race ?
(Q5509327,P172,c(Q2472587))
action filter_type
action find
entity Q5509327
relation P172
type Q2472587
['Q5509327', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q5509327 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Funmilayo Olayinka
action filter_type
action find
entity Funmilayo Olayinka
relation ethnic group
type people
['Funmilayo Olayinka', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Funmilayo_Olayinka property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
people
Q190168
SYSTEM
Yoruba people
Q190168
(Q5509327,P172,c(Q2472587))
action filter_type
action find
entity Q5509327
relation P172
type Q2472587
Funmilayo Olayinka has as his / her race the [ANSWER]
['Q5509327', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q5509327 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Yoruba people
Funmilayo Olayinka has as his / her race the Yoruba people
Yoruba people
action filter_type
action find
entity Funmilayo Olayinka
relation ethnic group
type people
['Funmilayo Olayinka', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Funmilayo_Olayinka property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5509327
P106
Q12737077
USER
What does Funmilayo Olayinka do for a living ?
(Q5509327,P106,c(Q12737077))
action filter_type
action find
entity Q5509327
relation P106
type Q12737077
['Q5509327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5509327 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Funmilayo Olayinka
action filter_type
action find
entity Funmilayo Olayinka
relation occupation
type occupation
['Funmilayo Olayinka', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Funmilayo_Olayinka property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q806798
SYSTEM
banker
Q806798
(Q5509327,P106,c(Q12737077))
action filter_type
action find
entity Q5509327
relation P106
type Q12737077
Funmilayo Olayinka does a [ANSWER] for a living
['Q5509327', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5509327 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
banker
Funmilayo Olayinka does a banker for a living
banker
action filter_type
action find
entity Funmilayo Olayinka
relation occupation
type occupation
['Funmilayo Olayinka', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Funmilayo_Olayinka property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5509327
P1196
Q1931388
USER
What situation did Funmilayo Olayinka die in ?
(Q5509327,P1196,c(Q1931388))
action filter_type
action find
entity Q5509327
relation P1196
type Q1931388
['Q5509327', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q5509327 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
Funmilayo Olayinka
action filter_type
action find
entity Funmilayo Olayinka
relation manner of death
type cause of death
['Funmilayo Olayinka', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Funmilayo_Olayinka property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5509327,P1196,c(Q1931388))
action filter_type
action find
entity Q5509327
relation P1196
type Q1931388
Funmilayo Olayinka died of [ANSWER]
['Q5509327', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q5509327 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
natural causes
Funmilayo Olayinka died of natural causes
natural causes
action filter_type
action find
entity Funmilayo Olayinka
relation manner of death
type cause of death
['Funmilayo Olayinka', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Funmilayo_Olayinka property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1196
Q1806324 Q6619679
USER
How many working dogs and fictional humanoids died with that cause of death as their reason ?
(c(Q1806324),P1196,Q3739104) (c(Q6619679),P1196,Q3739104) (c(Q1806324),P1196,Q3739104) (c(Q6619679),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q1806324
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q6619679
[{'concept': 'Q1806324'}, 'P1196', 'Q3739104'] [{'concept': 'Q6619679'}, 'P1196', 'Q3739104'] [{'concept': 'Q1806324'}, 'P1196', 'Q3739104'] [{'concept': 'Q6619679'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q1806324 ) ( ontology:Q6619679 ) } . ?x rdf:type ?q }
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type working dog
action filter_type
action find_reverse
entity natural causes
relation manner of death
type fictional humanoid
[{'concept': 'working dog'}, 'manner of death', 'natural causes'] [{'concept': 'fictional humanoid'}, 'manner of death', 'natural causes'] [{'concept': 'working dog'}, 'manner of death', 'natural causes'] [{'concept': 'fictional humanoid'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:working_dog ) ( ontology:fictional_humanoid ) } . ?x rdf:type ?q }
[]
working dog fictional humanoid
SYSTEM
1 working dogs and 1 fictional humanoids
Q667056 Q3459418
(c(Q1806324),P1196,Q3739104) (c(Q6619679),P1196,Q3739104) (c(Q1806324),P1196,Q3739104) (c(Q6619679),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q1806324
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q6619679
[ANSWER]
[{'concept': 'Q1806324'}, 'P1196', 'Q3739104'] [{'concept': 'Q6619679'}, 'P1196', 'Q3739104'] [{'concept': 'Q1806324'}, 'P1196', 'Q3739104'] [{'concept': 'Q6619679'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q1806324 ) ( ontology:Q6619679 ) } . ?x rdf:type ?q }
Barry Araki Yasusada
1 working dogs and 1 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type working dog
action filter_type
action find_reverse
entity natural causes
relation manner of death
type fictional humanoid
[{'concept': 'working dog'}, 'manner of death', 'natural causes'] [{'concept': 'fictional humanoid'}, 'manner of death', 'natural causes'] [{'concept': 'working dog'}, 'manner of death', 'natural causes'] [{'concept': 'fictional humanoid'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:working_dog ) ( ontology:fictional_humanoid ) } . ?x rdf:type ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5509327
P20
Q56061
USER
Which administrative territory is the place of death of Funmilayo Olayinka ?
(Q5509327,P20,c(Q56061))
action filter_type
action find
entity Q5509327
relation P20
type Q56061
['Q5509327', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q5509327 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Funmilayo Olayinka
action filter_type
action find
entity Funmilayo Olayinka
relation place of death
type administrative territorial entity
['Funmilayo Olayinka', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Funmilayo_Olayinka property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8673
SYSTEM
Lagos
Q8673
(Q5509327,P20,c(Q56061))
action filter_type
action find
entity Q5509327
relation P20
type Q56061
[ANSWER] is the place of death of Funmilayo Olayinka
['Q5509327', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q5509327 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Lagos
Lagos is the place of death of Funmilayo Olayinka
Lagos
action filter_type
action find
entity Funmilayo Olayinka
relation place of death
type administrative territorial entity
['Funmilayo Olayinka', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Funmilayo_Olayinka property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5509327
P102
Q7210356
USER
Which party does that person belong to ?
(Q8673,P102,c(Q7210356))
action filter_type
action find
entity Q5509327
relation P102
type Q7210356
['Q8673', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q5509327 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Funmilayo Olayinka
action filter_type
action find
entity Funmilayo Olayinka
relation member of political party
type political organization
['Lagos', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Funmilayo_Olayinka property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q343617
SYSTEM
Action Congress of Nigeria
Q343617
(Q8673,P102,c(Q7210356))
action filter_type
action find
entity Q5509327
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q8673', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q5509327 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Action Congress of Nigeria
That person belongs to Action Congress of Nigeria
Action Congress of Nigeria
action filter_type
action find
entity Funmilayo Olayinka
relation member of political party
type political organization
['Lagos', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Funmilayo_Olayinka property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q343617 Q6936675
P102
Q502895
USER
Is Munirudeen Adekunle Muse affiliated to that political organization ?
(Q6936675,P102,Q343617)
action is_in
entity Q343617
action find
entity Q6936675
relation P102
['Q6936675', 'P102', 'Q343617']
ASK WHERE { resource:Q6936675 property:P102 resource:Q343617 }
Action Congress of Nigeria Munirudeen Adekunle Muse
action is_in
entity Action Congress of Nigeria
action find
entity Munirudeen Adekunle Muse
relation member of political party
['Munirudeen Adekunle Muse', 'member of political party', 'Action Congress of Nigeria']
ASK WHERE { resource:Munirudeen_Adekunle_Muse property:member_of_political_party resource:Action_Congress_of_Nigeria }
[]
common name
SYSTEM
YES
(Q6936675,P102,Q343617)
action is_in
entity Q343617
action find
entity Q6936675
relation P102
[ANSWER]
['Q6936675', 'P102', 'Q343617']
ASK WHERE { resource:Q6936675 property:P102 resource:Q343617 }
Yes
action is_in
entity Action Congress of Nigeria
action find
entity Munirudeen Adekunle Muse
relation member of political party
['Munirudeen Adekunle Muse', 'member of political party', 'Action Congress of Nigeria']
ASK WHERE { resource:Munirudeen_Adekunle_Muse property:member_of_political_party resource:Action_Congress_of_Nigeria }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q382096 Q6936675
P102
Q7210356
USER
Which political organizations are Munirudeen Adekunle Muse or Georgios Voulgarakis affiliated with ?
OR((Q6936675,P102,c(Q7210356)), (Q382096,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q6936675
relation P102
action find
entity Q382096
relation P102
type Q7210356
{'OR': [['Q6936675', 'P102', {'concept': 'Q7210356'}], ['Q382096', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q382096 property:P102 ?h } UNION { resource:Q6936675 property:P102 ?h } } . ?h rdf:type ontology:Q7210356 }
Georgios Voulgarakis Munirudeen Adekunle Muse
action filter_type
action union
action find
entity Munirudeen Adekunle Muse
relation member of political party
action find
entity Georgios Voulgarakis
relation member of political party
type political organization
{'OR': [['Munirudeen Adekunle Muse', 'member of political party', {'concept': 'political organization'}], ['Georgios Voulgarakis', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Georgios_Voulgarakis property:member_of_political_party ?h } UNION { resource:Munirudeen_Adekunle_Muse property:member_of_political_party ?h } } . ?h rdf:type ontology:political_organization }
[]
political organization
Q343617 Q223153 Q2649119
SYSTEM
Action Congress of Nigeria, New Democracy, Alliance for Democracy
Q343617 Q223153 Q2649119
OR((Q6936675,P102,c(Q7210356)), (Q382096,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q6936675
relation P102
action find
entity Q382096
relation P102
type Q7210356
Munirudeen Adekunle Muse or Georgios Voulgarakis are affiliated to [ANSWERS]
{'OR': [['Q6936675', 'P102', {'concept': 'Q7210356'}], ['Q382096', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q382096 property:P102 ?h } UNION { resource:Q6936675 property:P102 ?h } } . ?h rdf:type ontology:Q7210356 }
Action Congress of Nigeria New Democracy Alliance for Democracy
Munirudeen Adekunle Muse or Georgios Voulgarakis are affiliated to Action Congress of Nigeria, New Democracy and Alliance for Democracy
Action Congress of Nigeria New Democracy Alliance for Democracy
action filter_type
action union
action find
entity Munirudeen Adekunle Muse
relation member of political party
action find
entity Georgios Voulgarakis
relation member of political party
type political organization
{'OR': [['Munirudeen Adekunle Muse', 'member of political party', {'concept': 'political organization'}], ['Georgios Voulgarakis', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Georgios_Voulgarakis property:member_of_political_party ?h } UNION { resource:Munirudeen_Adekunle_Muse property:member_of_political_party ?h } } . ?h rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q343617 Q21188110
P17
Q15617994
USER
How many administrative territories are Action Congress of Nigeria or American television sitcom present in ?
(Q343617,P17,c(Q15617994)) (Q21188110,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q343617
relation P17
type Q15617994
action filter_type
action find
entity Q21188110
relation P17
type Q15617994
['Q343617', 'P17', {'concept': 'Q15617994'}] ['Q21188110', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?n ) { ( resource:Q343617 ) ( resource:Q21188110 ) } . ?n property:P17 ?m }
Action Congress of Nigeria American television sitcom
action count
action union
action filter_type
action find
entity Action Congress of Nigeria
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity American television sitcom
relation country
type designation for an administrative territorial entity
['Action Congress of Nigeria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['American television sitcom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?n ) { ( resource:Action_Congress_of_Nigeria ) ( resource:American_television_sitcom ) } . ?n property:country ?m }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q1033
(Q343617,P17,c(Q15617994)) (Q21188110,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q343617
relation P17
type Q15617994
action filter_type
action find
entity Q21188110
relation P17
type Q15617994
[ANSWER]
['Q343617', 'P17', {'concept': 'Q15617994'}] ['Q21188110', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?n ) { ( resource:Q343617 ) ( resource:Q21188110 ) } . ?n property:P17 ?m }
United States of America Nigeria
2
action count
action union
action filter_type
action find
entity Action Congress of Nigeria
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity American television sitcom
relation country
type designation for an administrative territorial entity
['Action Congress of Nigeria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['American television sitcom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?n ) { ( resource:Action_Congress_of_Nigeria ) ( resource:American_television_sitcom ) } . ?n property:country ?m }
[]