Simple Question (Direct)
Simple Question
Q1081662
P21
Q290
USER
Which sex does Christian Saalberg belong to ?
(Q1081662,P21,c(Q290))
action filter_type
action find
entity Q1081662
relation P21
type Q290
['Q1081662', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q1081662 property:P21 ?h . ?h rdf:type ontology:Q290 }
Christian Saalberg
action filter_type
action find
entity Christian Saalberg
relation gender
type sex
['Christian Saalberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Christian_Saalberg property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1081662,P21,c(Q290))
action filter_type
action find
entity Q1081662
relation P21
type Q290
Christian Saalberg belongs to [ANSWER]
['Q1081662', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q1081662 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Christian Saalberg belongs to male
male
action filter_type
action find
entity Christian Saalberg
relation gender
type sex
['Christian Saalberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Christian_Saalberg property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expressess that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q6581097 . ?v rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:male . ?v rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expressess that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q6581097 . ?v rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expressess that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:male . ?v rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who studied at that sex ?
(c(Q502895),P69,Q18713957)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q18713957']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Raja Surendra Vikram Shah at the age of 15 with his prime minister']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q18713957)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] studied at that sex
[{'concept': 'Q502895'}, 'P69', 'Q18713957']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P69 resource:Q6581097 }
Aaron Parchem
Aaron Parchem studied at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Raja Surendra Vikram Shah at the age of 15 with his prime minister']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:educated_at resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by exactly 3 people ?
(c(Q6619679),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:Q502895 . ?g rdf:type ontology:Q6619679 . ?g property:P725 ?z } GROUP BY ?g } . FILTER ( ?r = 3 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:common_name . ?g rdf:type ontology:fictional_humanoid . ?g property:voice_actor ?z } GROUP BY ?g } . FILTER ( ?r = 3 ) }
[]
common name fictional humanoid
SYSTEM
4
Q11609133 Q15726751 Q11479883 Q18073923
(c(Q6619679),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:Q502895 . ?g rdf:type ontology:Q6619679 . ?g property:P725 ?z } GROUP BY ?g } . FILTER ( ?r = 3 ) }
Sayaka Miki Diamond Tiara Mami Tomoe Sunset Shimmer
4
action count
action equal
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:common_name . ?g rdf:type ontology:fictional_humanoid . ?g property:voice_actor ?z } GROUP BY ?g } . FILTER ( ?r = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1081662
P937
Q56061
USER
Which administrative territory is the work location of Christian Saalberg ?
(Q1081662,P937,c(Q56061))
action filter_type
action find
entity Q1081662
relation P937
type Q56061
['Q1081662', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1081662 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Christian Saalberg
action filter_type
action find
entity Christian Saalberg
relation work location
type administrative territorial entity
['Christian Saalberg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christian_Saalberg property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1707
SYSTEM
Kiel
Q1707
(Q1081662,P937,c(Q56061))
action filter_type
action find
entity Q1081662
relation P937
type Q56061
[ANSWER] is the work location of Christian Saalberg
['Q1081662', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1081662 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Kiel
Kiel is the work location of Christian Saalberg
Kiel
action filter_type
action find
entity Christian Saalberg
relation work location
type administrative territorial entity
['Christian Saalberg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christian_Saalberg property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1174548
Q56061
USER
And how about David Gilmour?
(Q1174548,P937,c(Q56061))
action filter_type
action find
entity Q1174548
relation P937
type Q56061
['Q1174548', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1174548 property:P937 ?s . ?s rdf:type ontology:Q56061 }
David Gilmour
action filter_type
action find
entity David Gilmour
relation work location
type administrative territorial entity
['David Gilmour', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:David_Gilmour property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q1174548,P937,c(Q56061))
action filter_type
action find
entity Q1174548
relation P937
type Q56061
[ANSWER]
['Q1174548', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1174548 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Toronto
Toronto
action filter_type
action find
entity David Gilmour
relation work location
type administrative territorial entity
['David Gilmour', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:David_Gilmour property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q172 Q2644029
P19
Q502895
USER
Does Aleksey Proshin have location of birth at that administrative territory ?
(Q2644029,P19,Q172)
action is_in
entity Q2644029
action find
entity Q172
relation P19
['Q2644029', 'P19', 'Q172']
ASK WHERE { resource:Q172 property:P19 resource:Q2644029 }
Toronto Aleksey Proshin
action is_in
entity Aleksey Proshin
action find
entity Toronto
relation place of birth
['Aleksey Proshin', 'place of birth', 'Toronto']
ASK WHERE { resource:Toronto property:place_of_birth resource:Aleksey_Proshin }
[]
common name
SYSTEM
NO
(Q2644029,P19,Q172)
action is_in
entity Q2644029
action find
entity Q172
relation P19
[ANSWER]
['Q2644029', 'P19', 'Q172']
ASK WHERE { resource:Q172 property:P19 resource:Q2644029 }
No
action is_in
entity Aleksey Proshin
action find
entity Toronto
relation place of birth
['Aleksey Proshin', 'place of birth', 'Toronto']
ASK WHERE { resource:Toronto property:place_of_birth resource:Aleksey_Proshin }
[]