Simple Question (Direct)
Simple Question
Q3167081
P21
Q290
USER
What is the sex of Jean-Luc Averous ?
(Q3167081,P21,c(Q290))
action filter_type
action find
entity Q3167081
relation P21
type Q290
['Q3167081', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3167081 property:P21 ?u . ?u rdf:type ontology:Q290 }
Jean-Luc Averous
action filter_type
action find
entity Jean-Luc Averous
relation gender
type sex
['Jean-Luc Averous', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Luc_Averous property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3167081,P21,c(Q290))
action filter_type
action find
entity Q3167081
relation P21
type Q290
The sex of Jean-Luc Averous is the [ANSWER]
['Q3167081', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3167081 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Jean-Luc Averous is the male
male
action filter_type
action find
entity Jean-Luc Averous
relation gender
type sex
['Jean-Luc Averous', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Luc_Averous property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3167081
P19
Q20667921
USER
Which french administrative division is the place of birth of Jean-Luc Averous ?
(Q3167081,P19,c(Q20667921))
action filter_type
action find
entity Q3167081
relation P19
type Q20667921
['Q3167081', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3167081 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Jean-Luc Averous
action filter_type
action find
entity Jean-Luc Averous
relation place of birth
type type of french administrative division
['Jean-Luc Averous', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Luc_Averous property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q174019
SYSTEM
Béziers
Q174019
(Q3167081,P19,c(Q20667921))
action filter_type
action find
entity Q3167081
relation P19
type Q20667921
[ANSWER] is the place of birth of Jean-Luc Averous
['Q3167081', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3167081 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Béziers
Béziers is the place of birth of Jean-Luc Averous
Béziers
action filter_type
action find
entity Jean-Luc Averous
relation place of birth
type type of french administrative division
['Jean-Luc Averous', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Luc_Averous property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20730830
Q20667921
USER
And also tell me about Marc Boudin?
(Q20730830,P19,c(Q20667921))
action filter_type
action find
entity Q20730830
relation P19
type Q20667921
['Q20730830', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q20730830 property:P19 ?z . ?z rdf:type ontology:Q20667921 }
Marc Boudin
action filter_type
action find
entity Marc Boudin
relation place of birth
type type of french administrative division
['Marc Boudin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Marc_Boudin property:place_of_birth ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q316452
SYSTEM
Thiais
Q316452
(Q20730830,P19,c(Q20667921))
action filter_type
action find
entity Q20730830
relation P19
type Q20667921
[ANSWER]
['Q20730830', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q20730830 property:P19 ?z . ?z rdf:type ontology:Q20667921 }
Thiais
Thiais
action filter_type
action find
entity Marc Boudin
relation place of birth
type type of french administrative division
['Marc Boudin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Marc_Boudin property:place_of_birth ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12799811 Q3167081
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Jean-Luc Averous or Radu R. Rosetti ?
OR((Q3167081,P27,c(Q15617994)), (Q12799811,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3167081
relation P27
action find
entity Q12799811
relation P27
type Q15617994
{'OR': [['Q3167081', 'P27', {'concept': 'Q15617994'}], ['Q12799811', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3167081 property:P27 ?n } UNION { resource:Q12799811 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Radu R. Rosetti Jean-Luc Averous
action filter_type
action union
action find
entity Jean-Luc Averous
relation country of citizenship
action find
entity Radu R. Rosetti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Luc Averous', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Radu R. Rosetti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jean-Luc_Averous property:country_of_citizenship ?n } UNION { resource:Radu_R._Rosetti property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q218
SYSTEM
France, Romania
Q142 Q218
OR((Q3167081,P27,c(Q15617994)), (Q12799811,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3167081
relation P27
action find
entity Q12799811
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Jean-Luc Averous or Radu R. Rosetti
{'OR': [['Q3167081', 'P27', {'concept': 'Q15617994'}], ['Q12799811', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3167081 property:P27 ?n } UNION { resource:Q12799811 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
France Romania
France and Romania are the countries of citizenship of Jean-Luc Averous or Radu R. Rosetti
France Romania
action filter_type
action union
action find
entity Jean-Luc Averous
relation country of citizenship
action find
entity Radu R. Rosetti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Luc Averous', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Radu R. Rosetti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jean-Luc_Averous property:country_of_citizenship ?n } UNION { resource:Radu_R._Rosetti property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3560604
P27
Q502895
USER
Are Virgil Tanase civilians of those administrative territories ?
(Q3560604,P27,Q142) (Q3560604,P27,Q218)
action is_in
entity prev_answer
action find
entity Q3560604
relation P27
['Q3560604', 'P27', 'Q142'] ['Q3560604', 'P27', 'Q218']
ASK WHERE { resource:Q3560604 property:P27 ?d . VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q218 ) } }
Virgil Tanase
action is_in
entity prev_answer
action find
entity Virgil Tanase
relation country of citizenship
['Virgil Tanase', 'country of citizenship', 'France'] ['Virgil Tanase', 'country of citizenship', 'Romania']
ASK WHERE { resource:Virgil_Tanase property:country_of_citizenship ?d . VALUES ( ?d ) { ( resource:France ) ( resource:Romania ) } }
[]
common name
SYSTEM
YES
(Q3560604,P27,Q142) (Q3560604,P27,Q218)
action is_in
entity prev_answer
action find
entity Q3560604
relation P27
[ANSWER]
['Q3560604', 'P27', 'Q142'] ['Q3560604', 'P27', 'Q218']
ASK WHERE { resource:Q3560604 property:P27 ?d . VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q218 ) } }
Yes
action is_in
entity prev_answer
action find
entity Virgil Tanase
relation country of citizenship
['Virgil Tanase', 'country of citizenship', 'France'] ['Virgil Tanase', 'country of citizenship', 'Romania']
ASK WHERE { resource:Virgil_Tanase property:country_of_citizenship ?d . VALUES ( ?d ) { ( resource:France ) ( resource:Romania ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q658686 Q218
P6
Q502895
USER
Which people are Romania or Boyeux-Saint-Jérôme the head of goverment of ?
OR((Q218,P6,c(Q502895)), (Q658686,P6,c(Q502895)))
action filter_type
action union
action find
entity Q218
relation P6
action find
entity Q658686
relation P6
type Q502895
{'OR': [['Q218', 'P6', {'concept': 'Q502895'}], ['Q658686', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q658686 property:P6 ?q } UNION { resource:Q218 property:P6 ?q } } . ?q rdf:type ontology:Q502895 }
Boyeux-Saint-Jérôme Romania
action filter_type
action union
action find
entity Romania
relation head of government
action find
entity Boyeux-Saint-Jérôme
relation head of government
type common name
{'OR': [['Romania', 'head of government', {'concept': 'common name'}], ['Boyeux-Saint-Jérôme', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Boyeux-Saint-Jérôme property:head_of_government ?q } UNION { resource:Romania property:head_of_government ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q207473 Q271966 Q267857 Q152362 Q255022 Q126671 Q316823 Q370856 Q126660 Q357004
SYSTEM
Some of them are Călin Popescu-Tăriceanu, Adrian Năstase, Emil Boc, Mihai Răzvan Ungureanu, Mugur Isărescu, Nicolae Văcăroiu, Petre Roman, Victor Ciorbea, Theodor Stolojan, Radu Vasile
Q57692 Q23667142 Q357004 Q929248 Q267857 Q316823 Q255022 Q207473 Q370856 Q271966 Q126671 Q126660 Q152362
OR((Q218,P6,c(Q502895)), (Q658686,P6,c(Q502895)))
action filter_type
action union
action find
entity Q218
relation P6
action find
entity Q658686
relation P6
type Q502895
[ANSWERS] are Romania or Boyeux-Saint-Jérôme the head of goverment of
{'OR': [['Q218', 'P6', {'concept': 'Q502895'}], ['Q658686', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q658686 property:P6 ?q } UNION { resource:Q218 property:P6 ?q } } . ?q rdf:type ontology:Q502895 }
Victor Ponta Marie-Christine Chapel Radu Vasile Dacian Cioloş Emil Boc Petre Roman Mugur Isărescu Călin Popescu-Tăriceanu Victor Ciorbea Adrian Năstase Nicolae Văcăroiu Theodor Stolojan Mihai Răzvan Ungureanu
Călin Popescu-Tăriceanu, Adrian Năstase, Emil Boc, Mihai Răzvan Ungureanu, Mugur Isărescu, Nicolae Văcăroiu, Petre Roman, Victor Ciorbea, Theodor Stolojan and Radu Vasile are Romania or Boyeux-Saint-Jérôme the head of goverment of
Călin Popescu-Tăriceanu Adrian Năstase Emil Boc Mihai Răzvan Ungureanu Mugur Isărescu Nicolae Văcăroiu Petre Roman Victor Ciorbea Theodor Stolojan Radu Vasile
action filter_type
action union
action find
entity Romania
relation head of government
action find
entity Boyeux-Saint-Jérôme
relation head of government
type common name
{'OR': [['Romania', 'head of government', {'concept': 'common name'}], ['Boyeux-Saint-Jérôme', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Boyeux-Saint-Jérôme property:head_of_government ?q } UNION { resource:Romania property:head_of_government ?q } } . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q218
P6
Q15617994
USER
Do Romania have those people as their head of government ?
(Q218,P6,Q207473) (Q218,P6,Q271966) (Q218,P6,Q267857) (Q218,P6,Q152362) (Q218,P6,Q255022) (Q218,P6,Q126671) (Q218,P6,Q316823) (Q218,P6,Q370856) (Q218,P6,Q126660) (Q218,P6,Q357004)
action is_in
entity prev_answer
action find
entity Q218
relation P6
['Q218', 'P6', 'Q207473'] ['Q218', 'P6', 'Q271966'] ['Q218', 'P6', 'Q267857'] ['Q218', 'P6', 'Q152362'] ['Q218', 'P6', 'Q255022'] ['Q218', 'P6', 'Q126671'] ['Q218', 'P6', 'Q316823'] ['Q218', 'P6', 'Q370856'] ['Q218', 'P6', 'Q126660'] ['Q218', 'P6', 'Q357004']
ASK WHERE { resource:Q218 property:P6 ?y . VALUES ( ?y ) { ( resource:Q57692 ) ( resource:Q23667142 ) ( resource:Q357004 ) } }
Romania
action is_in
entity prev_answer
action find
entity Romania
relation head of government
['Romania', 'head of government', 'Călin Popescu-Tăriceanu'] ['Romania', 'head of government', 'Adrian Năstase'] ['Romania', 'head of government', 'Emil Boc'] ['Romania', 'head of government', 'Mihai Răzvan Ungureanu'] ['Romania', 'head of government', 'Mugur Isărescu'] ['Romania', 'head of government', 'Nicolae Văcăroiu'] ['Romania', 'head of government', 'Petre Roman'] ['Romania', 'head of government', 'Victor Ciorbea'] ['Romania', 'head of government', 'Theodor Stolojan'] ['Romania', 'head of government', 'Radu Vasile']
ASK WHERE { resource:Romania property:head_of_government ?y . VALUES ( ?y ) { ( resource:Victor_Ponta ) ( resource:Marie-Christine_Chapel ) ( resource:Radu_Vasile ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q218,P6,Q207473) (Q218,P6,Q271966) (Q218,P6,Q267857) (Q218,P6,Q152362) (Q218,P6,Q255022) (Q218,P6,Q126671) (Q218,P6,Q316823) (Q218,P6,Q370856) (Q218,P6,Q126660) (Q218,P6,Q357004)
action is_in
entity prev_answer
action find
entity Q218
relation P6
[ANSWER]
['Q218', 'P6', 'Q207473'] ['Q218', 'P6', 'Q271966'] ['Q218', 'P6', 'Q267857'] ['Q218', 'P6', 'Q152362'] ['Q218', 'P6', 'Q255022'] ['Q218', 'P6', 'Q126671'] ['Q218', 'P6', 'Q316823'] ['Q218', 'P6', 'Q370856'] ['Q218', 'P6', 'Q126660'] ['Q218', 'P6', 'Q357004']
ASK WHERE { resource:Q218 property:P6 ?y . VALUES ( ?y ) { ( resource:Q57692 ) ( resource:Q23667142 ) ( resource:Q357004 ) } }
Yes
action is_in
entity prev_answer
action find
entity Romania
relation head of government
['Romania', 'head of government', 'Călin Popescu-Tăriceanu'] ['Romania', 'head of government', 'Adrian Năstase'] ['Romania', 'head of government', 'Emil Boc'] ['Romania', 'head of government', 'Mihai Răzvan Ungureanu'] ['Romania', 'head of government', 'Mugur Isărescu'] ['Romania', 'head of government', 'Nicolae Văcăroiu'] ['Romania', 'head of government', 'Petre Roman'] ['Romania', 'head of government', 'Victor Ciorbea'] ['Romania', 'head of government', 'Theodor Stolojan'] ['Romania', 'head of government', 'Radu Vasile']
ASK WHERE { resource:Romania property:head_of_government ?y . VALUES ( ?y ) { ( resource:Victor_Ponta ) ( resource:Marie-Christine_Chapel ) ( resource:Radu_Vasile ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q120585
P1303
Q34379 Q502895
USER
How many musical instruments do around the same number of people know to play as Tsuzumi ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q120585 property:P1303 ?j . ?j rdf:type ontology:Q34379 } } . FILTER ( ?w = ?i ) }
Tsuzumi
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Tsuzumi property:instrument ?j . ?j rdf:type ontology:musical_instrument } } . FILTER ( ?w = ?i ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q120585 property:P1303 ?j . ?j rdf:type ontology:Q34379 } } . FILTER ( ?w = ?i ) }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Tsuzumi property:instrument ?j . ?j rdf:type ontology:musical_instrument } } . FILTER ( ?w = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1300012
P1303
Q34379 Q502895
USER
And how about toy piano?
(c(Q502895),P1303,c(Q34379))
action count
action approx
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 ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?d ) WHERE { ?z rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 . ?b property:P1303 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q1300012 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?d = ?l ) }
toy piano
action count
action approx
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 ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?d ) WHERE { ?z rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name . ?b property:instrument ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:toy_piano property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?d = ?l ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?d ) WHERE { ?z rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 . ?b property:P1303 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q1300012 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?d = ?l ) }
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
60
action count
action approx
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 ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?d ) WHERE { ?z rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name . ?b property:instrument ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:toy_piano property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?d = ?l ) }
[]