Simple Question (Direct)
Simple Question
Q91953
P102
Q7278
USER
Which parties are Hermann Rentzsch affiliated with ?
(Q91953,P102,c(Q7278))
action filter_type
action find
entity Q91953
relation P102
type Q7278
['Q91953', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q91953 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Hermann Rentzsch
action filter_type
action find
entity Hermann Rentzsch
relation member of political party
type political party
['Hermann Rentzsch', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Hermann_Rentzsch property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q49750 Q153401
SYSTEM
Socialist Unity Party of Germany, Communist Party of Germany
Q49750 Q153401
(Q91953,P102,c(Q7278))
action filter_type
action find
entity Q91953
relation P102
type Q7278
Hermann Rentzsch are affiliated with [ANSWERS]
['Q91953', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q91953 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Socialist Unity Party of Germany Communist Party of Germany
Hermann Rentzsch are affiliated with Socialist Unity Party of Germany and Communist Party of Germany
Socialist Unity Party of Germany Communist Party of Germany
action filter_type
action find
entity Hermann Rentzsch
relation member of political party
type political party
['Hermann Rentzsch', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Hermann_Rentzsch property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q91953
P21
Q290
USER
Which sex does that person possess ?
(Q49750,P21,c(Q290)) (Q153401,P21,c(Q290))
action filter_type
action find
entity Q91953
relation P21
type Q290
['Q49750', 'P21', {'concept': 'Q290'}] ['Q153401', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q91953 property:P21 ?l . ?l rdf:type ontology:Q290 }
Hermann Rentzsch
action filter_type
action find
entity Hermann Rentzsch
relation gender
type sex
['Socialist Unity Party of Germany', 'gender', {'concept': 'sex'}] ['Communist Party of Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Hermann_Rentzsch property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49750,P21,c(Q290)) (Q153401,P21,c(Q290))
action filter_type
action find
entity Q91953
relation P21
type Q290
That person possesses a [ANSWER]
['Q49750', 'P21', {'concept': 'Q290'}] ['Q153401', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q91953 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Hermann Rentzsch
relation gender
type sex
['Socialist Unity Party of Germany', 'gender', {'concept': 'sex'}] ['Communist Party of Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Hermann_Rentzsch property:gender ?l . ?l rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q2342494 Q11424
USER
Which people were the sources of inspiration for around 1 collectables or films ?
(c(Q2342494)|c(Q11424),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q11424 } } GROUP BY ?j } }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type film
value 1
[[{'concept': 'collectable'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:collectable } UNION { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:film } } GROUP BY ?j } }
[]
common name collectable film
Q849 Q205002 Q299271
SYSTEM
François Villon, Joe Grant, Bahram V
Q205002 Q299271 Q849 Q5545355
(c(Q2342494)|c(Q11424),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
value 1
[ANSWERS] were the sources of inspiration for around 1 collectables or films
[[{'concept': 'Q2342494'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q11424 } } GROUP BY ?j } }
Joe Grant Bahram V François Villon George Turberville
François Villon, Joe Grant and Bahram V were the sources of inspiration for around 1 collectables or films
François Villon Joe Grant Bahram V
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type film
value 1
[[{'concept': 'collectable'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:collectable } UNION { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:film } } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q862501
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as ondes Martenot ?
(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 Q862501
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:Q34379 . resource:Q862501 property:P1303 ?y } } . FILTER ( ?l = ?h ) }
ondes Martenot
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity ondes Martenot
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:musical_instrument . resource:ondes_Martenot property:instrument ?y } } . FILTER ( ?l = ?h ) }
[]
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 Q862501
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as ondes Martenot
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:Q34379 . resource:Q862501 property:P1303 ?y } } . FILTER ( ?l = ?h ) }
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 around the same number of people perform with as ondes Martenot
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 ondes Martenot
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:musical_instrument . resource:ondes_Martenot property:instrument ?y } } . FILTER ( ?l = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q46185
P1303
Q34379 Q502895
USER
And what about bass 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 Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q46185 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?r = ?g ) }
bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:bass_guitar property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?g ) }
[]
musical instrument common name
Q81982 Q80284 Q46185
SYSTEM
harpsichord, viola, bass guitar
Q80284 Q46185 Q80019 Q81982 Q206987 Q8338 Q8371 Q1444 Q128309 Q1343007
(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 Q46185
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q46185 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?r = ?g ) }
viola bass guitar double bass harpsichord vibraphone trumpet cello organ drum kit electronic keyboard
harpsichord viola bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:bass_guitar property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?g ) }
[]
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 approximately 3761 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3761
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?b = 3761 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3761
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?b = 3761 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3761
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?b = 3761 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3761
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?b = 3761 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17364595 Q91953
P19
Q56061
USER
Which administrative territories were Hermann Rentzsch or Jambul Jiguari born in ?
OR((Q91953,P19,c(Q56061)), (Q17364595,P19,c(Q56061)))
action filter_type
action union
action find
entity Q91953
relation P19
action find
entity Q17364595
relation P19
type Q56061
{'OR': [['Q91953', 'P19', {'concept': 'Q56061'}], ['Q17364595', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?j ) { ( resource:Q91953 ) ( resource:Q17364595 ) } . ?j property:P19 ?m } . ?m rdf:type ontology:Q56061 }
Jambul Jiguari Hermann Rentzsch
action filter_type
action union
action find
entity Hermann Rentzsch
relation place of birth
action find
entity Jambul Jiguari
relation place of birth
type administrative territorial entity
{'OR': [['Hermann Rentzsch', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jambul Jiguari', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?j ) { ( resource:Hermann_Rentzsch ) ( resource:Jambul_Jiguari ) } . ?j property:place_of_birth ?m } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8239 Q994
SYSTEM
Schmiedeberg, Tbilisi
Q8239 Q994
OR((Q91953,P19,c(Q56061)), (Q17364595,P19,c(Q56061)))
action filter_type
action union
action find
entity Q91953
relation P19
action find
entity Q17364595
relation P19
type Q56061
Hermann Rentzsch or Jambul Jiguari were born in [ANSWERS]
{'OR': [['Q91953', 'P19', {'concept': 'Q56061'}], ['Q17364595', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?j ) { ( resource:Q91953 ) ( resource:Q17364595 ) } . ?j property:P19 ?m } . ?m rdf:type ontology:Q56061 }
Schmiedeberg Tbilisi
Hermann Rentzsch or Jambul Jiguari were born in Schmiedeberg and Tbilisi
Schmiedeberg Tbilisi
action filter_type
action union
action find
entity Hermann Rentzsch
relation place of birth
action find
entity Jambul Jiguari
relation place of birth
type administrative territorial entity
{'OR': [['Hermann Rentzsch', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jambul Jiguari', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?j ) { ( resource:Hermann_Rentzsch ) ( resource:Jambul_Jiguari ) } . ?j property:place_of_birth ?m } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q849 Q211257
P50
Q2342494
USER
How many collectables are François Villon or Church of the SubGenius an author of ?
(c(Q2342494),P50,Q849) (c(Q2342494),P50,Q211257)
action count
action union
action filter_type
action find_reverse
entity Q849
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q211257
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q849'] [{'concept': 'Q2342494'}, 'P50', 'Q211257']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?u ) { ( resource:Q849 ) ( resource:Q211257 ) } . ?x property:P50 ?u }
François Villon Church of the SubGenius
action count
action union
action filter_type
action find_reverse
entity François Villon
relation author
type collectable
action filter_type
action find_reverse
entity Church of the SubGenius
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'François Villon'] [{'concept': 'collectable'}, 'author', 'Church of the SubGenius']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?u ) { ( resource:François_Villon ) ( resource:Church_of_the_SubGenius ) } . ?x property:author ?u }
[]
collectable
SYSTEM
2
Q4943126 Q3227637
(c(Q2342494),P50,Q849) (c(Q2342494),P50,Q211257)
action count
action union
action filter_type
action find_reverse
entity Q849
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q211257
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q849'] [{'concept': 'Q2342494'}, 'P50', 'Q211257']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?u ) { ( resource:Q849 ) ( resource:Q211257 ) } . ?x property:P50 ?u }
Book of the SubGenius Le Testament
2
action count
action union
action filter_type
action find_reverse
entity François Villon
relation author
type collectable
action filter_type
action find_reverse
entity Church of the SubGenius
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'François Villon'] [{'concept': 'collectable'}, 'author', 'Church of the SubGenius']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { VALUES ( ?u ) { ( resource:François_Villon ) ( resource:Church_of_the_SubGenius ) } . ?x property:author ?u }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q838948 Q188451
USER
Which musical instruments are used as instrumentation in exactly 1 works of art or music genres ?
(c(Q838948)|c(Q188451),P870,c(Q34379))
action equal
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q188451'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q188451 ) } . ?t rdf:type ?z } GROUP BY ?c } }
action equal
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
value 1
[[{'concept': 'work of art'}, {'concept': 'music genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:music_genre ) } . ?t rdf:type ?z } GROUP BY ?c } }
[]
musical instrument work of art music genre
Q81982 Q80284 Q8371
SYSTEM
harpsichord, viola, cello
Q80284 Q8371 Q593995 Q8338 Q81982
(c(Q838948)|c(Q188451),P870,c(Q34379))
action equal
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
value 1
[ANSWERS] are used as instrumentation in exactly 1 works of art or music genres
[[{'concept': 'Q838948'}, {'concept': 'Q188451'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q188451 ) } . ?t rdf:type ?z } GROUP BY ?c } }
viola cello player piano trumpet harpsichord
Harpsichord, viola and cello are used as instrumentation in exactly 1 works of art or music genres
harpsichord viola cello
action equal
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type work of art
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
value 1
[[{'concept': 'work of art'}, {'concept': 'music genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:music_genre ) } . ?t rdf:type ?z } GROUP BY ?c } }
[]