Simple Question (Direct)
Simple Question
Q6223335
P21
Q290
USER
What is the sex of John Bromley ?
(Q6223335,P21,c(Q290))
action filter_type
action find
entity Q6223335
relation P21
type Q290
['Q6223335', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q6223335 property:P21 ?y . ?y rdf:type ontology:Q290 }
John Bromley
action filter_type
action find
entity John Bromley
relation gender
type sex
['John Bromley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:John_Bromley property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6223335,P21,c(Q290))
action filter_type
action find
entity Q6223335
relation P21
type Q290
The sex of John Bromley is the [ANSWER]
['Q6223335', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q6223335 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of John Bromley is the male
male
action filter_type
action find
entity John Bromley
relation gender
type sex
['John Bromley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:John_Bromley property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Which person was educated at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was educated at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P69 resource:Q6581097 }
Aaron Parchem
Aaron Parchem was educated at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:educated_at resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:Q502895 . ?s rdf:type ontology:Q34379 . ?r property:P1303 ?s } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { ?q rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?q } GROUP BY ?q } . FILTER ( ?g = ?y ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:common_name . ?s rdf:type ontology:musical_instrument . ?r property:instrument ?s } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { ?q rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?q } GROUP BY ?q } . FILTER ( ?g = ?y ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:Q502895 . ?s rdf:type ontology:Q34379 . ?r property:P1303 ?s } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { ?q rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?q } GROUP BY ?q } . FILTER ( ?g = ?y ) }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?y ) { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:common_name . ?s rdf:type ontology:musical_instrument . ?r property:instrument ?s } GROUP BY ?s } } . { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?g ) WHERE { ?q rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?q } GROUP BY ?q } . FILTER ( ?g = ?y ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5994 Q301597
P61
Q502895
USER
Did Bartolomeo Cristofori discover or invented that musical instrument ?
(Q5994,P61,Q301597)
action is_in
entity Q301597
action find
entity Q5994
relation P61
['Q5994', 'P61', 'Q301597']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 }
piano Bartolomeo Cristofori
action is_in
entity Bartolomeo Cristofori
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori }
[]
common name
SYSTEM
YES
(Q5994,P61,Q301597)
action is_in
entity Q301597
action find
entity Q5994
relation P61
[ANSWER]
['Q5994', 'P61', 'Q301597']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 }
Yes
action is_in
entity Bartolomeo Cristofori
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6223335
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of John Bromley ?
(Q6223335,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6223335
relation P27
type Q15617994
['Q6223335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q6223335 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
John Bromley
action count
action filter_type
action find
entity John Bromley
relation country of citizenship
type designation for an administrative territorial entity
['John Bromley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:John_Bromley property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q6223335,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6223335
relation P27
type Q15617994
[ANSWER]
['Q6223335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q6223335 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity John Bromley
relation country of citizenship
type designation for an administrative territorial entity
['John Bromley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:John_Bromley property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q16106904
P27
Q15617994
USER
And how about Sally Clausen?
(Q16106904,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16106904
relation P27
type Q15617994
['Q16106904', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q16106904 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Sally Clausen
action count
action filter_type
action find
entity Sally Clausen
relation country of citizenship
type designation for an administrative territorial entity
['Sally Clausen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Sally_Clausen property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q16106904,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16106904
relation P27
type Q15617994
[ANSWER]
['Q16106904', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q16106904 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Sally Clausen
relation country of citizenship
type designation for an administrative territorial entity
['Sally Clausen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Sally_Clausen property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6112522
Q15617994
USER
And what about Rosendo García-Ramos y Bretillard?
(Q6112522,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6112522
relation P27
type Q15617994
['Q6112522', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q6112522 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Rosendo García-Ramos y Bretillard
action count
action filter_type
action find
entity Rosendo García-Ramos y Bretillard
relation country of citizenship
type designation for an administrative territorial entity
['Rosendo García-Ramos y Bretillard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Rosendo_García-Ramos_y_Bretillard property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6112522,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6112522
relation P27
type Q15617994
[ANSWER]
['Q6112522', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q6112522 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Rosendo García-Ramos y Bretillard
relation country of citizenship
type designation for an administrative territorial entity
['Rosendo García-Ramos y Bretillard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Rosendo_García-Ramos_y_Bretillard property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 ?p . ?i rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 . ?v property:P1303 ?w } GROUP BY ?w } . FILTER ( ?c = ?t ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument ?p . ?i rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument . ?v property:instrument ?w } GROUP BY ?w } . FILTER ( ?c = ?t ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 ?p . ?i rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 . ?v property:P1303 ?w } GROUP BY ?w } . FILTER ( ?c = ?t ) }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument ?p . ?i rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } } . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument . ?v property:instrument ?w } GROUP BY ?w } . FILTER ( ?c = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P870
Q862597
USER
Which musical forms use piano as a musical instrument ?
(c(Q862597),P870,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P870
type Q862597
[{'concept': 'Q862597'}, 'P870', 'Q5994']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q862597 . ?u property:P870 resource:Q5994 }
piano
action filter_type
action find_reverse
entity piano
relation instrumentation
type musical form
[{'concept': 'musical form'}, 'instrumentation', 'piano']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_form . ?u property:instrumentation resource:piano }
[]
musical form
Q729630 Q3413524 Q2115452
SYSTEM
Capriol Suite, Quatre études, Op. 7, Prelude in C-sharp minor
Q3053508 Q16738512 Q2622524 Q3592579 Q512715 Q2115452 Q908855 Q2702922 Q4379929 Q147076 Q374316 Q3878967 Q147563 Q1785955 Q872318 Q716195 Q1144746 Q3503219 Q3592623 Q1148572 Q729630 Q3408990 Q755485 Q1420025 Q1367599 Q807908 Q1479539 Q147265 Q169102 Q1646954 Q727987 Q4467040 Q186871 Q2286693 Q732949 Q7046547 Q16739831 Q3910274 Q5370249 Q3910271 Q3910273 Q3910272 Q2610275 Q3941124 Q3274388 Q1305937 Q3032592 Q3267212 Q3015518 Q6466022 Q291011 Q2452291 Q7235697 Q3015689 Q1637202 Q147244 Q608472 Q147005 Q16740882 Q1819366 Q155132 Q392498 Q146977 Q3033966 Q6466152 Q2038498 Q1060858 Q3490278 Q742772 Q15841142 Q147031 Q1217651 Q2424993 Q791013 Q2530460 Q3561058 Q7811958 Q2572020 Q1636510 Q3413524 Q217297 Q1340297 Q724981 Q1305653 Q1008459 Q557467 Q7063774 Q8843614 Q147619 Q147543 Q7240107 Q6143178 Q2956422 Q200086 Q147098 Q6957221
(c(Q862597),P870,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P870
type Q862597
In [ANSWERS] use piano as a musical instrument
[{'concept': 'Q862597'}, 'P870', 'Q5994']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q862597 . ?u property:P870 resource:Q5994 }
En blanc et noir Nocturne No. 6 in G minor, Op. 15, No. 3 Humoresques Étude in D-sharp minor, Op. 8, No. 12 Préludes Prelude in C-sharp minor Toccata Suite No. 2 Scherzo no. 4 in E major, op. 54 Étude Op. 10, No. 4 Symphonic Studies Nocturne No. 5 in F-sharp major, Op. 15, No. 2 Étude Op. 25, No. 12 Ballade No. 2 in F major, Op. 38 The Virtuoso Pianist in 60 Exercises Out of Doors La campanella Suite for Piano Études Prelude, Op. 28, No. 15 Capriol Suite Prelude, Chorale and Fugue Two Concert Études Ludus Tonalis Suite bergamasque Barcarole Variations on a Theme of Paganini Étude Op. 10, No. 12 Preludes, Op. 23 (Rachmaninoff) Toccata Rondo in C minor, op. 1 Ballade No. 4 in F minor, Op. 52 Preludes, Op. 32 (Rachmaninoff) Le chemin de fer Songs Without Words Nocturne No. 20 in C-sharp minor, Op. posth. Nocturne No. 2 in E-flat major, Op. 9, No. 2 Prélude no. 7 in A major, op. 28 Embryons desséchés Prélude no. 20 in C minor, op. 28 Prélude no. 6 in B minor, op. 28 Prélude no. 3 in G major, op. 28 Iberia Rondo à la mazur in F major, Op. 5 Scherzo no. 3 in C-sharp minor, op. 39 Trois mouvements de Petrouchka Legends Scherzo no. 2 in B-flat minor, op. 31 In the Mists La cathédrale engloutie Transcendental Études Triakontameron Pour le piano Symphonic Dances Humoreske Étude Op. 10, No. 11 Suite for Cello and Piano Étude Op. 10, No. 2 Nocturne No. 8 in D-flat major, Op. 27, No. 2 Le tombeau de Couperin Variations on a Theme of Corelli Three Preludes Étude Op. 10, No. 1 Dolly La fille aux cheveux de lin Ballade No. 1 in G minor, Op. 23 Nocturne No. 4 in F major, Op. 15, No. 1 Sonatina in G major 24 Preludes and Fugues Prelude [No. 25] in C-sharp minor, Op. 45 Étude Op. 10, No. 3 Rage Over a Lost Penny Ballade No. 3 in A-flat major, Op. 47 Romanian Folk Dances Voiles Visions de l'Amen Toccata Estampes Scherzo no. 1 in B minor, op. 20 Quatre études, Op. 7 24 Preludes, Op. 11 Visions fugitives Pictures at an Exhibition Piano Trio No. 4 Gaspard de la nuit Invitation to the Dance Notturno Transcendental Étude No. 4 (Liszt) Fantaisie-impromptu in C-sharp minor, op. 66 Étude Op. 25, No. 11 Preludes Studies on Chopin's Études Chants d'Espagne Études-Tableaux Étude Op. 10, No. 5 Nachtstücke
In Capriol Suite, Quatre études, Op. 7 and Prelude in C-sharp minor use piano as a musical instrument
Capriol Suite Quatre études, Op. 7 Prelude in C-sharp minor
action filter_type
action find_reverse
entity piano
relation instrumentation
type musical form
[{'concept': 'musical form'}, 'instrumentation', 'piano']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_form . ?u property:instrumentation resource:piano }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P106
Q502895
USER
Which person has the profession as piano ?
(c(Q502895),P106,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q5994']
SELECT DISTINCT ?o WHERE { ?o property:P106 resource:Q5994 . ?o rdf:type ontology:Q502895 }
piano
action filter_type
action find_reverse
entity piano
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'piano']
SELECT DISTINCT ?o WHERE { ?o property:occupation resource:piano . ?o rdf:type ontology:common_name }
[]
common name
Q12261098
SYSTEM
Judith Jauregi
Q12261098
(c(Q502895),P106,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P106
type Q502895
[ANSWER] has the profession as piano
[{'concept': 'Q502895'}, 'P106', 'Q5994']
SELECT DISTINCT ?o WHERE { ?o property:P106 resource:Q5994 . ?o rdf:type ontology:Q502895 }
Judith Jauregi
Judith Jauregi has the profession as piano
Judith Jauregi
action filter_type
action find_reverse
entity piano
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'piano']
SELECT DISTINCT ?o WHERE { ?o property:occupation resource:piano . ?o rdf:type ontology:common_name }
[]