Simple Question (Direct)
Simple Question
Q326236
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Sammy Ameobi ?
(Q326236,P27,c(Q15617994))
action filter_type
action find
entity Q326236
relation P27
type Q15617994
['Q326236', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q326236 property:P27 ?c }
Sammy Ameobi
action filter_type
action find
entity Sammy Ameobi
relation country of citizenship
type designation for an administrative territorial entity
['Sammy Ameobi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sammy_Ameobi property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q1033 Q145
SYSTEM
Nigeria, United Kingdom
Q1033 Q145
(Q326236,P27,c(Q15617994))
action filter_type
action find
entity Q326236
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Sammy Ameobi
['Q326236', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q326236 property:P27 ?c }
Nigeria United Kingdom
Nigeria and United Kingdom are the countries of citizenship of Sammy Ameobi
Nigeria United Kingdom
action filter_type
action find
entity Sammy Ameobi
relation country of citizenship
type designation for an administrative territorial entity
['Sammy Ameobi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sammy_Ameobi property:country_of_citizenship ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1033 Q145
P530
Q1048835
USER
Who have a diplomatic relationship with Nigeria and United Kingdom ?
(Q1033,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action union
action filter_type
action find
entity Q1033
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q1033', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { resource:Q1033 property:P530 ?b . ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?b } }
Nigeria United Kingdom
action union
action filter_type
action find
entity Nigeria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['Nigeria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { resource:Nigeria property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?b } }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q408 Q183 Q183 Q408 Q16
(Q1033,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action union
action filter_type
action find
entity Q1033
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWERS]
['Q1033', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { resource:Q1033 property:P530 ?b . ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?b } }
Australia Germany Germany Australia Canada
Germany, Germany and Australia have a diplomatic relationship with Nigeria and United Kingdom
Germany Germany Australia
action union
action filter_type
action find
entity Nigeria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['Nigeria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { resource:Nigeria property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?b } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1033
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q1033,P30,c(Q2221906))
action filter_type
action find
entity Q1033
relation P30
type Q2221906
['Q1033', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q1033 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Nigeria
action filter_type
action find
entity Nigeria
relation continent
type geographic location
['Nigeria', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Nigeria property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q1033
SYSTEM
Did you mean Nigeria ?
Q183 Q183 Q408
(Q183,P30,c(Q2221906)) (Q183,P30,c(Q2221906)) (Q408,P30,c(Q2221906))
[ANSWER]
['Q183', 'P30', {'concept': 'Q2221906'}] ['Q183', 'P30', {'concept': 'Q2221906'}] ['Q408', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q1033 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Germany Germany Australia
Did you mean Nigeria ?
Nigeria
['Germany', 'continent', {'concept': 'geographic location'}] ['Germany', 'continent', {'concept': 'geographic location'}] ['Australia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Nigeria property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1033,P30,c(Q2221906))
['Q1033', 'P30', {'concept': 'Q2221906'}]
['Nigeria', 'continent', {'concept': 'geographic location'}]
[]
Q15
SYSTEM
Africa
Q15
(Q1033,P30,c(Q2221906))
action filter_type
action find
entity Q1033
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q1033', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q1033 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Africa
That administrative territory is situated in Africa
Africa
action filter_type
action find
entity Nigeria
relation continent
type geographic location
['Nigeria', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Nigeria property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15
P101
Q502895
USER
Which people have his/her area as that geographic location ?
(c(Q502895),P101,Q15)
action filter_type
action find_reverse
entity Q15
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q15']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q15 . ?w rdf:type ontology:Q502895 }
Africa
action filter_type
action find_reverse
entity Africa
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Africa']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:Africa . ?w rdf:type ontology:common_name }
[]
common name
Q15127495 Q12026757 Q3124160
SYSTEM
Ghislaine Dupont, Josef Vágner, Gérard Marin
Q15127495 Q12026757 Q3124160
(c(Q502895),P101,Q15)
action filter_type
action find_reverse
entity Q15
relation P101
type Q502895
[ANSWERS] have his/her area as that geographic location
[{'concept': 'Q502895'}, 'P101', 'Q15']
SELECT DISTINCT ?w WHERE { ?w property:P101 resource:Q15 . ?w rdf:type ontology:Q502895 }
Ghislaine Dupont Josef Vágner Gérard Marin
Ghislaine Dupont, Josef Vágner and Gérard Marin have his/her area as that geographic location
Ghislaine Dupont Josef Vágner Gérard Marin
action filter_type
action find_reverse
entity Africa
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Africa']
SELECT DISTINCT ?w WHERE { ?w property:field_of_work resource:Africa . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12026757
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q12026757,P106,c(Q12737077))
action filter_type
action find
entity Q12026757
relation P106
type Q12737077
['Q12026757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q12026757 property:P106 ?u }
Josef Vágner
action filter_type
action find
entity Josef Vágner
relation occupation
type occupation
['Josef Vágner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Josef_Vágner property:occupation ?u }
[]
occupation
Clarification for simple ques.
Q12026757
SYSTEM
Did you mean Josef Vágner ?
Q15127495 Q12026757 Q3124160
(Q15127495,P106,c(Q12737077)) (Q12026757,P106,c(Q12737077)) (Q3124160,P106,c(Q12737077))
[ANSWER]
['Q15127495', 'P106', {'concept': 'Q12737077'}] ['Q12026757', 'P106', {'concept': 'Q12737077'}] ['Q3124160', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q12026757 property:P106 ?u }
Ghislaine Dupont Josef Vágner Gérard Marin
Did you mean Josef Vágner ?
Josef Vágner
['Ghislaine Dupont', 'occupation', {'concept': 'occupation'}] ['Josef Vágner', 'occupation', {'concept': 'occupation'}] ['Gérard Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Josef_Vágner property:occupation ?u }
[]
Simple Question (Coreferenced)
USER
Yes
(Q12026757,P106,c(Q12737077))
['Q12026757', 'P106', {'concept': 'Q12737077'}]
['Josef Vágner', 'occupation', {'concept': 'occupation'}]
[]
Q11900058 Q36180 Q350979
SYSTEM
explorer, writer, zoologist
Q11900058 Q36180 Q350979
(Q12026757,P106,c(Q12737077))
action filter_type
action find
entity Q12026757
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q12026757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q12026757 property:P106 ?u }
explorer writer zoologist
The professions of that person are explorer, writer and zoologist
explorer writer zoologist
action filter_type
action find
entity Josef Vágner
relation occupation
type occupation
['Josef Vágner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Josef_Vágner property:occupation ?u }
[]