Simple Question (Direct)
Simple Question
Q2344517
P20
Q56061
USER
Where did Stephen Alfred Forbes expire ?
(Q2344517,P20,c(Q56061))
action filter_type
action find
entity Q2344517
relation P20
type Q56061
['Q2344517', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q2344517 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Stephen Alfred Forbes
action filter_type
action find
entity Stephen Alfred Forbes
relation place of death
type administrative territorial entity
['Stephen Alfred Forbes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Stephen_Alfred_Forbes property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q462184
SYSTEM
Urbana
Q462184
(Q2344517,P20,c(Q56061))
action filter_type
action find
entity Q2344517
relation P20
type Q56061
Stephen Alfred Forbes expired [ANSWER]
['Q2344517', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q2344517 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Urbana
Stephen Alfred Forbes expired Urbana
Urbana
action filter_type
action find
entity Stephen Alfred Forbes
relation place of death
type administrative territorial entity
['Stephen Alfred Forbes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Stephen_Alfred_Forbes property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q462184
P937
Q502895
USER
Who works at that administrative territory ?
(c(Q502895),P937,Q462184)
action filter_type
action find_reverse
entity Q462184
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q462184']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q462184 . ?t rdf:type ontology:Q502895 }
Urbana
action filter_type
action find_reverse
entity Urbana
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Urbana']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Urbana . ?t rdf:type ontology:common_name }
[]
common name
Q192718 Q62271 Q6722375
SYSTEM
Anthony James Leggett, Max Abraham, Mac Van Valkenburg
Q15429705 Q192718 Q521140 Q175711 Q18024340 Q6722375 Q62271
(c(Q502895),P937,Q462184)
action filter_type
action find_reverse
entity Q462184
relation P937
type Q502895
[ANSWERS] work at that administrative territory
[{'concept': 'Q502895'}, 'P937', 'Q462184']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q462184 . ?t rdf:type ontology:Q502895 }
Phineas Lawrence Windsor Anthony James Leggett Icko Iben Miroslav Marcovich Ludwig Frederick Audrieth Mac Van Valkenburg Max Abraham
Anthony James Leggett, Max Abraham and Mac Van Valkenburg work at that administrative territory
Anthony James Leggett Max Abraham Mac Van Valkenburg
action filter_type
action find_reverse
entity Urbana
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Urbana']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Urbana . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids had their voice dubbing done by atleast 7 people ?
(c(Q6619679),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 7
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?g ) WHERE { ?v property:P725 ?d . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q6619679 } GROUP BY ?v } . FILTER ( ?g >= 7 ) }
action atleast
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 7
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?g ) WHERE { ?v property:voice_actor ?d . ?d rdf:type ontology:common_name . ?v rdf:type ontology:fictional_humanoid } GROUP BY ?v } . FILTER ( ?g >= 7 ) }
[]
common name fictional humanoid
Q15711517
SYSTEM
Granny Smith
Q15711517
(c(Q6619679),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 7
[ANSWER] had their voice dubbing done by atleast 7 people
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?g ) WHERE { ?v property:P725 ?d . ?d rdf:type ontology:Q502895 . ?v rdf:type ontology:Q6619679 } GROUP BY ?v } . FILTER ( ?g >= 7 ) }
Granny Smith
Granny Smith had their voice dubbing done by atleast 7 people
Granny Smith
action atleast
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 7
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?g ) WHERE { ?v property:voice_actor ?d . ?d rdf:type ontology:common_name . ?v rdf:type ontology:fictional_humanoid } GROUP BY ?v } . FILTER ( ?g >= 7 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q462184
P17
Q15617994
USER
Which administrative territory is Urbana a part of ?
(Q462184,P17,c(Q15617994))
action filter_type
action find
entity Q462184
relation P17
type Q15617994
['Q462184', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q462184 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Urbana
action filter_type
action find
entity Urbana
relation country
type designation for an administrative territorial entity
['Urbana', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Urbana property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q462184,P17,c(Q15617994))
action filter_type
action find
entity Q462184
relation P17
type Q15617994
Which administrative territory is Urbana a part of
['Q462184', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q462184 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Urbana a part of
United States of America
action filter_type
action find
entity Urbana
relation country
type designation for an administrative territorial entity
['Urbana', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Urbana property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26397038
Q15617994
USER
And also tell me about The Red Cow Public House?
(Q26397038,P17,c(Q15617994))
action filter_type
action find
entity Q26397038
relation P17
type Q15617994
['Q26397038', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q26397038 property:P17 ?n }
The Red Cow Public House
action filter_type
action find
entity The Red Cow Public House
relation country
type designation for an administrative territorial entity
['The Red Cow Public House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Red_Cow_Public_House property:country ?n }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q26397038,P17,c(Q15617994))
action filter_type
action find
entity Q26397038
relation P17
type Q15617994
[ANSWER]
['Q26397038', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q26397038 property:P17 ?n }
United Kingdom
United Kingdom
action filter_type
action find
entity The Red Cow Public House
relation country
type designation for an administrative territorial entity
['The Red Cow Public House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Red_Cow_Public_House property:country ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atmost 49 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 49
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f <= 49 ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?f ) WHERE { ?m rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?m property:P530 ?i } GROUP BY ?m } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 49
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f <= 49 ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?f ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?i } GROUP BY ?m } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 49
[ANSWERS] have diplomatic relationships with atmost 49 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f <= 49 ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?f ) WHERE { ?m rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?m property:P530 ?i } GROUP BY ?m } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with atmost 49 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 49
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f <= 49 ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?f ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?i } GROUP BY ?m } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those ones ?
(Q408,P530,Q35) (Q408,P530,Q16) (Q408,P530,Q40)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q35'] ['Q408', 'P530', 'Q16'] ['Q408', 'P530', 'Q40']
ASK WHERE { resource:Q408 property:P530 ?w . VALUES ( ?w ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Denmark'] ['Australia', 'diplomatic relation', 'Canada'] ['Australia', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Australia property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q35) (Q408,P530,Q16) (Q408,P530,Q40)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q35'] ['Q408', 'P530', 'Q16'] ['Q408', 'P530', 'Q40']
ASK WHERE { resource:Q408 property:P530 ?w . VALUES ( ?w ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Denmark'] ['Australia', 'diplomatic relation', 'Canada'] ['Australia', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Australia property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6722375 Q21578 Q2894666
P108
Q163740
USER
Does Mac Van Valkenburg work for Princeton University and Bellarmine University ?
(Q6722375,P108,Q21578) (Q6722375,P108,Q2894666)
action is_in
entity Q6722375
action intersection
action find_reverse
entity Q21578
relation P108
action find_reverse
entity Q2894666
relation P108
['Q6722375', 'P108', 'Q21578'] ['Q6722375', 'P108', 'Q2894666']
ASK WHERE { resource:Q6722375 property:P108 resource:Q21578 . resource:Q6722375 property:P108 resource:Q2894666 }
Mac Van Valkenburg Princeton University Bellarmine University
action is_in
entity Mac Van Valkenburg
action intersection
action find_reverse
entity Princeton University
relation employer
action find_reverse
entity Bellarmine University
relation employer
['Mac Van Valkenburg', 'employer', 'Princeton University'] ['Mac Van Valkenburg', 'employer', 'Bellarmine University']
ASK WHERE { resource:Mac_Van_Valkenburg property:employer resource:Princeton_University . resource:Mac_Van_Valkenburg property:employer resource:Bellarmine_University }
[]
nonprofit organization
SYSTEM
YES and NO respectively
(Q6722375,P108,Q21578) (Q6722375,P108,Q2894666)
action is_in
entity Q6722375
action intersection
action find_reverse
entity Q21578
relation P108
action find_reverse
entity Q2894666
relation P108
[ANSWER]
['Q6722375', 'P108', 'Q21578'] ['Q6722375', 'P108', 'Q2894666']
ASK WHERE { resource:Q6722375 property:P108 resource:Q21578 . resource:Q6722375 property:P108 resource:Q2894666 }
YES and NO respectively
action is_in
entity Mac Van Valkenburg
action intersection
action find_reverse
entity Princeton University
relation employer
action find_reverse
entity Bellarmine University
relation employer
['Mac Van Valkenburg', 'employer', 'Princeton University'] ['Mac Van Valkenburg', 'employer', 'Bellarmine University']
ASK WHERE { resource:Mac_Van_Valkenburg property:employer resource:Princeton_University . resource:Mac_Van_Valkenburg property:employer resource:Bellarmine_University }
[]