Simple Question (Direct)
Simple Question
Q188838
P1196
Q1931388
USER
What manner did Roberto Arlt die ?
(Q188838,P1196,c(Q1931388))
action filter_type
action find
entity Q188838
relation P1196
type Q1931388
['Q188838', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q188838 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
Roberto Arlt
action filter_type
action find
entity Roberto Arlt
relation manner of death
type cause of death
['Roberto Arlt', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Roberto_Arlt property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q188838,P1196,c(Q1931388))
action filter_type
action find
entity Q188838
relation P1196
type Q1931388
Roberto Arlt died in [ANSWER]
['Q188838', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q188838 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
natural causes
Roberto Arlt died in natural causes
natural causes
action filter_type
action find
entity Roberto Arlt
relation manner of death
type cause of death
['Roberto Arlt', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Roberto_Arlt property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188838
P50
Q2342494
USER
Which collectables were written by Roberto Arlt ?
(c(Q2342494),P50,Q188838)
action filter_type
action find_reverse
entity Q188838
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q188838']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2342494 . ?l property:P50 resource:Q188838 }
Roberto Arlt
action filter_type
action find_reverse
entity Roberto Arlt
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Roberto Arlt']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:collectable . ?l property:author resource:Roberto_Arlt }
[]
collectable
Q5352372 Q3794163 Q6683419
SYSTEM
El amor brujo, Mad Toy, Los lanzallamas
Q5352372 Q3794163 Q6683419
(c(Q2342494),P50,Q188838)
action filter_type
action find_reverse
entity Q188838
relation P50
type Q2342494
[ANSWERS] were written by Roberto Arlt
[{'concept': 'Q2342494'}, 'P50', 'Q188838']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2342494 . ?l property:P50 resource:Q188838 }
El amor brujo Mad Toy Los lanzallamas
El amor brujo, Mad Toy and Los lanzallamas were written by Roberto Arlt
El amor brujo Mad Toy Los lanzallamas
action filter_type
action find_reverse
entity Roberto Arlt
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Roberto Arlt']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:collectable . ?l property:author resource:Roberto_Arlt }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5352372
P136
Q1792379
USER
What can be considered as category for that collectable ?
(Q5352372,P136,c(Q1792379))
action filter_type
action find
entity Q5352372
relation P136
type Q1792379
['Q5352372', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q5352372 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
El amor brujo
action filter_type
action find
entity El amor brujo
relation genre
type art genre
['El amor brujo', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:El_amor_brujo property:genre ?q . ?q rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q5352372
SYSTEM
Did you mean El amor brujo ?
Q5352372 Q3794163 Q6683419
(Q5352372,P136,c(Q1792379)) (Q3794163,P136,c(Q1792379)) (Q6683419,P136,c(Q1792379))
[ANSWER]
['Q5352372', 'P136', {'concept': 'Q1792379'}] ['Q3794163', 'P136', {'concept': 'Q1792379'}] ['Q6683419', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q5352372 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
El amor brujo Mad Toy Los lanzallamas
Did you mean El amor brujo ?
El amor brujo
['El amor brujo', 'genre', {'concept': 'art genre'}] ['Mad Toy', 'genre', {'concept': 'art genre'}] ['Los lanzallamas', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:El_amor_brujo property:genre ?q . ?q rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5352372,P136,c(Q1792379))
['Q5352372', 'P136', {'concept': 'Q1792379'}]
['El amor brujo', 'genre', {'concept': 'art genre'}]
[]
Q8261
SYSTEM
novel
Q8261
(Q5352372,P136,c(Q1792379))
action filter_type
action find
entity Q5352372
relation P136
type Q1792379
A [ANSWER] can be considered as category for that collectable
['Q5352372', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q5352372 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
novel
A novel can be considered as category for that collectable
novel
action filter_type
action find
entity El amor brujo
relation genre
type art genre
['El amor brujo', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:El_amor_brujo property:genre ?q . ?q rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8261
P101
Q502895
USER
Which people have his/her area as that art genre ?
(c(Q502895),P101,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q8261']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q8261 . ?c rdf:type ontology:Q502895 }
novel
action filter_type
action find_reverse
entity novel
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novel']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:novel . ?c rdf:type ontology:common_name }
[]
common name
Q16857297 Q27679413
SYSTEM
Charlotte Anne Eaton, Kiran Manral
Q16857297 Q27679413
(c(Q502895),P101,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P101
type Q502895
[ANSWERS] have his/her area as that art genre
[{'concept': 'Q502895'}, 'P101', 'Q8261']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q8261 . ?c rdf:type ontology:Q502895 }
Charlotte Anne Eaton Kiran Manral
Charlotte Anne Eaton and Kiran Manral have his/her area as that art genre
Charlotte Anne Eaton Kiran Manral
action filter_type
action find_reverse
entity novel
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novel']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:novel . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 1322 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1322
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?g >= 1322 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1322
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?g >= 1322 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1322
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?g >= 1322 ) }
bass guitar piano trumpet violin organ drum kit
6
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1322
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?g >= 1322 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications had exactly 4 people as the dubbing artist ?
(c(Q166142),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 4
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?g ) WHERE { ?s property:P725 ?k . ?s rdf:type ontology:Q166142 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?g = 4 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type application
type common name
value 4
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?g ) WHERE { ?s property:voice_actor ?k . ?s rdf:type ontology:application . ?k rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?g = 4 ) }
[]
common name application
SYSTEM
3
Q16031150 Q15588417 Q27863
(c(Q166142),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 4
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?g ) WHERE { ?s property:P725 ?k . ?s rdf:type ontology:Q166142 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?g = 4 ) }
Hyperdimension Neptunia PP Project 575 Sword Art Online
3
action count
action equal
action find_tuple_counts
relation voice actor
type application
type common name
value 4
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?g ) WHERE { ?s property:voice_actor ?k . ?s rdf:type ontology:application . ?k rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?g = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16857297
P921
Q191067
USER
Which article was primarily based on Charlotte Anne Eaton ?
(c(Q191067),P921,Q16857297)
action filter_type
action find_reverse
entity Q16857297
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q16857297']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q16857297 . ?y rdf:type ontology:Q191067 }
Charlotte Anne Eaton
action filter_type
action find_reverse
entity Charlotte Anne Eaton
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Charlotte Anne Eaton']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Charlotte_Anne_Eaton . ?y rdf:type ontology:article }
[]
article
Q19114945
SYSTEM
Waldie, Charlotte Ann (DNB00)
Q19114945
(c(Q191067),P921,Q16857297)
action filter_type
action find_reverse
entity Q16857297
relation P921
type Q191067
[ANSWER] was primarily based on Charlotte Anne Eaton
[{'concept': 'Q191067'}, 'P921', 'Q16857297']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q16857297 . ?y rdf:type ontology:Q191067 }
Waldie, Charlotte Ann (DNB00)
Waldie, Charlotte Ann (DNB00) was primarily based on Charlotte Anne Eaton
Waldie, Charlotte Ann (DNB00)
action filter_type
action find_reverse
entity Charlotte Anne Eaton
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Charlotte Anne Eaton']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Charlotte_Anne_Eaton . ?y rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16857297
P9
Q502895
USER
Which person has Charlotte Anne Eaton as their sibling ?
(c(Q502895),P9,Q16857297)
action filter_type
action find
entity Q16857297
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q16857297']
SELECT DISTINCT ?q WHERE { resource:Q16857297 property:P9 ?q . ?q rdf:type ontology:Q502895 }
Charlotte Anne Eaton
action filter_type
action find
entity Charlotte Anne Eaton
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Charlotte Anne Eaton']
SELECT DISTINCT ?q WHERE { resource:Charlotte_Anne_Eaton property:sister ?q . ?q rdf:type ontology:common_name }
[]
common name
Q18529980
SYSTEM
Jane Watts
Q18529980
(c(Q502895),P9,Q16857297)
action filter_type
action find
entity Q16857297
relation P9
type Q502895
[ANSWER] has Charlotte Anne Eaton as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q16857297']
SELECT DISTINCT ?q WHERE { resource:Q16857297 property:P9 ?q . ?q rdf:type ontology:Q502895 }
Jane Watts
Jane Watts has Charlotte Anne Eaton as their sibling
Jane Watts
action filter_type
action find
entity Charlotte Anne Eaton
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Charlotte Anne Eaton']
SELECT DISTINCT ?q WHERE { resource:Charlotte_Anne_Eaton property:sister ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3739104
P1196
Q16521 Q82799
USER
How many taxons or names died as natural causes ?
(c(Q16521),P1196,Q3739104) (c(Q82799),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q16521
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q82799
[{'concept': 'Q16521'}, 'P1196', 'Q3739104'] [{'concept': 'Q82799'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q16521 ) } . ?n rdf:type ?f }
natural causes
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type taxon
action filter_type
action find_reverse
entity natural causes
relation manner of death
type name
[{'concept': 'taxon'}, 'manner of death', 'natural causes'] [{'concept': 'name'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { VALUES ( ?f ) { ( ontology:name ) ( ontology:taxon ) } . ?n rdf:type ?f }
[]
taxon name
SYSTEM
6
Q2880212 Q11536769 Q11357459 Q11357498 Q6864661 Q809222
(c(Q16521),P1196,Q3739104) (c(Q82799),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q16521
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q82799
[ANSWER]
[{'concept': 'Q16521'}, 'P1196', 'Q3739104'] [{'concept': 'Q82799'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q16521 ) } . ?n rdf:type ?f }
Miss Baker Harukoma Katsura Umesuke San'yūtei Enjaku San'yūtei Ming Ming Bart the Bear
6
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type taxon
action filter_type
action find_reverse
entity natural causes
relation manner of death
type name
[{'concept': 'taxon'}, 'manner of death', 'natural causes'] [{'concept': 'name'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { VALUES ( ?f ) { ( ontology:name ) ( ontology:taxon ) } . ?n rdf:type ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q483994
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as Kazoo ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ontology:Q34379 . resource:Q483994 property:P1303 ?i } } . FILTER ( ?w = ?z ) }
Kazoo
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ontology:musical_instrument . resource:Kazoo property:instrument ?i } } . FILTER ( ?w = ?z ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as Kazoo
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ontology:Q34379 . resource:Q483994 property:P1303 ?i } } . FILTER ( ?w = ?z ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can approximately the same number of people perform with as Kazoo
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ontology:musical_instrument . resource:Kazoo property:instrument ?i } } . FILTER ( ?w = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q644440
P1303
Q34379 Q502895
USER
And what about Lap steel guitar?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q644440
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:Q34379 . resource:Q644440 property:P1303 ?e } } . FILTER ( ?u = ?i ) . { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P1303 ?t . ?h rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } }
Lap steel guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Lap steel guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:musical_instrument . resource:Lap_steel_guitar property:instrument ?e } } . FILTER ( ?u = ?i ) . { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:instrument ?t . ?h rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q644440
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:Q34379 . resource:Q644440 property:P1303 ?e } } . FILTER ( ?u = ?i ) . { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P1303 ?t . ?h rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Lap steel guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e rdf:type ontology:musical_instrument . resource:Lap_steel_guitar property:instrument ?e } } . FILTER ( ?u = ?i ) . { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:instrument ?t . ?h rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
Which musical instruments are used as instrumentation in lesser number of concertoes than that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|More/Less|Single entity type|Clarification
Q1759986
SYSTEM
Did you mean Wurlitzer electric piano ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean Wurlitzer electric piano ?
Wurlitzer electric piano
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q9748),P870,c(Q34379))
Q81982
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
Q521151 Q80284 Q8371
SYSTEM
baryton, viola, cello
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987
(c(Q9748),P870,c(Q34379))
[ANSWERS] are used as instrumentation in lesser number of concertoes than that musical instrument
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone
Baryton, viola and cello are used as instrumentation in lesser number of concertoes than that musical instrument
baryton viola cello
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P425
Q12737077
USER
Which occupation does harpsichord belong to ?
(c(Q12737077),P425,Q81982)
action filter_type
action find
entity Q81982
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q81982']
SELECT DISTINCT ?i WHERE { resource:Q81982 property:P425 ?i . ?i rdf:type ontology:Q12737077 }
harpsichord
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'harpsichord']
SELECT DISTINCT ?i WHERE { resource:harpsichord property:field_of_this_occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q5371902
SYSTEM
harpsichordist
Q5371902
(c(Q12737077),P425,Q81982)
action filter_type
action find
entity Q81982
relation P425
type Q12737077
Harpsichord belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q81982']
SELECT DISTINCT ?i WHERE { resource:Q81982 property:P425 ?i . ?i rdf:type ontology:Q12737077 }
harpsichordist
Harpsichord belongs to harpsichordist
harpsichordist
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'harpsichord']
SELECT DISTINCT ?i WHERE { resource:harpsichord property:field_of_this_occupation ?i . ?i rdf:type ontology:occupation }
[]