Simple Question (Direct)
Simple Question
Q976843
P21
Q290
USER
Which sex does Enefiok Udo-Obong have ?
(Q976843,P21,c(Q290))
action filter_type
action find
entity Q976843
relation P21
type Q290
['Q976843', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q976843 property:P21 ?r . ?r rdf:type ontology:Q290 }
Enefiok Udo-Obong
action filter_type
action find
entity Enefiok Udo-Obong
relation gender
type sex
['Enefiok Udo-Obong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Enefiok_Udo-Obong property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q976843,P21,c(Q290))
action filter_type
action find
entity Q976843
relation P21
type Q290
Enefiok Udo-Obong has 1 [ANSWER]
['Q976843', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q976843 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Enefiok Udo-Obong has 1 male
male
action filter_type
action find
entity Enefiok Udo-Obong
relation gender
type sex
['Enefiok Udo-Obong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Enefiok_Udo-Obong property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q976843
P19
Q15617994
USER
Which administrative territory is the birthplace of Enefiok Udo-Obong ?
(Q976843,P19,c(Q15617994))
action filter_type
action find
entity Q976843
relation P19
type Q15617994
['Q976843', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q976843 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Enefiok Udo-Obong
action filter_type
action find
entity Enefiok Udo-Obong
relation place of birth
type designation for an administrative territorial entity
['Enefiok Udo-Obong', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Enefiok_Udo-Obong property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q976843,P19,c(Q15617994))
action filter_type
action find
entity Q976843
relation P19
type Q15617994
[ANSWER] is the birthplace of Enefiok Udo-Obong
['Q976843', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q976843 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Nigeria
Nigeria is the birthplace of Enefiok Udo-Obong
Nigeria
action filter_type
action find
entity Enefiok Udo-Obong
relation place of birth
type designation for an administrative territorial entity
['Enefiok Udo-Obong', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Enefiok_Udo-Obong property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1033 Q43
P530
Q1048835
USER
How many political territories have tactful political relations with Nigeria and Turkey ?
(c(Q1048835),P530,Q1033) (c(Q1048835),P530,Q43)
action count
action intersection
action filter_type
action find_reverse
entity Q1033
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q43
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q1033'] [{'concept': 'Q1048835'}, 'P530', 'Q43']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P530 resource:Q1033 . ?h rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q43 }
Nigeria Turkey
action count
action intersection
action filter_type
action find_reverse
entity Nigeria
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Turkey
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Nigeria'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Turkey']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:diplomatic_relation resource:Nigeria . ?h rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:Turkey }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q1033) (c(Q1048835),P530,Q43)
action count
action intersection
action filter_type
action find_reverse
entity Q1033
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q43
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q1033'] [{'concept': 'Q1048835'}, 'P530', 'Q43']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P530 resource:Q1033 . ?h rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q43 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Nigeria
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Turkey
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Nigeria'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Turkey']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:diplomatic_relation resource:Nigeria . ?h rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:Turkey }
[]