Simple Question (Direct)
Simple Question
Q9253490
P607
Q198
USER
What was the war that Emil Gruszecki took part in
(Q9253490,P607,c(Q198))
action filter_type
action find
entity Q9253490
relation P607
type Q198
['Q9253490', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q9253490 property:P607 ?b . ?b rdf:type ontology:Q198 }
Emil Gruszecki
action filter_type
action find
entity Emil Gruszecki
relation conflict
type war
['Emil Gruszecki', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:Emil_Gruszecki property:conflict ?b . ?b rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q9253490,P607,c(Q198))
action filter_type
action find
entity Q9253490
relation P607
type Q198
The war that Emil Gruszecki took part in was in [ANSWER]
['Q9253490', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { resource:Q9253490 property:P607 ?b . ?b rdf:type ontology:Q198 }
World War I
The war that Emil Gruszecki took part in was in World War I
World War I
action filter_type
action find
entity Emil Gruszecki
relation conflict
type war
['Emil Gruszecki', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { resource:Emil_Gruszecki property:conflict ?b . ?b rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9253490
P21
Q290
USER
Which sex does that person belong to ?
(Q361,P21,c(Q290))
action filter_type
action find
entity Q9253490
relation P21
type Q290
['Q361', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q9253490 property:P21 ?q . ?q rdf:type ontology:Q290 }
Emil Gruszecki
action filter_type
action find
entity Emil Gruszecki
relation gender
type sex
['World War I', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Emil_Gruszecki property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q361,P21,c(Q290))
action filter_type
action find
entity Q9253490
relation P21
type Q290
That person belongs to [ANSWER]
['Q361', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q9253490 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Emil Gruszecki
relation gender
type sex
['World War I', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Emil_Gruszecki property:gender ?q . ?q rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q704350
P21
Q502895
USER
Is Félix Porteiro a that sex ?
(Q704350,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q704350
relation P21
['Q704350', 'P21', 'Q6581097']
ASK WHERE { resource:Q704350 property:P21 resource:Q6581097 }
male Félix Porteiro
action is_in
entity male
action find
entity Félix Porteiro
relation gender
['Félix Porteiro', 'gender', 'male']
ASK WHERE { resource:Félix_Porteiro property:gender resource:male }
[]
common name
SYSTEM
YES
(Q704350,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q704350
relation P21
[ANSWER]
['Q704350', 'P21', 'Q6581097']
ASK WHERE { resource:Q704350 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Félix Porteiro
relation gender
['Félix Porteiro', 'gender', 'male']
ASK WHERE { resource:Félix_Porteiro property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q644440
P1303
Q34379 Q502895
USER
Which musical instruments do approximately the same number of people know to play as 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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q644440 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?o = ?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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Lap_steel_guitar property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?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] approximately the same number of people know to play as Lap steel guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q644440 property:P1303 ?n . ?n rdf:type ontology:Q34379 } } . FILTER ( ?o = ?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 and Wurlitzer electric piano approximately the same number of people know to play as Lap steel guitar
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Lap_steel_guitar property:instrument ?n . ?n rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?t ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P870
Q34379 Q15850590 Q9748
USER
Which musical instruments are used as instrumentation in lesser number of theatrical genres or concertoes than that musical instrument ?
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q9748 }
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:concerto }
[]
musical instrument theatrical genre concerto
Comparative|More/Less|Mult. entity type|Clarification
Q1759986
SYSTEM
Did you mean Wurlitzer electric piano ?
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q9748 }
Did you mean Wurlitzer electric piano ?
Wurlitzer electric piano
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:concerto }
[]
Comparative Reasoning (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q15850590)|c(Q9748),P870,c(Q34379))
Q81982
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
[[{'concept': 'theatrical genre'}, {'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 Q39777 Q11404 Q206987
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[ANSWERS] are used as instrumentation in lesser number of theatrical genres or concertoes than that musical instrument
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q9748 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta maraca drum vibraphone
Baryton, viola and cello are used as instrumentation in lesser number of theatrical genres or concertoes than that musical instrument
baryton viola cello
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:concerto }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q521151
P870
Q20937557
USER
Which series has baryton as a musical instrument ?
(c(Q20937557),P870,Q521151)
action filter_type
action find_reverse
entity Q521151
relation P870
type Q20937557
[{'concept': 'Q20937557'}, 'P870', 'Q521151']
SELECT DISTINCT ?s WHERE { ?s property:P870 resource:Q521151 . ?s rdf:type ontology:Q20937557 }
baryton
action filter_type
action find_reverse
entity baryton
relation instrumentation
type series
[{'concept': 'series'}, 'instrumentation', 'baryton']
SELECT DISTINCT ?s WHERE { ?s property:instrumentation resource:baryton . ?s rdf:type ontology:series }
[]
series
Q4866065
SYSTEM
Baryton trios
Q4866065
(c(Q20937557),P870,Q521151)
action filter_type
action find_reverse
entity Q521151
relation P870
type Q20937557
Trio [ANSWER] has baryton as a musical instrument
[{'concept': 'Q20937557'}, 'P870', 'Q521151']
SELECT DISTINCT ?s WHERE { ?s property:P870 resource:Q521151 . ?s rdf:type ontology:Q20937557 }
Baryton trios
Trio Baryton trios has baryton as a musical instrument
Baryton trios
action filter_type
action find_reverse
entity baryton
relation instrumentation
type series
[{'concept': 'series'}, 'instrumentation', 'baryton']
SELECT DISTINCT ?s WHERE { ?s property:instrumentation resource:baryton . ?s rdf:type ontology:series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4866065
P86
Q502895
USER
Who wrote the music for that series ?
(Q4866065,P86,c(Q502895))
action filter_type
action find
entity Q4866065
relation P86
type Q502895
['Q4866065', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q4866065 property:P86 ?f }
Baryton trios
action filter_type
action find
entity Baryton trios
relation composer
type common name
['Baryton trios', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Baryton_trios property:composer ?f }
[]
common name
Q7349
SYSTEM
Joseph Haydn
Q7349
(Q4866065,P86,c(Q502895))
action filter_type
action find
entity Q4866065
relation P86
type Q502895
[ANSWER] wrote the music for that series
['Q4866065', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q4866065 property:P86 ?f }
Joseph Haydn
Joseph Haydn wrote the music for that series
Joseph Haydn
action filter_type
action find
entity Baryton trios
relation composer
type common name
['Baryton trios', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Baryton_trios property:composer ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7349 Q18710369 Q697663
P802
Q502895
USER
Does Joseph Haydn have Jerome Dhas Varuvel and Jean-Baptiste Krumpholz as their teacher ?
(Q7349,P802,Q18710369) (Q7349,P802,Q697663)
action is_in
entity Q7349
action intersection
action find_reverse
entity Q18710369
relation P802
action find_reverse
entity Q697663
relation P802
['Q7349', 'P802', 'Q18710369'] ['Q7349', 'P802', 'Q697663']
ASK WHERE { resource:Q7349 property:P802 resource:Q18710369 . resource:Q7349 property:P802 resource:Q697663 }
Joseph Haydn Jerome Dhas Varuvel Jean-Baptiste Krumpholz
action is_in
entity Joseph Haydn
action intersection
action find_reverse
entity Jerome Dhas Varuvel
relation student
action find_reverse
entity Jean-Baptiste Krumpholz
relation student
['Joseph Haydn', 'student', 'Jerome Dhas Varuvel'] ['Joseph Haydn', 'student', 'Jean-Baptiste Krumpholz']
ASK WHERE { resource:Joseph_Haydn property:student resource:Jerome_Dhas_Varuvel . resource:Joseph_Haydn property:student resource:Jean-Baptiste_Krumpholz }
[]
common name
SYSTEM
NO and YES respectively
(Q7349,P802,Q18710369) (Q7349,P802,Q697663)
action is_in
entity Q7349
action intersection
action find_reverse
entity Q18710369
relation P802
action find_reverse
entity Q697663
relation P802
[ANSWER]
['Q7349', 'P802', 'Q18710369'] ['Q7349', 'P802', 'Q697663']
ASK WHERE { resource:Q7349 property:P802 resource:Q18710369 . resource:Q7349 property:P802 resource:Q697663 }
NO and YES respectively
action is_in
entity Joseph Haydn
action intersection
action find_reverse
entity Jerome Dhas Varuvel
relation student
action find_reverse
entity Jean-Baptiste Krumpholz
relation student
['Joseph Haydn', 'student', 'Jerome Dhas Varuvel'] ['Joseph Haydn', 'student', 'Jean-Baptiste Krumpholz']
ASK WHERE { resource:Joseph_Haydn property:student resource:Jerome_Dhas_Varuvel . resource:Joseph_Haydn property:student resource:Jean-Baptiste_Krumpholz }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 5437 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5437
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?r <= 5437 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5437
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?r <= 5437 ) }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5437
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?r <= 5437 ) }
viola bass guitar 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 trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5437
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?r <= 5437 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7349
P50
Q15850590
USER
Which theatrical genre has Joseph Haydn as its author ?
(c(Q15850590),P50,Q7349)
action filter_type
action find_reverse
entity Q7349
relation P50
type Q15850590
[{'concept': 'Q15850590'}, 'P50', 'Q7349']
SELECT DISTINCT ?g WHERE { ?g property:P50 resource:Q7349 . ?g rdf:type ontology:Q15850590 }
Joseph Haydn
action filter_type
action find_reverse
entity Joseph Haydn
relation author
type theatrical genre
[{'concept': 'theatrical genre'}, 'author', 'Joseph Haydn']
SELECT DISTINCT ?g WHERE { ?g property:author resource:Joseph_Haydn . ?g rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q470695
SYSTEM
Lo speziale
Q470695
(c(Q15850590),P50,Q7349)
action filter_type
action find_reverse
entity Q7349
relation P50
type Q15850590
[ANSWER] has Joseph Haydn as its author
[{'concept': 'Q15850590'}, 'P50', 'Q7349']
SELECT DISTINCT ?g WHERE { ?g property:P50 resource:Q7349 . ?g rdf:type ontology:Q15850590 }
Lo speziale
Lo speziale has Joseph Haydn as its author
Lo speziale
action filter_type
action find_reverse
entity Joseph Haydn
relation author
type theatrical genre
[{'concept': 'theatrical genre'}, 'author', 'Joseph Haydn']
SELECT DISTINCT ?g WHERE { ?g property:author resource:Joseph_Haydn . ?g rdf:type ontology:theatrical_genre }
[]