Simple Question (Direct)
Simple Question
Q95712
P607
Q198
USER
What wars was Walter Storp a part of ?
(Q95712,P607,c(Q198))
action filter_type
action find
entity Q95712
relation P607
type Q198
['Q95712', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q95712 property:P607 ?d . ?d rdf:type ontology:Q198 }
Walter Storp
action filter_type
action find
entity Walter Storp
relation conflict
type war
['Walter Storp', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Storp property:conflict ?d . ?d rdf:type ontology:war }
[]
war
Q362 Q10859
SYSTEM
World War II, Spanish Civil War
Q362 Q10859
(Q95712,P607,c(Q198))
action filter_type
action find
entity Q95712
relation P607
type Q198
Walter Storp was in [ANSWERS]
['Q95712', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q95712 property:P607 ?d . ?d rdf:type ontology:Q198 }
World War II Spanish Civil War
Walter Storp was in World War II and Spanish Civil War
World War II Spanish Civil War
action filter_type
action find
entity Walter Storp
relation conflict
type war
['Walter Storp', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Storp property:conflict ?d . ?d rdf:type ontology:war }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10859
P840
Q838948
USER
Which work of art has its setting located at that war ?
(c(Q838948),P840,Q10859)
action filter_type
action find_reverse
entity Q10859
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q10859']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P840 resource:Q10859 }
Spanish Civil War
action filter_type
action find_reverse
entity Spanish Civil War
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Spanish Civil War']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:narrative_location resource:Spanish_Civil_War }
[]
work of art
Clarification for simple ques.
Q10859
SYSTEM
Did you mean Spanish Civil War ?
Q362 Q10859
(c(Q838948),P840,Q362) (c(Q838948),P840,Q10859)
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q362'] [{'concept': 'Q838948'}, 'P840', 'Q10859']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P840 resource:Q10859 }
World War II Spanish Civil War
Did you mean Spanish Civil War ?
Spanish Civil War
[{'concept': 'work of art'}, 'narrative location', 'World War II'] [{'concept': 'work of art'}, 'narrative location', 'Spanish Civil War']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:narrative_location resource:Spanish_Civil_War }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P840,Q10859)
[{'concept': 'Q838948'}, 'P840', 'Q10859']
[{'concept': 'work of art'}, 'narrative location', 'Spanish Civil War']
[]
Q1218518
SYSTEM
Die große Reise der Agathe Schweigert
Q1218518
(c(Q838948),P840,Q10859)
action filter_type
action find_reverse
entity Q10859
relation P840
type Q838948
The [ANSWER] has its setting located at that war
[{'concept': 'Q838948'}, 'P840', 'Q10859']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P840 resource:Q10859 }
Die große Reise der Agathe Schweigert
The Die große Reise der Agathe Schweigert has its setting located at that war
Die große Reise der Agathe Schweigert
action filter_type
action find_reverse
entity Spanish Civil War
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Spanish Civil War']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:narrative_location resource:Spanish_Civil_War }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q2342494 Q15416 Q502895
USER
Which people are seen in max number of collectables or television programs ?
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action argmax
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?w rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?f ) WHERE { { ?d property:P1441 ?p . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q2342494 } UNION { ?d property:P1441 ?p . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15416 } } GROUP BY ?d } . FILTER ( ?f = ?b ) }
action argmax
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:television_program ) } . ?w rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?f ) WHERE { { ?d property:present_in_work ?p . ?d rdf:type ontology:common_name . ?p rdf:type ontology:collectable } UNION { ?d property:present_in_work ?p . ?d rdf:type ontology:common_name . ?p rdf:type ontology:television_program } } GROUP BY ?d } . FILTER ( ?f = ?b ) }
[]
collectable television program common name
Q9181
SYSTEM
Abraham
Q9181
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action argmax
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
[ANSWER] is seen in max number of collectables or television programs
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?w rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?f ) WHERE { { ?d property:P1441 ?p . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q2342494 } UNION { ?d property:P1441 ?p . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15416 } } GROUP BY ?d } . FILTER ( ?f = ?b ) }
Abraham
Abraham is seen in max number of collectables or television programs
Abraham
action argmax
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:television_program ) } . ?w rdf:type ?o } GROUP BY ?q } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?f ) WHERE { { ?d property:present_in_work ?p . ?d rdf:type ontology:common_name . ?p rdf:type ontology:collectable } UNION { ?d property:present_in_work ?p . ?d rdf:type ontology:common_name . ?p rdf:type ontology:television_program } } GROUP BY ?d } . FILTER ( ?f = ?b ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q9181 Q3779308 Q1212757
P40
Q502895
USER
Does that person have Guido Gonzato and Medan as a child ?
(Q9181,P40,Q3779308) (Q9181,P40,Q1212757)
action is_in
entity Q9181
action intersection
action find_reverse
entity Q3779308
relation P40
action find_reverse
entity Q1212757
relation P40
['Q9181', 'P40', 'Q3779308'] ['Q9181', 'P40', 'Q1212757']
ASK WHERE { resource:Q9181 property:P40 resource:Q3779308 . resource:Q9181 property:P40 resource:Q1212757 }
Abraham Guido Gonzato Medan
action is_in
entity Abraham
action intersection
action find_reverse
entity Guido Gonzato
relation child
action find_reverse
entity Medan
relation child
['Abraham', 'child', 'Guido Gonzato'] ['Abraham', 'child', 'Medan']
ASK WHERE { resource:Abraham property:child resource:Guido_Gonzato . resource:Abraham property:child resource:Medan }
[]
common name
SYSTEM
NO and YES respectively
(Q9181,P40,Q3779308) (Q9181,P40,Q1212757)
action is_in
entity Q9181
action intersection
action find_reverse
entity Q3779308
relation P40
action find_reverse
entity Q1212757
relation P40
[ANSWER]
['Q9181', 'P40', 'Q3779308'] ['Q9181', 'P40', 'Q1212757']
ASK WHERE { resource:Q9181 property:P40 resource:Q3779308 . resource:Q9181 property:P40 resource:Q1212757 }
NO and YES respectively
action is_in
entity Abraham
action intersection
action find_reverse
entity Guido Gonzato
relation child
action find_reverse
entity Medan
relation child
['Abraham', 'child', 'Guido Gonzato'] ['Abraham', 'child', 'Medan']
ASK WHERE { resource:Abraham property:child resource:Guido_Gonzato . resource:Abraham property:child resource:Medan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1218518
P136
Q1792379
USER
What can be considered as category for Die große Reise der Agathe Schweigert ?
(Q1218518,P136,c(Q1792379))
action filter_type
action find
entity Q1218518
relation P136
type Q1792379
['Q1218518', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q1218518 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
Die große Reise der Agathe Schweigert
action filter_type
action find
entity Die große Reise der Agathe Schweigert
relation genre
type art genre
['Die große Reise der Agathe Schweigert', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Die_große_Reise_der_Agathe_Schweigert property:genre ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q1257444
SYSTEM
film adaptation
Q1257444
(Q1218518,P136,c(Q1792379))
action filter_type
action find
entity Q1218518
relation P136
type Q1792379
The [ANSWER] can be considered as category for Die große Reise der Agathe Schweigert
['Q1218518', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q1218518 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
film adaptation
The film adaptation can be considered as category for Die große Reise der Agathe Schweigert
film adaptation
action filter_type
action find
entity Die große Reise der Agathe Schweigert
relation genre
type art genre
['Die große Reise der Agathe Schweigert', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Die_große_Reise_der_Agathe_Schweigert property:genre ?h . ?h rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9181
P21
Q290
USER
Which sex does Abraham possess ?
(Q9181,P21,c(Q290))
action filter_type
action find
entity Q9181
relation P21
type Q290
['Q9181', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q9181 property:P21 ?w . ?w rdf:type ontology:Q290 }
Abraham
action filter_type
action find
entity Abraham
relation gender
type sex
['Abraham', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Abraham property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9181,P21,c(Q290))
action filter_type
action find
entity Q9181
relation P21
type Q290
Abraham possesses un [ANSWER]
['Q9181', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q9181 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Abraham possesses un male
male
action filter_type
action find
entity Abraham
relation gender
type sex
['Abraham', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Abraham property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1218518
P1040
Q502895
USER
Who is the editor of Die große Reise der Agathe Schweigert ?
(Q1218518,P1040,c(Q502895))
action filter_type
action find
entity Q1218518
relation P1040
type Q502895
['Q1218518', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1218518 property:P1040 ?p . ?p rdf:type ontology:Q502895 }
Die große Reise der Agathe Schweigert
action filter_type
action find
entity Die große Reise der Agathe Schweigert
relation film editor
type common name
['Die große Reise der Agathe Schweigert', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Die_große_Reise_der_Agathe_Schweigert property:film_editor ?p . ?p rdf:type ontology:common_name }
[]
common name
Q17521984
SYSTEM
Christa Helwig
Q17521984
(Q1218518,P1040,c(Q502895))
action filter_type
action find
entity Q1218518
relation P1040
type Q502895
The editor of Die große Reise der Agathe Schweigert is born [ANSWER]
['Q1218518', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1218518 property:P1040 ?p . ?p rdf:type ontology:Q502895 }
Christa Helwig
The editor of Die große Reise der Agathe Schweigert is born Christa Helwig
Christa Helwig
action filter_type
action find
entity Die große Reise der Agathe Schweigert
relation film editor
type common name
['Die große Reise der Agathe Schweigert', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Die_große_Reise_der_Agathe_Schweigert property:film_editor ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4520568
Q502895
USER
And how about SST: Death Flight?
(Q4520568,P1040,c(Q502895))
action filter_type
action find
entity Q4520568
relation P1040
type Q502895
['Q4520568', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4520568 property:P1040 ?n . ?n rdf:type ontology:Q502895 }
SST: Death Flight
action filter_type
action find
entity SST: Death Flight
relation film editor
type common name
['SST: Death Flight', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:SST:_Death_Flight property:film_editor ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2068483
SYSTEM
Pembroke J. Herring
Q2068483
(Q4520568,P1040,c(Q502895))
action filter_type
action find
entity Q4520568
relation P1040
type Q502895
[ANSWER]
['Q4520568', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4520568 property:P1040 ?n . ?n rdf:type ontology:Q502895 }
Pembroke J. Herring
Pembroke J. Herring
action filter_type
action find
entity SST: Death Flight
relation film editor
type common name
['SST: Death Flight', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:SST:_Death_Flight property:film_editor ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4520568
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q2068483,P86,c(Q502895))
action filter_type
action find
entity Q4520568
relation P86
type Q502895
['Q2068483', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4520568 property:P86 ?d . ?d rdf:type ontology:Q502895 }
SST: Death Flight
action filter_type
action find
entity SST: Death Flight
relation composer
type common name
['Pembroke J. Herring', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:SST:_Death_Flight property:composer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q2378400
SYSTEM
John Cacavas
Q2378400
(Q2068483,P86,c(Q502895))
action filter_type
action find
entity Q4520568
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q2068483', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4520568 property:P86 ?d . ?d rdf:type ontology:Q502895 }
John Cacavas
John Cacavas wrote the music for that work of art
John Cacavas
action filter_type
action find
entity SST: Death Flight
relation composer
type common name
['Pembroke J. Herring', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:SST:_Death_Flight property:composer ?d . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1300012
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than toy piano ?
(c(Q502895),P1303,c(Q34379))
action count
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 ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q34379 . resource:Q1300012 property:P1303 ?f } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?x } }
toy piano
action count
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 ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:musical_instrument . resource:toy_piano property:instrument ?f } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?x } }
[]
musical instrument common name
SYSTEM
22
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 count
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
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q34379 . resource:Q1300012 property:P1303 ?f } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?x } }
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
22
action count
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 ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:musical_instrument . resource:toy_piano property:instrument ?f } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q744831
P1303
Q34379 Q502895
USER
And what about Mridangam?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q744831
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?e > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q744831 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } }
Mridangam
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?e > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Mridangam property:instrument ?u . ?u rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
30
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 count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q744831
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?e > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q744831 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } }
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
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?e > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Mridangam property:instrument ?u . ?u rdf:type ontology:musical_instrument } } }
[]