Simple Question (Direct)
Simple Question
Q6193932
P27
Q15617994
USER
Which administrative territory does Jim Burleigh belong to ?
(Q6193932,P27,c(Q15617994))
action filter_type
action find
entity Q6193932
relation P27
type Q15617994
['Q6193932', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q6193932 property:P27 ?f }
Jim Burleigh
action filter_type
action find
entity Jim Burleigh
relation country of citizenship
type designation for an administrative territorial entity
['Jim Burleigh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jim_Burleigh property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6193932,P27,c(Q15617994))
action filter_type
action find
entity Q6193932
relation P27
type Q15617994
Jim Burleigh belongs to [ANSWER]
['Q6193932', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q6193932 property:P27 ?f }
United Kingdom
Jim Burleigh belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Jim Burleigh
relation country of citizenship
type designation for an administrative territorial entity
['Jim Burleigh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jim_Burleigh property:country_of_citizenship ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P36
Q56061
USER
Which administrative territory is known as the capital of that administrative territory ?
(Q145,P36,c(Q56061))
action filter_type
action find
entity Q145
relation P36
type Q56061
['Q145', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q145 property:P36 ?s . ?s rdf:type ontology:Q56061 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation capital
type administrative territorial entity
['United Kingdom', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:United_Kingdom property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q145,P36,c(Q56061))
action filter_type
action find
entity Q145
relation P36
type Q56061
[ANSWER] is known as the capital of that administrative territory
['Q145', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q145 property:P36 ?s . ?s rdf:type ontology:Q56061 }
London
London is known as the capital of that administrative territory
London
action filter_type
action find
entity United Kingdom
relation capital
type administrative territorial entity
['United Kingdom', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:United_Kingdom property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3108695 Q6193932
P19
Q56061
USER
Which administrative territories were Jim Burleigh or Glen Perkins born at ?
OR((Q6193932,P19,c(Q56061)), (Q3108695,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6193932
relation P19
action find
entity Q3108695
relation P19
type Q56061
{'OR': [['Q6193932', 'P19', {'concept': 'Q56061'}], ['Q3108695', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Q6193932 ) ( resource:Q3108695 ) } . ?a property:P19 ?o } . ?o rdf:type ontology:Q56061 }
Glen Perkins Jim Burleigh
action filter_type
action union
action find
entity Jim Burleigh
relation place of birth
action find
entity Glen Perkins
relation place of birth
type administrative territorial entity
{'OR': [['Jim Burleigh', 'place of birth', {'concept': 'administrative territorial entity'}], ['Glen Perkins', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Jim_Burleigh ) ( resource:Glen_Perkins ) } . ?a property:place_of_birth ?o } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q126269 Q862658
SYSTEM
Wolverhampton, Stillwater
Q126269 Q862658
OR((Q6193932,P19,c(Q56061)), (Q3108695,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6193932
relation P19
action find
entity Q3108695
relation P19
type Q56061
Jim Burleigh or Glen Perkins were born in [ANSWERS]
{'OR': [['Q6193932', 'P19', {'concept': 'Q56061'}], ['Q3108695', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Q6193932 ) ( resource:Q3108695 ) } . ?a property:P19 ?o } . ?o rdf:type ontology:Q56061 }
Wolverhampton Stillwater
Jim Burleigh or Glen Perkins were born in Wolverhampton and Stillwater
Wolverhampton Stillwater
action filter_type
action union
action find
entity Jim Burleigh
relation place of birth
action find
entity Glen Perkins
relation place of birth
type administrative territorial entity
{'OR': [['Jim Burleigh', 'place of birth', {'concept': 'administrative territorial entity'}], ['Glen Perkins', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Jim_Burleigh ) ( resource:Glen_Perkins ) } . ?a property:place_of_birth ?o } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q126269 Q862658
P17
Q15617994
USER
Which administrative territories are Wolverhampton and Stillwater a part of ?
(Q126269,P17,c(Q15617994)) (Q862658,P17,c(Q15617994))
action union
action filter_type
action find
entity Q126269
relation P17
type Q15617994
action filter_type
action find
entity Q862658
relation P17
type Q15617994
['Q126269', 'P17', {'concept': 'Q15617994'}] ['Q862658', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:Q15617994 . resource:Q126269 property:P17 ?f } UNION { resource:Q862658 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
Wolverhampton Stillwater
action union
action filter_type
action find
entity Wolverhampton
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Stillwater
relation country
type designation for an administrative territorial entity
['Wolverhampton', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stillwater', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wolverhampton property:country ?f } UNION { resource:Stillwater property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q145 Q30
SYSTEM
United Kingdom, United States of America
Q145 Q30
(Q126269,P17,c(Q15617994)) (Q862658,P17,c(Q15617994))
action union
action filter_type
action find
entity Q126269
relation P17
type Q15617994
action filter_type
action find
entity Q862658
relation P17
type Q15617994
In [ANSWERS] are Wolverhampton and Stillwater a part of
['Q126269', 'P17', {'concept': 'Q15617994'}] ['Q862658', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:Q15617994 . resource:Q126269 property:P17 ?f } UNION { resource:Q862658 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
United Kingdom United States of America
In United Kingdom and United States of America are Wolverhampton and Stillwater a part of
United Kingdom United States of America
action union
action filter_type
action find
entity Wolverhampton
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Stillwater
relation country
type designation for an administrative territorial entity
['Wolverhampton', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stillwater', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Wolverhampton property:country ?f } UNION { resource:Stillwater property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30
P106
Q502895
USER
Which people have that administrative territory as his/her means of employment ?
(c(Q502895),P106,Q30)
action filter_type
action find_reverse
entity Q30
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P106 resource:Q30 . ?p rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:occupation resource:United_States_of_America . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q145
SYSTEM
Did you mean United Kingdom ?
Q145 Q30
(c(Q502895),P106,Q145) (c(Q502895),P106,Q30)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q145'] [{'concept': 'Q502895'}, 'P106', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P106 resource:Q30 . ?p rdf:type ontology:Q502895 }
United Kingdom United States of America
Did you mean United Kingdom ?
United Kingdom
[{'concept': 'common name'}, 'occupation', 'United Kingdom'] [{'concept': 'common name'}, 'occupation', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:occupation resource:United_States_of_America . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant United States of America. Could you tell me the answer for that?
(c(Q502895),P106,Q30)
Q30
[{'concept': 'Q502895'}, 'P106', 'Q30']
[{'concept': 'common name'}, 'occupation', 'United States of America']
[]
Q1563121 Q26727036 Q20022762
SYSTEM
Ellen Malcolm, John Eric Byers, Chi Chi Gonzalez
Q1563121 Q26727036 Q20022762
(c(Q502895),P106,Q30)
action filter_type
action find_reverse
entity Q30
relation P106
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P106', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P106 resource:Q30 . ?p rdf:type ontology:Q502895 }
Ellen Malcolm John Eric Byers Chi Chi Gonzalez
Ellen Malcolm, John Eric Byers and Chi Gonzalez have that administrative territory as his/her means of employment
Ellen Malcolm John Eric Byers Chi Chi Gonzalez
action filter_type
action find_reverse
entity United States of America
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:occupation resource:United_States_of_America . ?p rdf:type ontology:common_name }
[]