Simple Question (Direct)
Simple Question
Q12813120
P57
Q502895
USER
Who directed Ugly ?
(Q12813120,P57,c(Q502895))
action filter_type
action find
entity Q12813120
relation P57
type Q502895
['Q12813120', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q12813120 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Ugly
action filter_type
action find
entity Ugly
relation director
type common name
['Ugly', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ugly property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q2839609
SYSTEM
Anurag Kashyap
Q2839609
(Q12813120,P57,c(Q502895))
action filter_type
action find
entity Q12813120
relation P57
type Q502895
[ANSWER] directed Ugly
['Q12813120', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q12813120 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Anurag Kashyap
Anurag Kashyap directed Ugly
Anurag Kashyap
action filter_type
action find
entity Ugly
relation director
type common name
['Ugly', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ugly property:director ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2839609
P26
Q502895
USER
Which people are the spouses of that one ?
(Q2839609,P26,c(Q502895))
action filter_type
action find
entity Q2839609
relation P26
type Q502895
['Q2839609', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2839609 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Anurag Kashyap
action filter_type
action find
entity Anurag Kashyap
relation spouse
type common name
['Anurag Kashyap', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Anurag_Kashyap property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q4662642 Q3192216
SYSTEM
Aarti Bajaj, Kalki Koechlin
Q4662642 Q3192216
(Q2839609,P26,c(Q502895))
action filter_type
action find
entity Q2839609
relation P26
type Q502895
[ANSWERS] are the spouses of that one
['Q2839609', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2839609 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Aarti Bajaj Kalki Koechlin
Aarti Bajaj and Kalki Koechlin are the spouses of that one
Aarti Bajaj Kalki Koechlin
action filter_type
action find
entity Anurag Kashyap
relation spouse
type common name
['Anurag Kashyap', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Anurag_Kashyap property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4662642
P21
Q290
USER
Which sex does that person possess ?
(Q4662642,P21,c(Q290))
action filter_type
action find
entity Q4662642
relation P21
type Q290
['Q4662642', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4662642 property:P21 ?v . ?v rdf:type ontology:Q290 }
Aarti Bajaj
action filter_type
action find
entity Aarti Bajaj
relation gender
type sex
['Aarti Bajaj', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Aarti_Bajaj property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q4662642
SYSTEM
Did you mean Aarti Bajaj ?
Q4662642 Q3192216
(Q4662642,P21,c(Q290)) (Q3192216,P21,c(Q290))
[ANSWER]
['Q4662642', 'P21', {'concept': 'Q290'}] ['Q3192216', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4662642 property:P21 ?v . ?v rdf:type ontology:Q290 }
Aarti Bajaj Kalki Koechlin
Did you mean Aarti Bajaj ?
Aarti Bajaj
['Aarti Bajaj', 'gender', {'concept': 'sex'}] ['Kalki Koechlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Aarti_Bajaj property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4662642,P21,c(Q290))
['Q4662642', 'P21', {'concept': 'Q290'}]
['Aarti Bajaj', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q4662642,P21,c(Q290))
action filter_type
action find
entity Q4662642
relation P21
type Q290
That person possesses the [ANSWER]
['Q4662642', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4662642 property:P21 ?v . ?v rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Aarti Bajaj
relation gender
type sex
['Aarti Bajaj', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Aarti_Bajaj property:gender ?v . ?v rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes are the sex of more number of people than that sex ?
(c(Q502895),P21,c(Q290))
action greater
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P21 ?h . ?h rdf:type ontology:Q290 . ?n rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q6581072 property:P21 ?f . ?f rdf:type ontology:Q290 } } }
action greater
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:gender ?h . ?h rdf:type ontology:sex . ?n rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:female property:gender ?f . ?f rdf:type ontology:sex } } }
[]
sex common name
Q6581097
SYSTEM
male
Q6581097
(c(Q502895),P21,c(Q290))
action greater
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER] is the sex of more number of people than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P21 ?h . ?h rdf:type ontology:Q290 . ?n rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q6581072 property:P21 ?f . ?f rdf:type ontology:Q290 } } }
male
Male is the sex of more number of people than that sex
male
action greater
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:gender ?h . ?h rdf:type ontology:sex . ?n rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?z > ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:female property:gender ?f . ?f rdf:type ontology:sex } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1300012
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than toy piano ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q1300012 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?e > ?l ) }
toy piano
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity toy piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:toy_piano property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?e > ?l ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
The [ANSWERS] are played by more number of people than toy piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q1300012 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?e > ?l ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
The piano, harpsichord and viola are played by more number of people than toy piano
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity toy piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:toy_piano property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?e > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q604538
P1303
Q34379 Q502895
USER
And how about Temple block?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q604538 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?j } }
Temple block
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Temple_block property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q604538 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?j } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Temple_block property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?j } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P61
Q502895
USER
How many people were the first persons to come up with that musical instrument ?
(Q5994,P61,c(Q502895))
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5994 property:P61 ?z . ?z rdf:type ontology:Q502895 }
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:piano property:discoverer_or_inventor ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q81982
SYSTEM
Did you mean harpsichord ?
(Q5994,P61,c(Q502895)) (Q81982,P61,c(Q502895)) (Q862501,P61,c(Q502895))
[ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}] ['Q81982', 'P61', {'concept': 'Q502895'}] ['Q862501', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5994 property:P61 ?z . ?z rdf:type ontology:Q502895 }
Did you mean harpsichord ?
harpsichord
['piano', 'discoverer or inventor', {'concept': 'common name'}] ['harpsichord', 'discoverer or inventor', {'concept': 'common name'}] ['ondes Martenot', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:piano property:discoverer_or_inventor ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant piano. Could you tell me the answer for that?
(Q5994,P61,c(Q502895))
Q5994
['Q5994', 'P61', {'concept': 'Q502895'}]
['piano', 'discoverer or inventor', {'concept': 'common name'}]
[]
SYSTEM
1
Q301597
(Q5994,P61,c(Q502895))
[ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q5994 property:P61 ?z . ?z rdf:type ontology:Q502895 }
Bartolomeo Cristofori
1
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:piano property:discoverer_or_inventor ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2839609
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Anurag Kashyap ?
(Q2839609,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2839609
relation P27
type Q15617994
['Q2839609', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q2839609 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Anurag Kashyap
action count
action filter_type
action find
entity Anurag Kashyap
relation country of citizenship
type designation for an administrative territorial entity
['Anurag Kashyap', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Anurag_Kashyap property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q2839609,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2839609
relation P27
type Q15617994
[ANSWER]
['Q2839609', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q2839609 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Anurag Kashyap
relation country of citizenship
type designation for an administrative territorial entity
['Anurag Kashyap', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Anurag_Kashyap property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2652992
Q15617994
USER
And also tell me about Marco Heering?
(Q2652992,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2652992
relation P27
type Q15617994
['Q2652992', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q2652992 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Marco Heering
action count
action filter_type
action find
entity Marco Heering
relation country of citizenship
type designation for an administrative territorial entity
['Marco Heering', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Marco_Heering property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2652992,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2652992
relation P27
type Q15617994
[ANSWER]
['Q2652992', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q2652992 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Marco Heering
relation country of citizenship
type designation for an administrative territorial entity
['Marco Heering', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Marco_Heering property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q862597 Q207628
USER
How many musical instruments are used as instrumentation in around 33 musical forms and musical compositions ?
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
value 33
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?u ) WHERE { { ?v property:P870 ?a . ?a rdf:type ontology:Q34379 . ?v rdf:type ontology:Q862597 } UNION { ?v property:P870 ?a . ?v rdf:type ontology:Q207628 . ?a rdf:type ontology:Q34379 } } GROUP BY ?a } . FILTER ( ?u = 33 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
value 33
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?u ) WHERE { { ?v property:instrumentation ?a . ?a rdf:type ontology:musical_instrument . ?v rdf:type ontology:musical_form } UNION { ?v property:instrumentation ?a . ?v rdf:type ontology:musical_composition . ?a rdf:type ontology:musical_instrument } } GROUP BY ?a } . FILTER ( ?u = 33 ) }
[]
musical instrument musical form musical composition
SYSTEM
4
Q8371 Q1444 Q8355 Q81982
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
value 33
[ANSWER]
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?u ) WHERE { { ?v property:P870 ?a . ?a rdf:type ontology:Q34379 . ?v rdf:type ontology:Q862597 } UNION { ?v property:P870 ?a . ?v rdf:type ontology:Q207628 . ?a rdf:type ontology:Q34379 } } GROUP BY ?a } . FILTER ( ?u = 33 ) }
cello organ violin harpsichord
4
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
value 33
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?u ) WHERE { { ?v property:instrumentation ?a . ?a rdf:type ontology:musical_instrument . ?v rdf:type ontology:musical_form } UNION { ?v property:instrumentation ?a . ?v rdf:type ontology:musical_composition . ?a rdf:type ontology:musical_instrument } } GROUP BY ?a } . FILTER ( ?u = 33 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3382191
P1303
Q34379 Q502895
USER
Which musical instruments can less number of people perform with than upright piano ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?b rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:P1303 resource:Q3382191 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?o < ?n ) }
upright piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?b rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:instrument resource:upright_piano . ?l rdf:type ontology:common_name } } . FILTER ( ?o < ?n ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 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 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[ANSWERS] can less number of people perform with than upright piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?b rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:P1303 resource:Q3382191 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?o < ?n ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium 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 drum Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir can less number of people perform with than upright piano
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?b rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:instrument resource:upright_piano . ?l rdf:type ontology:common_name } } . FILTER ( ?o < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1444
P1303
Q34379 Q502895
USER
And what about organ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1444
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P1303 resource:Q1444 . ?o rdf:type ontology:Q502895 } } . FILTER ( ?i < ?d ) }
organ
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity organ
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:instrument resource:organ . ?o rdf:type ontology:common_name } } . FILTER ( ?i < ?d ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1444
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P1303 resource:Q1444 . ?o rdf:type ontology:Q502895 } } . FILTER ( ?i < ?d ) }
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 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 drum kit 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 less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity organ
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:instrument resource:organ . ?o rdf:type ontology:common_name } } . FILTER ( ?i < ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 1035 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1035
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?h = 1035 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?c } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1035
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?h = 1035 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1035
[ANSWERS] can approximately 1035 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?h = 1035 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?c } }
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 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 drum kit 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 1035 people perform with
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1035
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?h = 1035 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?c } }
[]