Simple Question (Direct)
Simple Question
Q389607
P166
Q618779
USER
Which award was received by Louis Désiré Besozzi ?
(Q389607,P166,c(Q618779))
action filter_type
action find
entity Q389607
relation P166
type Q618779
['Q389607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q389607 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Louis Désiré Besozzi
action filter_type
action find
entity Louis Désiré Besozzi
relation award received
type award
['Louis Désiré Besozzi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Louis_Désiré_Besozzi property:award_received ?p . ?p rdf:type ontology:award }
[]
award
Q576434
SYSTEM
Prix de Rome
Q576434
(Q389607,P166,c(Q618779))
action filter_type
action find
entity Q389607
relation P166
type Q618779
The [ANSWER] was received by Louis Désiré Besozzi
['Q389607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q389607 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Prix de Rome
The Prix de Rome was received by Louis Désiré Besozzi
Prix de Rome
action filter_type
action find
entity Louis Désiré Besozzi
relation award received
type award
['Louis Désiré Besozzi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Louis_Désiré_Besozzi property:award_received ?p . ?p rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389607
P22
Q502895
USER
Which person was the father of Louis Désiré Besozzi ?
(Q389607,P22,c(Q502895))
action filter_type
action find
entity Q389607
relation P22
type Q502895
['Q389607', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q389607 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Louis Désiré Besozzi
action filter_type
action find
entity Louis Désiré Besozzi
relation father
type common name
['Louis Désiré Besozzi', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Louis_Désiré_Besozzi property:father ?a . ?a rdf:type ontology:common_name }
[]
common name
Q5715317
SYSTEM
Henri Besozzi
Q5715317
(Q389607,P22,c(Q502895))
action filter_type
action find
entity Q389607
relation P22
type Q502895
[ANSWER] was the father of Louis Désiré Besozzi
['Q389607', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q389607 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Henri Besozzi
Henri Besozzi was the father of Louis Désiré Besozzi
Henri Besozzi
action filter_type
action find
entity Louis Désiré Besozzi
relation father
type common name
['Louis Désiré Besozzi', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Louis_Désiré_Besozzi property:father ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4170702
Q502895
USER
And what about Alina Dunaevskaya?
(Q4170702,P22,c(Q502895))
action filter_type
action find
entity Q4170702
relation P22
type Q502895
['Q4170702', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q4170702 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Alina Dunaevskaya
action filter_type
action find
entity Alina Dunaevskaya
relation father
type common name
['Alina Dunaevskaya', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Alina_Dunaevskaya property:father ?i . ?i rdf:type ontology:common_name }
[]
common name
Q4170711
SYSTEM
Maksim Dunayevsky
Q4170711
(Q4170702,P22,c(Q502895))
action filter_type
action find
entity Q4170702
relation P22
type Q502895
[ANSWER]
['Q4170702', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q4170702 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Maksim Dunayevsky
Maksim Dunayevsky
action filter_type
action find
entity Alina Dunaevskaya
relation father
type common name
['Alina Dunaevskaya', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Alina_Dunaevskaya property:father ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
How many fictional humanoids did around 3 people do the dubbing for ?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?z property:P725 ?p . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q6619679 } GROUP BY ?z } . FILTER ( ?n = 3 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?z property:voice_actor ?p . ?p rdf:type ontology:common_name . ?z rdf:type ontology:fictional_humanoid } GROUP BY ?z } . FILTER ( ?n = 3 ) }
[]
common name fictional humanoid
SYSTEM
19
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q716636
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?z property:P725 ?p . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q6619679 } GROUP BY ?z } . FILTER ( ?n = 3 ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Mr. Burns
19
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?n ) WHERE { ?z property:voice_actor ?p . ?p rdf:type ontology:common_name . ?z rdf:type ontology:fictional_humanoid } GROUP BY ?z } . FILTER ( ?n = 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q742180
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than viola d'amore ?
(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 Q742180
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:P1303 resource:Q742180 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?s < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?o } }
viola d'amore
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola d'amore
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:instrument resource:viola_d'amore . ?l rdf:type ontology:common_name } } . FILTER ( ?s < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?o } }
[]
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 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 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 Q742180
relation P1303
type Q502895
[ANSWERS] are played by less number of people than viola d'amore
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:P1303 resource:Q742180 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?s < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?o } }
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 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 Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir are played by less number of people than viola d'amore
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 viola d'amore
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:instrument resource:viola_d'amore . ?l rdf:type ontology:common_name } } . FILTER ( ?s < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?s ) WHERE { ?j property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1343007
P1303
Q34379 Q502895
USER
And also tell me about electronic keyboard?
(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 Q1343007
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1303 resource:Q1343007 } } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?m } }
electronic keyboard
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity electronic keyboard
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:common_name . ?a property:instrument resource:electronic_keyboard } } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?m } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 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 Q1343007
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1303 resource:Q1343007 } } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?m } }
lyre acoustic bass guitar Body percussion 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 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 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 electronic keyboard
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a rdf:type ontology:common_name . ?a property:instrument resource:electronic_keyboard } } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q18685994
P180
Q34379 Q340169
USER
How many medias depict more number of musical instruments than Self-Portrait ?
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q18685994
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?i ) WHERE { ?a property:P180 ?r . ?a rdf:type ontology:Q340169 . ?r rdf:type ontology:Q34379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q18685994 property:P180 ?n . ?n rdf:type ontology:Q340169 } } . FILTER ( ?i > ?w ) }
Self-Portrait
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Self-Portrait
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?i ) WHERE { ?a property:depicts ?r . ?a rdf:type ontology:media . ?r rdf:type ontology:musical_instrument } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Self-Portrait property:depicts ?n . ?n rdf:type ontology:media } } . FILTER ( ?i > ?w ) }
[]
musical instrument media
SYSTEM
2
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q18685994
relation P180
type Q340169
[ANSWER]
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?i ) WHERE { ?a property:P180 ?r . ?a rdf:type ontology:Q340169 . ?r rdf:type ontology:Q34379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q18685994 property:P180 ?n . ?n rdf:type ontology:Q340169 } } . FILTER ( ?i > ?w ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
2
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Self-Portrait
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?i ) WHERE { ?a property:depicts ?r . ?a rdf:type ontology:media . ?r rdf:type ontology:musical_instrument } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Self-Portrait property:depicts ?n . ?n rdf:type ontology:media } } . FILTER ( ?i > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3213096
P180
Q34379 Q340169
USER
And what about The Temptation of St Anthony?
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q3213096
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { ?f rdf:type ontology:Q340169 . ?h rdf:type ontology:Q34379 . ?f property:P180 ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q3213096 property:P180 ?t . ?t rdf:type ontology:Q340169 } } . FILTER ( ?k > ?v ) }
The Temptation of St Anthony
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity The Temptation of St Anthony
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { ?f rdf:type ontology:media . ?h rdf:type ontology:musical_instrument . ?f property:depicts ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:The_Temptation_of_St_Anthony property:depicts ?t . ?t rdf:type ontology:media } } . FILTER ( ?k > ?v ) }
[]
musical instrument media
SYSTEM
2
Q19868516 Q17519439
(c(Q340169),P180,c(Q34379))
action count
action greater
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q3213096
relation P180
type Q340169
[ANSWER]
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { ?f rdf:type ontology:Q340169 . ?h rdf:type ontology:Q34379 . ?f property:P180 ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q3213096 property:P180 ?t . ?t rdf:type ontology:Q340169 } } . FILTER ( ?k > ?v ) }
Violin Hanging on a Wall Achille Henri Victor Gouffé
2
action count
action greater
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity The Temptation of St Anthony
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { ?f rdf:type ontology:media . ?h rdf:type ontology:musical_instrument . ?f property:depicts ?h } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:The_Temptation_of_St_Anthony property:depicts ?t . ?t rdf:type ontology:media } } . FILTER ( ?k > ?v ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q816793
P21 P1303
Q502895
USER
Which people plays Bendir and have the gender as female ?
AND((c(Q502895),P1303,Q816793), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q816793
relation P1303
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q816793'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P1303 resource:Q816793 . ?x property:P21 resource:Q6581072 }
female Bendir
action filter_type
action intersection
action find_reverse
entity Bendir
relation instrument
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'Bendir'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:instrument resource:Bendir . ?x property:gender resource:female }
[]
common name
Q452186
SYSTEM
Cheikha Rimitti
Q452186
AND((c(Q502895),P1303,Q816793), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q816793
relation P1303
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] plays Bendir and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q816793'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P1303 resource:Q816793 . ?x property:P21 resource:Q6581072 }
Cheikha Rimitti
Cheikha Rimitti plays Bendir and have the gender as female
Cheikha Rimitti
action filter_type
action intersection
action find_reverse
entity Bendir
relation instrument
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'Bendir'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:instrument resource:Bendir . ?x property:gender resource:female }
[]