Simple Question (Direct)
Simple Question
Q4231259
P108
Q43229
USER
Which organization is the workplace of Aleksey Konsovsky ?
(Q4231259,P108,c(Q43229))
action filter_type
action find
entity Q4231259
relation P108
type Q43229
['Q4231259', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q4231259 property:P108 ?w . ?w rdf:type ontology:Q43229 }
Aleksey Konsovsky
action filter_type
action find
entity Aleksey Konsovsky
relation employer
type organization
['Aleksey Konsovsky', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Aleksey_Konsovsky property:employer ?w . ?w rdf:type ontology:organization }
[]
organization
Q1970338
SYSTEM
Yermolova Theatre
Q1970338
(Q4231259,P108,c(Q43229))
action filter_type
action find
entity Q4231259
relation P108
type Q43229
[ANSWER] is the workplace of Aleksey Konsovsky
['Q4231259', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q4231259 property:P108 ?w . ?w rdf:type ontology:Q43229 }
Yermolova Theatre
Yermolova Theatre is the workplace of Aleksey Konsovsky
Yermolova Theatre
action filter_type
action find
entity Aleksey Konsovsky
relation employer
type organization
['Aleksey Konsovsky', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Aleksey_Konsovsky property:employer ?w . ?w rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4231259
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q1970338,P106,c(Q12737077))
action filter_type
action find
entity Q4231259
relation P106
type Q12737077
['Q1970338', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4231259 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Aleksey Konsovsky
action filter_type
action find
entity Aleksey Konsovsky
relation occupation
type occupation
['Yermolova Theatre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Aleksey_Konsovsky property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q1970338,P106,c(Q12737077))
action filter_type
action find
entity Q4231259
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q1970338', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4231259 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
actor
Actor has that person as his/her 's career
actor
action filter_type
action find
entity Aleksey Konsovsky
relation occupation
type occupation
['Yermolova Theatre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Aleksey_Konsovsky property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4231259
P20
Q56061
USER
How many administrative territories did the demise of Aleksey Konsovsky occur ?
(Q4231259,P20,c(Q56061))
action count
action filter_type
action find
entity Q4231259
relation P20
type Q56061
['Q4231259', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Q4231259 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Aleksey Konsovsky
action count
action filter_type
action find
entity Aleksey Konsovsky
relation place of death
type administrative territorial entity
['Aleksey Konsovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Aleksey_Konsovsky property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q649
(Q4231259,P20,c(Q56061))
action count
action filter_type
action find
entity Q4231259
relation P20
type Q56061
[ANSWER]
['Q4231259', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Q4231259 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Moscow
1
action count
action filter_type
action find
entity Aleksey Konsovsky
relation place of death
type administrative territorial entity
['Aleksey Konsovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Aleksey_Konsovsky property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3059753
P20
Q56061
USER
And what about Eugène Buhan?
(Q3059753,P20,c(Q56061))
action count
action filter_type
action find
entity Q3059753
relation P20
type Q56061
['Q3059753', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:Q56061 . resource:Q3059753 property:P20 ?e }
Eugène Buhan
action count
action filter_type
action find
entity Eugène Buhan
relation place of death
type administrative territorial entity
['Eugène Buhan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Eugène_Buhan property:place_of_death ?e }
[]
administrative territorial entity
SYSTEM
1
Q1479
(Q3059753,P20,c(Q56061))
action count
action filter_type
action find
entity Q3059753
relation P20
type Q56061
[ANSWER]
['Q3059753', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:Q56061 . resource:Q3059753 property:P20 ?e }
Bordeaux
1
action count
action filter_type
action find
entity Eugène Buhan
relation place of death
type administrative territorial entity
['Eugène Buhan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Eugène_Buhan property:place_of_death ?e }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3610281
Q56061
USER
And what about Alessandro Ruspoli, 7th Prince of Cerveteri?
(Q3610281,P20,c(Q56061))
action count
action filter_type
action find
entity Q3610281
relation P20
type Q56061
['Q3610281', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q3610281 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Alessandro Ruspoli, 7th Prince of Cerveteri
action count
action filter_type
action find
entity Alessandro Ruspoli, 7th Prince of Cerveteri
relation place of death
type administrative territorial entity
['Alessandro Ruspoli, 7th Prince of Cerveteri', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Alessandro_Ruspoli,_7th_Prince_of_Cerveteri property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q3610281,P20,c(Q56061))
action count
action filter_type
action find
entity Q3610281
relation P20
type Q56061
[ANSWER]
['Q3610281', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q3610281 property:P20 ?v . ?v rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Alessandro Ruspoli, 7th Prince of Cerveteri
relation place of death
type administrative territorial entity
['Alessandro Ruspoli, 7th Prince of Cerveteri', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Alessandro_Ruspoli,_7th_Prince_of_Cerveteri property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of around 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P417 ?r . ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?r } }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:patron_saint ?r . ?r rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?r } }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the patron saint of around 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P417 ?r . ?r rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?r } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saint of around 2 occupations
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?z = 2 ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:patron_saint ?r . ?r rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?r } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P417
Q12737077
USER
How many occupations have adopted that person as their patron saint ?
(c(Q12737077),P417,Q229190)
[{'concept': 'Q12737077'}, 'P417', 'Q229190']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q28914 resource:Q229190 . ?z rdf:type ontology:Q528892 }
[{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:patron_saint resource:Catherine_of_Siena . ?z rdf:type ontology:occupation }
[]
occupation
Quantitative|Count|Single entity type|Clarification
Q44248
SYSTEM
Did you mean Jerome ?
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q229190) (c(Q12737077),P417,Q44248)
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q229190'] [{'concept': 'Q12737077'}, 'P417', 'Q44248']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q28914 resource:Q229190 . ?z rdf:type ontology:Q528892 }
Did you mean Jerome ?
Jerome
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena'] [{'concept': 'occupation'}, 'patron saint', 'Jerome']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:patron_saint resource:Catherine_of_Siena . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Catherine of Siena. Could you tell me the answer for that?
(c(Q12737077),P417,Q229190)
Q229190
[{'concept': 'Q12737077'}, 'P417', 'Q229190']
[{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena']
[]
SYSTEM
2
Q107711 Q186360
(c(Q12737077),P417,Q229190)
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', 'Q229190']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q28914 resource:Q229190 . ?z rdf:type ontology:Q528892 }
firefighter nurse
2
[{'concept': 'occupation'}, 'patron saint', 'Catherine of Siena']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:patron_saint resource:Catherine_of_Siena . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15416
USER
Which television programs did max number of people dub for ?
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?n ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?t ) WHERE { ?y property:P725 ?i . ?y rdf:type ontology:Q15416 . ?i rdf:type ontology:Q502895 } GROUP BY ?y } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { ?w rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 . ?w property:P725 ?x } GROUP BY ?w } . FILTER ( ?m = ?n ) }
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?n ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?t ) WHERE { ?y property:voice_actor ?i . ?y rdf:type ontology:television_program . ?i rdf:type ontology:common_name } GROUP BY ?y } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { ?w rdf:type ontology:television_program . ?x rdf:type ontology:common_name . ?w property:voice_actor ?x } GROUP BY ?w } . FILTER ( ?m = ?n ) }
[]
common name television program
Q23558
SYSTEM
House
Q23558
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
Max number of people dubbed [ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?n ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?t ) WHERE { ?y property:P725 ?i . ?y rdf:type ontology:Q15416 . ?i rdf:type ontology:Q502895 } GROUP BY ?y } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { ?w rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 . ?w property:P725 ?x } GROUP BY ?w } . FILTER ( ?m = ?n ) }
House
Max number of people dubbed House
House
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?n ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?t ) WHERE { ?y property:voice_actor ?i . ?y rdf:type ontology:television_program . ?i rdf:type ontology:common_name } GROUP BY ?y } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?m ) WHERE { ?w rdf:type ontology:television_program . ?x rdf:type ontology:common_name . ?w property:voice_actor ?x } GROUP BY ?w } . FILTER ( ?m = ?n ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23558 Q7375621 Q2301339
P161
Q502895
USER
Does Rua Isobel Gardner and Charlyne Yi star in House ?
(Q23558,P161,Q7375621) (Q23558,P161,Q2301339)
action is_in
entity Q23558
action intersection
action find_reverse
entity Q7375621
relation P161
action find_reverse
entity Q2301339
relation P161
['Q23558', 'P161', 'Q7375621'] ['Q23558', 'P161', 'Q2301339']
ASK WHERE { resource:Q23558 property:P161 resource:Q7375621 . resource:Q23558 property:P161 resource:Q2301339 }
House Rua Isobel Gardner Charlyne Yi
action is_in
entity House
action intersection
action find_reverse
entity Rua Isobel Gardner
relation cast member
action find_reverse
entity Charlyne Yi
relation cast member
['House', 'cast member', 'Rua Isobel Gardner'] ['House', 'cast member', 'Charlyne Yi']
ASK WHERE { resource:House property:cast_member resource:Rua_Isobel_Gardner . resource:House property:cast_member resource:Charlyne_Yi }
[]
common name
SYSTEM
NO and YES respectively
(Q23558,P161,Q7375621) (Q23558,P161,Q2301339)
action is_in
entity Q23558
action intersection
action find_reverse
entity Q7375621
relation P161
action find_reverse
entity Q2301339
relation P161
[ANSWER]
['Q23558', 'P161', 'Q7375621'] ['Q23558', 'P161', 'Q2301339']
ASK WHERE { resource:Q23558 property:P161 resource:Q7375621 . resource:Q23558 property:P161 resource:Q2301339 }
NO and YES respectively
action is_in
entity House
action intersection
action find_reverse
entity Rua Isobel Gardner
relation cast member
action find_reverse
entity Charlyne Yi
relation cast member
['House', 'cast member', 'Rua Isobel Gardner'] ['House', 'cast member', 'Charlyne Yi']
ASK WHERE { resource:House property:cast_member resource:Rua_Isobel_Gardner . resource:House property:cast_member resource:Charlyne_Yi }
[]