Simple Question (Direct)
Simple Question
Q20085164
P7
Q502895
USER
Which person is the brother of Charlotte Callon ?
(Q20085164,P7,c(Q502895))
action filter_type
action find
entity Q20085164
relation P7
type Q502895
['Q20085164', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q20085164 property:P7 ?h }
Charlotte Callon
action filter_type
action find
entity Charlotte Callon
relation brother
type common name
['Charlotte Callon', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Charlotte_Callon property:brother ?h }
[]
common name
Q20085082
SYSTEM
Édouard Callon
Q20085082
(Q20085164,P7,c(Q502895))
action filter_type
action find
entity Q20085164
relation P7
type Q502895
[ANSWER] is the brother of Charlotte Callon
['Q20085164', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q20085164 property:P7 ?h }
Édouard Callon
Édouard Callon is the brother of Charlotte Callon
Édouard Callon
action filter_type
action find
entity Charlotte Callon
relation brother
type common name
['Charlotte Callon', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Charlotte_Callon property:brother ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20085082
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q20085082)
action filter_type
action find_reverse
entity Q20085082
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q20085082']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q20085082 . ?d rdf:type ontology:Q502895 }
Édouard Callon
action filter_type
action find_reverse
entity Édouard Callon
relation child
type common name
[{'concept': 'common name'}, 'child', 'Édouard Callon']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Édouard_Callon . ?d rdf:type ontology:common_name }
[]
common name
Q20085146 Q20085183
SYSTEM
Charles Callon, Marie Messier
Q20085146 Q20085183
(c(Q502895),P40,Q20085082)
action filter_type
action find_reverse
entity Q20085082
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q20085082']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q20085082 . ?d rdf:type ontology:Q502895 }
Charles Callon Marie Messier
Charles Callon and Marie Messier have that one as an offspring
Charles Callon Marie Messier
action filter_type
action find_reverse
entity Édouard Callon
relation child
type common name
[{'concept': 'common name'}, 'child', 'Édouard Callon']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Édouard_Callon . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 400 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 400
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?y >= 400 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 400
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?y >= 400 ) }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 400
[ANSWERS] can atleast 400 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?y >= 400 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
Piano, bass guitar and double bass can atleast 400 people perform with
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 400
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?y >= 400 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20085146
P22
Q502895
USER
How many people have Charles Callon as father ?
(c(Q502895),P22,Q20085146)
action count
action filter_type
action find_reverse
entity Q20085146
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q20085146']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P22 resource:Q20085146 . ?c rdf:type ontology:Q502895 }
Charles Callon
action count
action filter_type
action find_reverse
entity Charles Callon
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles Callon']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:father resource:Charles_Callon . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q20085082 Q20085164
(c(Q502895),P22,Q20085146)
action count
action filter_type
action find_reverse
entity Q20085146
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q20085146']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P22 resource:Q20085146 . ?c rdf:type ontology:Q502895 }
Édouard Callon Charlotte Callon
2
action count
action filter_type
action find_reverse
entity Charles Callon
relation father
type common name
[{'concept': 'common name'}, 'father', 'Charles Callon']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:father resource:Charles_Callon . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20085146
P22
Q502895
USER
Who was the father of that one ?
action filter_type
action find
entity Q20085146
relation P22
type Q502895
SELECT DISTINCT ?l WHERE { resource:Q20085146 property:P22 ?l . ?l rdf:type ontology:Q502895 }
Charles Callon
action filter_type
action find
entity Charles Callon
relation father
type common name
SELECT DISTINCT ?l WHERE { resource:Charles_Callon property:father ?l . ?l rdf:type ontology:common_name }
[]
common name
Q20085152
SYSTEM
Pierre-Nicolas Callon
Q20085152
action filter_type
action find
entity Q20085146
relation P22
type Q502895
The father of that one was [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q20085146 property:P22 ?l . ?l rdf:type ontology:Q502895 }
Pierre-Nicolas Callon
The father of that one was Pierre-Nicolas Callon
Pierre-Nicolas Callon
action filter_type
action find
entity Charles Callon
relation father
type common name
SELECT DISTINCT ?l WHERE { resource:Charles_Callon property:father ?l . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7615342
P725
Q502895 Q15961987
USER
Which television genres had lesser number of people as the dubbing artist than Steven Universe ?
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q7615342
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { ?s property:P725 ?x . ?s rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q7615342 property:P725 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?o < ?f ) }
Steven Universe
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Steven Universe
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { ?s property:voice_actor ?x . ?s rdf:type ontology:television_genre . ?x rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Steven_Universe property:voice_actor ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?o < ?f ) }
[]
common name television genre
Q886 Q11572 Q24034511
SYSTEM
The Simpsons, Avatar: The Last Airbender, Voltron: Legendary Defender
Q11572 Q24034511 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q7615342
relation P725
type Q502895
[ANSWERS] had lesser number of people as the dubbing artist than Steven Universe
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { ?s property:P725 ?x . ?s rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q7615342 property:P725 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?o < ?f ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Simpsons The Garfield Show Hellsing Ultimate
The Simpsons, Avatar: The Last Airbender and Voltron: Legendary Defender had lesser number of people as the dubbing artist than Steven Universe
The Simpsons Avatar: The Last Airbender Voltron: Legendary Defender
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Steven Universe
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?o ) WHERE { ?s property:voice_actor ?x . ?s rdf:type ontology:television_genre . ?x rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Steven_Universe property:voice_actor ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?o < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q871633
P180
Q34379 Q386724 Q838948
USER
Which musical instruments are expressed in approximately the same number of works or works of art as Handbell ?
(c(Q386724)|c(Q838948),P180,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q871633
relation P180
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P180 resource:Q871633 . { { ?o rdf:type ontology:Q386724 } UNION { ?o rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?r WHERE { { ?w property:P180 ?r . ?r rdf:type ontology:Q34379 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P180 ?r . ?r rdf:type ontology:Q34379 . ?w rdf:type ontology:Q838948 } } GROUP BY ?r } }
Handbell
action approx
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
action count
action filter_multi_types
action find_reverse
entity Handbell
relation depicts
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:depicts resource:Handbell . { { ?o rdf:type ontology:work } UNION { ?o rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?r WHERE { { ?w property:depicts ?r . ?r rdf:type ontology:musical_instrument . ?w rdf:type ontology:work } UNION { ?w property:depicts ?r . ?r rdf:type ontology:musical_instrument . ?w rdf:type ontology:work_of_art } } GROUP BY ?r } }
[]
musical instrument work work of art
Q5994 Q81982 Q218547
SYSTEM
piano, harpsichord, Sigismund Bell
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1148709 Q1141589 Q426948 Q871633 Q3500690 Q80019 Q11404 Q1798603
(c(Q386724)|c(Q838948),P180,c(Q34379))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q871633
relation P180
type Q386724
type Q838948
[ANSWERS] are expressed in approximately the same number of works or works of art as Handbell
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P180 resource:Q871633 . { { ?o rdf:type ontology:Q386724 } UNION { ?o rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?r WHERE { { ?w property:P180 ?r . ?r rdf:type ontology:Q34379 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P180 ?r . ?r rdf:type ontology:Q34379 . ?w rdf:type ontology:Q838948 } } GROUP BY ?r } }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument grand piano Crotales sistrum Handbell Church bell double bass drum string instrument
Piano, harpsichord and Sigismund Bell are expressed in approximately the same number of works or works of art as Handbell
piano harpsichord Sigismund Bell
action approx
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
action count
action filter_multi_types
action find_reverse
entity Handbell
relation depicts
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:depicts resource:Handbell . { { ?o rdf:type ontology:work } UNION { ?o rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?r WHERE { { ?w property:depicts ?r . ?r rdf:type ontology:musical_instrument . ?w rdf:type ontology:work } UNION { ?w property:depicts ?r . ?r rdf:type ontology:musical_instrument . ?w rdf:type ontology:work_of_art } } GROUP BY ?r } }
[]