Simple Question (Direct)
Simple Question
Q4666203
P27
Q15617994
USER
Which administrative territory is the native country of Abdulrasaq Wuraola ?
(Q4666203,P27,c(Q15617994))
action filter_type
action find
entity Q4666203
relation P27
type Q15617994
['Q4666203', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4666203 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Abdulrasaq Wuraola
action filter_type
action find
entity Abdulrasaq Wuraola
relation country of citizenship
type designation for an administrative territorial entity
['Abdulrasaq Wuraola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Abdulrasaq_Wuraola property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q4666203,P27,c(Q15617994))
action filter_type
action find
entity Q4666203
relation P27
type Q15617994
[ANSWER] is the native country of Abdulrasaq Wuraola
['Q4666203', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4666203 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Nigeria
Nigeria is the native country of Abdulrasaq Wuraola
Nigeria
action filter_type
action find
entity Abdulrasaq Wuraola
relation country of citizenship
type designation for an administrative territorial entity
['Abdulrasaq Wuraola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Abdulrasaq_Wuraola property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1033
P740
Q2088357 Q43229
USER
How many musical ensembles and organizations were formed at Nigeria ?
(c(Q2088357),P740,Q1033) (c(Q43229),P740,Q1033)
action count
action union
action filter_type
action find_reverse
entity Q1033
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q1033
relation P740
type Q43229
[{'concept': 'Q2088357'}, 'P740', 'Q1033'] [{'concept': 'Q43229'}, 'P740', 'Q1033']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q2088357 ) } . ?k rdf:type ?v }
Nigeria
action count
action union
action filter_type
action find_reverse
entity Nigeria
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Nigeria
relation location of formation
type organization
[{'concept': 'musical ensemble'}, 'location of formation', 'Nigeria'] [{'concept': 'organization'}, 'location of formation', 'Nigeria']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:organization ) ( ontology:musical_ensemble ) } . ?k rdf:type ?v }
[]
musical ensemble organization
SYSTEM
1 musical ensembles and 1 organizations
Q4045343 Q15052833
(c(Q2088357),P740,Q1033) (c(Q43229),P740,Q1033)
action count
action union
action filter_type
action find_reverse
entity Q1033
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q1033
relation P740
type Q43229
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q1033'] [{'concept': 'Q43229'}, 'P740', 'Q1033']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q2088357 ) } . ?k rdf:type ?v }
Nigerian Postal Service Young Paperboyz
1 musical ensembles and 1 organizations
action count
action union
action filter_type
action find_reverse
entity Nigeria
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Nigeria
relation location of formation
type organization
[{'concept': 'musical ensemble'}, 'location of formation', 'Nigeria'] [{'concept': 'organization'}, 'location of formation', 'Nigeria']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?v ) { ( ontology:organization ) ( ontology:musical_ensemble ) } . ?k rdf:type ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1033
P138
Q355304
USER
Which watercourse is namesake of that administrative territory ?
action filter_type
action find
entity Q1033
relation P138
type Q355304
SELECT DISTINCT ?o WHERE { resource:Q1033 property:P138 ?o . ?o rdf:type ontology:Q355304 }
Nigeria
action filter_type
action find
entity Nigeria
relation named after
type watercourse
SELECT DISTINCT ?o WHERE { resource:Nigeria property:named_after ?o . ?o rdf:type ontology:watercourse }
[]
watercourse
Q3542
SYSTEM
Niger River
Q3542
action filter_type
action find
entity Q1033
relation P138
type Q355304
[ANSWER] is namesake of that administrative territory
SELECT DISTINCT ?o WHERE { resource:Q1033 property:P138 ?o . ?o rdf:type ontology:Q355304 }
Niger River
Niger River is namesake of that administrative territory
Niger River
action filter_type
action find
entity Nigeria
relation named after
type watercourse
SELECT DISTINCT ?o WHERE { resource:Nigeria property:named_after ?o . ?o rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3542 Q504562
P138
Q15617994
USER
Is Gefrees the eponym of that watercourse ?
(Q504562,P138,Q3542)
action is_in
entity Q504562
action find
entity Q3542
relation P138
['Q504562', 'P138', 'Q3542']
ASK WHERE { resource:Q3542 property:P138 resource:Q504562 }
Niger River Gefrees
action is_in
entity Gefrees
action find
entity Niger River
relation named after
['Gefrees', 'named after', 'Niger River']
ASK WHERE { resource:Niger_River property:named_after resource:Gefrees }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q504562,P138,Q3542)
action is_in
entity Q504562
action find
entity Q3542
relation P138
[ANSWER]
['Q504562', 'P138', 'Q3542']
ASK WHERE { resource:Q3542 property:P138 resource:Q504562 }
No
action is_in
entity Gefrees
action find
entity Niger River
relation named after
['Gefrees', 'named after', 'Niger River']
ASK WHERE { resource:Niger_River property:named_after resource:Gefrees }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1033 Q82751
P530
Q15617994
USER
Does Lastra a Signa have a diplomatic relationship with Nigeria ?
(Q1033,P530,Q82751)
action is_in
entity Q82751
action find
entity Q1033
relation P530
['Q1033', 'P530', 'Q82751']
ASK WHERE { resource:Q1033 property:P530 resource:Q82751 }
Nigeria Lastra a Signa
action is_in
entity Lastra a Signa
action find
entity Nigeria
relation diplomatic relation
['Nigeria', 'diplomatic relation', 'Lastra a Signa']
ASK WHERE { resource:Nigeria property:diplomatic_relation resource:Lastra_a_Signa }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1033,P530,Q82751)
action is_in
entity Q82751
action find
entity Q1033
relation P530
[ANSWER]
['Q1033', 'P530', 'Q82751']
ASK WHERE { resource:Q1033 property:P530 resource:Q82751 }
No
action is_in
entity Lastra a Signa
action find
entity Nigeria
relation diplomatic relation
['Nigeria', 'diplomatic relation', 'Lastra a Signa']
ASK WHERE { resource:Nigeria property:diplomatic_relation resource:Lastra_a_Signa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3542 Q5320488
P974
Q355304
USER
Does Dămuc River river ot lake is a tributary of Niger River ?
(Q3542,P974,Q5320488)
action is_in
entity Q5320488
action find
entity Q3542
relation P974
['Q3542', 'P974', 'Q5320488']
ASK WHERE { resource:Q3542 property:P974 resource:Q5320488 }
Niger River Dămuc River
action is_in
entity Dămuc River
action find
entity Niger River
relation tributary
['Niger River', 'tributary', 'Dămuc River']
ASK WHERE { resource:Niger_River property:tributary resource:Dămuc_River }
[]
watercourse
SYSTEM
NO
(Q3542,P974,Q5320488)
action is_in
entity Q5320488
action find
entity Q3542
relation P974
[ANSWER]
['Q3542', 'P974', 'Q5320488']
ASK WHERE { resource:Q3542 property:P974 resource:Q5320488 }
No
action is_in
entity Dămuc River
action find
entity Niger River
relation tributary
['Niger River', 'tributary', 'Dămuc River']
ASK WHERE { resource:Niger_River property:tributary resource:Dămuc_River }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3542
P30
Q2221906
USER
Where is Niger River situated ?
action filter_type
action find
entity Q3542
relation P30
type Q2221906
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q3542 property:P30 ?e }
Niger River
action filter_type
action find
entity Niger River
relation continent
type geographic location
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:Niger_River property:continent ?e }
[]
geographic location
Q15
SYSTEM
Africa
Q15
action filter_type
action find
entity Q3542
relation P30
type Q2221906
Niger River is situated in [ANSWER]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q3542 property:P30 ?e }
Africa
Niger River is situated in Africa
Africa
action filter_type
action find
entity Niger River
relation continent
type geographic location
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:Niger_River property:continent ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15 Q2374864
P30
Q15617994
USER
Is Star, Bryansk Oblast situated in that geographic location ?
(Q2374864,P30,Q15)
action is_in
entity Q2374864
action find
entity Q15
relation P30
['Q2374864', 'P30', 'Q15']
ASK WHERE { resource:Q15 property:P30 resource:Q2374864 }
Africa Star, Bryansk Oblast
action is_in
entity Star, Bryansk Oblast
action find
entity Africa
relation continent
['Star, Bryansk Oblast', 'continent', 'Africa']
ASK WHERE { resource:Africa property:continent resource:Star,_Bryansk_Oblast }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2374864,P30,Q15)
action is_in
entity Q2374864
action find
entity Q15
relation P30
[ANSWER]
['Q2374864', 'P30', 'Q15']
ASK WHERE { resource:Q15 property:P30 resource:Q2374864 }
No
action is_in
entity Star, Bryansk Oblast
action find
entity Africa
relation continent
['Star, Bryansk Oblast', 'continent', 'Africa']
ASK WHERE { resource:Africa property:continent resource:Star,_Bryansk_Oblast }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15
P172
Q502895
USER
Who has that geographic location as ethnic group ?
action filter_type
action find_reverse
entity Q15
relation P172
type Q502895
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P172 resource:Q15 }
Africa
action filter_type
action find_reverse
entity Africa
relation ethnic group
type common name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:ethnic_group resource:Africa }
[]
common name
Q25324913
SYSTEM
Zaena Morisho
Q25324913
action filter_type
action find_reverse
entity Q15
relation P172
type Q502895
[ANSWER] has that geographic location as ethnic group
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P172 resource:Q15 }
Zaena Morisho
Zaena Morisho has that geographic location as ethnic group
Zaena Morisho
action filter_type
action find_reverse
entity Africa
relation ethnic group
type common name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:ethnic_group resource:Africa }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q25324913 Q53820 Q42942
P27
Q15617994
USER
Is Zaena Morisho a native of Aiello Calabro and Lierna ?
(Q25324913,P27,Q53820) (Q25324913,P27,Q42942)
action is_in
entity Q25324913
action intersection
action find_reverse
entity Q53820
relation P27
action find_reverse
entity Q42942
relation P27
['Q25324913', 'P27', 'Q53820'] ['Q25324913', 'P27', 'Q42942']
ASK WHERE { resource:Q25324913 property:P27 resource:Q42942 . resource:Q25324913 property:P27 resource:Q53820 }
Zaena Morisho Aiello Calabro Lierna
action is_in
entity Zaena Morisho
action intersection
action find_reverse
entity Aiello Calabro
relation country of citizenship
action find_reverse
entity Lierna
relation country of citizenship
['Zaena Morisho', 'country of citizenship', 'Aiello Calabro'] ['Zaena Morisho', 'country of citizenship', 'Lierna']
ASK WHERE { resource:Zaena_Morisho property:country_of_citizenship resource:Lierna . resource:Zaena_Morisho property:country_of_citizenship resource:Aiello_Calabro }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q25324913,P27,Q53820) (Q25324913,P27,Q42942)
action is_in
entity Q25324913
action intersection
action find_reverse
entity Q53820
relation P27
action find_reverse
entity Q42942
relation P27
[ANSWER]
['Q25324913', 'P27', 'Q53820'] ['Q25324913', 'P27', 'Q42942']
ASK WHERE { resource:Q25324913 property:P27 resource:Q42942 . resource:Q25324913 property:P27 resource:Q53820 }
No
action is_in
entity Zaena Morisho
action intersection
action find_reverse
entity Aiello Calabro
relation country of citizenship
action find_reverse
entity Lierna
relation country of citizenship
['Zaena Morisho', 'country of citizenship', 'Aiello Calabro'] ['Zaena Morisho', 'country of citizenship', 'Lierna']
ASK WHERE { resource:Zaena_Morisho property:country_of_citizenship resource:Lierna . resource:Zaena_Morisho property:country_of_citizenship resource:Aiello_Calabro }
[]