Simple Question (Direct)
Simple Question
Q5544395
P21
Q290
USER
Which sex does George Seeley possess ?
(Q5544395,P21,c(Q290))
action filter_type
action find
entity Q5544395
relation P21
type Q290
['Q5544395', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q5544395 property:P21 ?o . ?o rdf:type ontology:Q290 }
George Seeley
action filter_type
action find
entity George Seeley
relation gender
type sex
['George Seeley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:George_Seeley property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5544395,P21,c(Q290))
action filter_type
action find
entity Q5544395
relation P21
type Q290
George Seeley possesses un [ANSWER]
['Q5544395', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q5544395 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
George Seeley possesses un male
male
action filter_type
action find
entity George Seeley
relation gender
type sex
['George Seeley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:George_Seeley property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5544395
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of George Seeley ?
(Q5544395,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5544395
relation P27
type Q15617994
['Q5544395', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q5544395 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
George Seeley
action count
action filter_type
action find
entity George Seeley
relation country of citizenship
type designation for an administrative territorial entity
['George Seeley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:George_Seeley property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q5544395,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5544395
relation P27
type Q15617994
[ANSWER]
['Q5544395', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q5544395 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity George Seeley
relation country of citizenship
type designation for an administrative territorial entity
['George Seeley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:George_Seeley property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5294278
P27
Q15617994
USER
And also tell me about Donald E. Edwards?
(Q5294278,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5294278
relation P27
type Q15617994
['Q5294278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q5294278 property:P27 ?l }
Donald E. Edwards
action count
action filter_type
action find
entity Donald E. Edwards
relation country of citizenship
type designation for an administrative territorial entity
['Donald E. Edwards', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Donald_E._Edwards property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q5294278,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5294278
relation P27
type Q15617994
[ANSWER]
['Q5294278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q5294278 property:P27 ?l }
United States of America
1
action count
action filter_type
action find
entity Donald E. Edwards
relation country of citizenship
type designation for an administrative territorial entity
['Donald E. Edwards', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Donald_E._Edwards property:country_of_citizenship ?l }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6093603
Q15617994
USER
And also tell me about Emel Göksu?
(Q6093603,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6093603
relation P27
type Q15617994
['Q6093603', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q6093603 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Emel Göksu
action count
action filter_type
action find
entity Emel Göksu
relation country of citizenship
type designation for an administrative territorial entity
['Emel Göksu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Emel_Göksu property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6093603,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6093603
relation P27
type Q15617994
[ANSWER]
['Q6093603', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q6093603 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Emel Göksu
relation country of citizenship
type designation for an administrative territorial entity
['Emel Göksu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Emel_Göksu property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16873717 Q5544395
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of George Seeley or are Prasat Thong a part of ?
OR((Q5544395,P27,c(Q15617994)), (Q16873717,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5544395
relation P27
action find
entity Q16873717
relation P17
type Q15617994
{'OR': [['Q5544395', 'P27', {'concept': 'Q15617994'}], ['Q16873717', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5544395 property:P27 ?i } UNION { resource:Q16873717 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Prasat Thong George Seeley
action filter_type
action union
action find
entity George Seeley
relation country of citizenship
action find
entity Prasat Thong
relation country
type designation for an administrative territorial entity
{'OR': [['George Seeley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Prasat Thong', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:George_Seeley property:country_of_citizenship ?i } UNION { resource:Prasat_Thong property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q145
SYSTEM
Thailand, United Kingdom
Q869 Q145
OR((Q5544395,P27,c(Q15617994)), (Q16873717,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5544395
relation P27
action find
entity Q16873717
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of George Seeley or are Prasat Thong a part of
{'OR': [['Q5544395', 'P27', {'concept': 'Q15617994'}], ['Q16873717', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5544395 property:P27 ?i } UNION { resource:Q16873717 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Thailand United Kingdom
Thailand and United Kingdom are the countries of citizenship of George Seeley or are Prasat Thong a part of
Thailand United Kingdom
action filter_type
action union
action find
entity George Seeley
relation country of citizenship
action find
entity Prasat Thong
relation country
type designation for an administrative territorial entity
{'OR': [['George Seeley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Prasat Thong', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:George_Seeley property:country_of_citizenship ?i } UNION { resource:Prasat_Thong property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those administrative territories ?
(Q408,P530,Q869) (Q408,P530,Q145)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q869'] ['Q408', 'P530', 'Q145']
ASK WHERE { resource:Q408 property:P530 ?u . VALUES ( ?u ) { ( resource:Q869 ) ( resource:Q145 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Thailand'] ['Australia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Australia property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Thailand ) ( resource:United_Kingdom ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q869) (Q408,P530,Q145)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q869'] ['Q408', 'P530', 'Q145']
ASK WHERE { resource:Q408 property:P530 ?u . VALUES ( ?u ) { ( resource:Q869 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Thailand'] ['Australia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Australia property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Thailand ) ( resource:United_Kingdom ) } }
[]