Simple Question (Direct)
Simple Question
Q12279844
P27
Q15617994
USER
Which administrative territory does Emil Tsanev belong to ?
(Q12279844,P27,c(Q15617994))
action filter_type
action find
entity Q12279844
relation P27
type Q15617994
['Q12279844', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q12279844 property:P27 ?m }
Emil Tsanev
action filter_type
action find
entity Emil Tsanev
relation country of citizenship
type designation for an administrative territorial entity
['Emil Tsanev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Emil_Tsanev property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q12279844,P27,c(Q15617994))
action filter_type
action find
entity Q12279844
relation P27
type Q15617994
Emil Tsanev belongs to [ANSWER]
['Q12279844', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q12279844 property:P27 ?m }
Bulgaria
Emil Tsanev belongs to Bulgaria
Bulgaria
action filter_type
action find
entity Emil Tsanev
relation country of citizenship
type designation for an administrative territorial entity
['Emil Tsanev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Emil_Tsanev property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12279844
P21
Q290
USER
Which sex does that person possess ?
(Q219,P21,c(Q290))
action filter_type
action find
entity Q12279844
relation P21
type Q290
['Q219', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q12279844 property:P21 ?s . ?s rdf:type ontology:Q290 }
Emil Tsanev
action filter_type
action find
entity Emil Tsanev
relation gender
type sex
['Bulgaria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Emil_Tsanev property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q219,P21,c(Q290))
action filter_type
action find
entity Q12279844
relation P21
type Q290
That person possesses a [ANSWER]
['Q219', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q12279844 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Emil Tsanev
relation gender
type sex
['Bulgaria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Emil_Tsanev property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219
P6
Q502895
USER
Which person has Bulgaria as its head of government ?
(Q219,P6,c(Q502895))
action filter_type
action find
entity Q219
relation P6
type Q502895
['Q219', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q219 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Bulgaria
action filter_type
action find
entity Bulgaria
relation head of government
type common name
['Bulgaria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Bulgaria property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q57775
SYSTEM
Boyko Borisov
Q57775
(Q219,P6,c(Q502895))
action filter_type
action find
entity Q219
relation P6
type Q502895
[ANSWER] has Bulgaria as its head of government
['Q219', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q219 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Boyko Borisov
Boyko Borisov has Bulgaria as its head of government
Boyko Borisov
action filter_type
action find
entity Bulgaria
relation head of government
type common name
['Bulgaria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Bulgaria property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q604538
P1303
Q34379 Q502895
USER
How many musical instruments do less number of people know to play than Temple block ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q604538
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P1303 resource:Q604538 . ?o rdf:type ontology:Q502895 } } . FILTER ( ?c < ?f ) }
Temple block
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Temple block
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:instrument resource:Temple_block . ?o rdf:type ontology:common_name } } . FILTER ( ?c < ?f ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q604538
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P1303 resource:Q604538 . ?o rdf:type ontology:Q502895 } } . FILTER ( ?c < ?f ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Temple block
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:instrument resource:Temple_block . ?o rdf:type ontology:common_name } } . FILTER ( ?c < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q490054
P1303
Q34379 Q502895
USER
And what about Ondioline?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q490054
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P1303 resource:Q490054 . ?o rdf:type ontology:Q502895 } } . FILTER ( ?i < ?f ) }
Ondioline
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Ondioline
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:instrument resource:Ondioline . ?o rdf:type ontology:common_name } } . FILTER ( ?i < ?f ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q490054
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P1303 resource:Q490054 . ?o rdf:type ontology:Q502895 } } . FILTER ( ?i < ?f ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Ondioline
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:instrument resource:Ondioline . ?o rdf:type ontology:common_name } } . FILTER ( ?i < ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q11424
USER
Which films did min number of people dub for ?
(c(Q11424),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q11424
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?v ) WHERE { ?t property:P725 ?b . ?t rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 } GROUP BY ?t } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?r ) WHERE { ?m property:P725 ?u . ?m rdf:type ontology:Q11424 . ?u rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?r = ?n ) }
action argmin
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?v ) WHERE { ?t property:voice_actor ?b . ?t rdf:type ontology:film . ?b rdf:type ontology:common_name } GROUP BY ?t } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?r ) WHERE { ?m property:voice_actor ?u . ?m rdf:type ontology:film . ?u rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?r = ?n ) }
[]
common name film
Q943192
SYSTEM
Fantasia
Q943192
(c(Q11424),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q11424
type Q502895
Min number of people dubbed [ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?v ) WHERE { ?t property:P725 ?b . ?t rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 } GROUP BY ?t } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?r ) WHERE { ?m property:P725 ?u . ?m rdf:type ontology:Q11424 . ?u rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?r = ?n ) }
Fantasia
Min number of people dubbed Fantasia
Fantasia
action argmin
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?n ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?v ) WHERE { ?t property:voice_actor ?b . ?t rdf:type ontology:film . ?b rdf:type ontology:common_name } GROUP BY ?t } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?r ) WHERE { ?m property:voice_actor ?u . ?m rdf:type ontology:film . ?u rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?r = ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q943192
P57
Q502895
USER
Who directed that film ?
(Q943192,P57,c(Q502895))
action filter_type
action find
entity Q943192
relation P57
type Q502895
['Q943192', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q943192 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Fantasia
action filter_type
action find
entity Fantasia
relation director
type common name
['Fantasia', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Fantasia property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q715807
SYSTEM
James Algar
Q715807
(Q943192,P57,c(Q502895))
action filter_type
action find
entity Q943192
relation P57
type Q502895
Film [ANSWER] directed that film
['Q943192', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q943192 property:P57 ?g . ?g rdf:type ontology:Q502895 }
James Algar
Film James Algar directed that film
James Algar
action filter_type
action find
entity Fantasia
relation director
type common name
['Fantasia', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Fantasia property:director ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q715807
P20
Q56061
USER
Where did that person die ?
(Q715807,P20,c(Q56061))
action filter_type
action find
entity Q715807
relation P20
type Q56061
['Q715807', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q715807 property:P20 ?t . ?t rdf:type ontology:Q56061 }
James Algar
action filter_type
action find
entity James Algar
relation place of death
type administrative territorial entity
['James Algar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:James_Algar property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q625458
SYSTEM
Carmel-by-the-Sea
Q625458
(Q715807,P20,c(Q56061))
action filter_type
action find
entity Q715807
relation P20
type Q56061
That person died in [ANSWER]
['Q715807', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q715807 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Carmel-by-the-Sea
That person died in Carmel-by-the-Sea
Carmel-by-the-Sea
action filter_type
action find
entity James Algar
relation place of death
type administrative territorial entity
['James Algar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:James_Algar property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]