Simple Question (Direct)
Simple Question
Q10297193
P27
Q15617994
USER
Which administrative territory is Harald Hille a civilian of ?
(Q10297193,P27,c(Q15617994))
action filter_type
action find
entity Q10297193
relation P27
type Q15617994
['Q10297193', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q10297193 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Harald Hille
action filter_type
action find
entity Harald Hille
relation country of citizenship
type designation for an administrative territorial entity
['Harald Hille', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Harald_Hille property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q10297193,P27,c(Q15617994))
action filter_type
action find
entity Q10297193
relation P27
type Q15617994
Which administrative territory is Harald Hille a civilian of
['Q10297193', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q10297193 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Norway
Which administrative territory is Harald Hille a civilian of
Norway
action filter_type
action find
entity Harald Hille
relation country of citizenship
type designation for an administrative territorial entity
['Harald Hille', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Harald_Hille property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10297193
P800
Q44539
USER
What notable work were done by that person ?
(Q20,P800,c(Q44539))
action filter_type
action find
entity Q10297193
relation P800
type Q44539
['Q20', 'P800', {'concept': 'Q44539'}]
SELECT DISTINCT ?d WHERE { resource:Q10297193 property:P800 ?d . ?d rdf:type ontology:Q44539 }
Harald Hille
action filter_type
action find
entity Harald Hille
relation notable work
type temple
['Norway', 'notable work', {'concept': 'temple'}]
SELECT DISTINCT ?d WHERE { resource:Harald_Hille property:notable_work ?d . ?d rdf:type ontology:temple }
[]
temple
Q6493016 Q7594106 Q7590968
SYSTEM
Ekholt Church, Østenstad Church, Greverud Church
Q6493016 Q7594106 Q7590968 Q7592056
(Q20,P800,c(Q44539))
action filter_type
action find
entity Q10297193
relation P800
type Q44539
[ANSWERS] were done by that person
['Q20', 'P800', {'concept': 'Q44539'}]
SELECT DISTINCT ?d WHERE { resource:Q10297193 property:P800 ?d . ?d rdf:type ontology:Q44539 }
Ekholt Church Østenstad Church Greverud Church Jessheim Church
Ekholt Church, Østenstad Church and Greverud Church were done by that person
Ekholt Church Østenstad Church Greverud Church
action filter_type
action find
entity Harald Hille
relation notable work
type temple
['Norway', 'notable work', {'concept': 'temple'}]
SELECT DISTINCT ?d WHERE { resource:Harald_Hille property:notable_work ?d . ?d rdf:type ontology:temple }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q44539
USER
Which people are the names of the patron saint of exactly 9 temples ?
(c(Q44539),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 9
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P417 ?f . ?f rdf:type ontology:Q502895 . ?z rdf:type ontology:Q44539 } GROUP BY ?f } . FILTER ( ?s = 9 ) }
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 9
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:patron_saint ?f . ?f rdf:type ontology:common_name . ?z rdf:type ontology:temple } GROUP BY ?f } . FILTER ( ?s = 9 ) }
[]
common name temple
Q43982 Q164294 Q17590
SYSTEM
Bartholomew the Apostle, Saint Anna, Lawrence of Rome
Q43982 Q164294 Q17590
(c(Q44539),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 9
[ANSWERS] are the names of the patron saint of exactly 9 temples
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P417 ?f . ?f rdf:type ontology:Q502895 . ?z rdf:type ontology:Q44539 } GROUP BY ?f } . FILTER ( ?s = 9 ) }
Bartholomew the Apostle Saint Anna Lawrence of Rome
Bartholomew the Apostle, Saint Anna and Lawrence of Rome are the names of the patron saint of exactly 9 temples
Bartholomew the Apostle Saint Anna Lawrence of Rome
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 9
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:patron_saint ?f . ?f rdf:type ontology:common_name . ?z rdf:type ontology:temple } GROUP BY ?f } . FILTER ( ?s = 9 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15620419
P725
Q502895 Q6619679
USER
Which fictional humanoids did greater number of people dub for than Elsa ?
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15620419
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?e ) WHERE { ?k property:P725 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q6619679 } GROUP BY ?k } . FILTER ( ?e > ?r ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q15620419 property:P725 ?w . ?w rdf:type ontology:Q6619679 } } }
Elsa
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Elsa
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?e ) WHERE { ?k property:voice_actor ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:fictional_humanoid } GROUP BY ?k } . FILTER ( ?e > ?r ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Elsa property:voice_actor ?w . ?w rdf:type ontology:fictional_humanoid } } }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15620419
relation P725
type Q6619679
[ANSWERS] greater number of people dubbed for than Elsa
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?e ) WHERE { ?k property:P725 ?f . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q6619679 } GROUP BY ?k } . FILTER ( ?e > ?r ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q15620419 property:P725 ?w . ?w rdf:type ontology:Q6619679 } } }
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 Granny Smith Mr. Burns
Granny Smith, Apple Bloom and Ezio Auditore da Firenze greater number of people dubbed for than Elsa
Granny Smith Apple Bloom Ezio Auditore da Firenze
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Elsa
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?e ) WHERE { ?k property:voice_actor ?f . ?f rdf:type ontology:common_name . ?k rdf:type ontology:fictional_humanoid } GROUP BY ?k } . FILTER ( ?e > ?r ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Elsa property:voice_actor ?w . ?w rdf:type ontology:fictional_humanoid } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1205263
P725
Q502895 Q6619679
USER
And how about Eli Vance?
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1205263
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?t ) WHERE { ?i rdf:type ontology:Q6619679 . ?e rdf:type ontology:Q502895 . ?i property:P725 ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q1205263 property:P725 ?l . ?l rdf:type ontology:Q6619679 } } . FILTER ( ?t > ?m ) }
Eli Vance
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Eli Vance
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?t ) WHERE { ?i rdf:type ontology:fictional_humanoid . ?e rdf:type ontology:common_name . ?i property:voice_actor ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Eli_Vance property:voice_actor ?l . ?l rdf:type ontology:fictional_humanoid } } . FILTER ( ?t > ?m ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1205263
relation P725
type Q6619679
[ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?t ) WHERE { ?i rdf:type ontology:Q6619679 . ?e rdf:type ontology:Q502895 . ?i property:P725 ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q1205263 property:P725 ?l . ?l rdf:type ontology:Q6619679 } } . FILTER ( ?t > ?m ) }
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 Granny Smith Mr. Burns
Granny Smith Apple Bloom Ezio Auditore da Firenze
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Eli Vance
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?t ) WHERE { ?i rdf:type ontology:fictional_humanoid . ?e rdf:type ontology:common_name . ?i property:voice_actor ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Eli_Vance property:voice_actor ?l . ?l rdf:type ontology:fictional_humanoid } } . FILTER ( ?t > ?m ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P674
Q6619679 Q166142 Q36649
USER
Which fictional humanoids appear as a character in greater number of applications and visual artss than that fictional humanoid ?
(c(Q166142)|c(Q36649),P674,c(Q6619679))
[[{'concept': 'Q166142'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P674 ?y } UNION { ?x property:P674 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q36649 }
[[{'concept': 'application'}, {'concept': 'visual arts'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?y WHERE { { { ?z property:characters ?y } UNION { ?x property:characters ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:visual_arts }
[]
fictional humanoid application visual arts
Comparative|More/Less|Mult. entity type|Clarification
Q15707554
SYSTEM
Did you mean Apple Bloom ?
(c(Q166142)|c(Q36649),P674,c(Q6619679))
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P674 ?y } UNION { ?x property:P674 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q36649 }
Did you mean Apple Bloom ?
Apple Bloom
[[{'concept': 'application'}, {'concept': 'visual arts'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?y WHERE { { { ?z property:characters ?y } UNION { ?x property:characters ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:visual_arts }
[]
Comparative Reasoning (All)
USER
No, I meant Ezio Auditore da Firenze. Could you tell me the answer for that?
(c(Q166142)|c(Q36649),P674,c(Q6619679))
Q994344
[[{'concept': 'Q166142'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q6619679'}]
[[{'concept': 'application'}, {'concept': 'visual arts'}], 'characters', {'concept': 'fictional humanoid'}]
[]
Q15711517 Q15707554 Q15726751
SYSTEM
Granny Smith, Apple Bloom, Diamond Tiara
Q15707554 Q3682552 Q11479883 Q15726751 Q1996763 Q223684 Q15711517 Q15020948 Q3826637 Q15726744 Q851814 Q11382982
(c(Q166142)|c(Q36649),P674,c(Q6619679))
[ANSWERS] appear as a character in greater number of applications and visual artss than that fictional humanoid
[[{'concept': 'Q166142'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P674 ?y } UNION { ?x property:P674 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q36649 }
Apple Bloom Cole MacGrath Mami Tomoe Diamond Tiara Doctor Eggman Lara Croft Granny Smith Ricardo Diaz Lance Vance Silver Spoon Chell Kyoko Sakura
Granny Smith, Apple Bloom and Diamond Tiara appear as a character in greater number of applications and visual artss than that fictional humanoid
Granny Smith Apple Bloom Diamond Tiara
[[{'concept': 'application'}, {'concept': 'visual arts'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?y WHERE { { { ?z property:characters ?y } UNION { ?x property:characters ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:visual_arts }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P725
Q502895 Q6619679
USER
How many fictional humanoids did approximately the same number of people do the dubbing for as that fictional humanoid ?
(c(Q6619679),P725,c(Q502895))
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q2405480 ?y . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 }
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name }
[]
common name fictional humanoid
Comparative|Count over More/Less|Single entity type|Clarification
Q15707554
SYSTEM
Did you mean Apple Bloom ?
(c(Q6619679),P725,c(Q502895))
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q2405480 ?y . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 }
Did you mean Apple Bloom ?
Apple Bloom
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Granny Smith. Could you tell me the answer for that?
(c(Q6619679),P725,c(Q502895))
Q15711517
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
[]
SYSTEM
29
Q1623086 Q1205263 Q11609133 Q15726751 Q4992177 Q24010814 Q11479883 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q18073923 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q2405480 ?y . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 }
Hector Barbossa Eli Vance Sayaka Miki Diamond Tiara Cave Johnson Deckard Cain Mami Tomoe Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Sunset Shimmer Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
29
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15620419
P9
Q6619679
USER
Which fictional humanoid has Elsa as their sibling ?
(c(Q6619679),P9,Q15620419)
action filter_type
action find_reverse
entity Q15620419
relation P9
type Q6619679
[{'concept': 'Q6619679'}, 'P9', 'Q15620419']
SELECT DISTINCT ?b WHERE { ?b property:P9 resource:Q15620419 . ?b rdf:type ontology:Q6619679 }
Elsa
action filter_type
action find_reverse
entity Elsa
relation sister
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'sister', 'Elsa']
SELECT DISTINCT ?b WHERE { ?b property:sister resource:Elsa . ?b rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q15614636
SYSTEM
Anna (Disney)
Q15614636
(c(Q6619679),P9,Q15620419)
action filter_type
action find_reverse
entity Q15620419
relation P9
type Q6619679
[ANSWER] has Elsa as their sibling
[{'concept': 'Q6619679'}, 'P9', 'Q15620419']
SELECT DISTINCT ?b WHERE { ?b property:P9 resource:Q15620419 . ?b rdf:type ontology:Q6619679 }
Anna (Disney)
Anna (Disney) has Elsa as their sibling
Anna (Disney)
action filter_type
action find_reverse
entity Elsa
relation sister
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'sister', 'Elsa']
SELECT DISTINCT ?b WHERE { ?b property:sister resource:Elsa . ?b rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15620419
P1441
Q1001378
USER
Where is Elsa shown in ?
(Q15620419,P1441,c(Q1001378))
action filter_type
action find
entity Q15620419
relation P1441
type Q1001378
['Q15620419', 'P1441', {'concept': 'Q1001378'}]
SELECT DISTINCT ?i WHERE { resource:Q15620419 property:P1441 ?i . ?i rdf:type ontology:Q1001378 }
Elsa
action filter_type
action find
entity Elsa
relation present in work
type cinematic technique
['Elsa', 'present in work', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?i WHERE { resource:Elsa property:present_in_work ?i . ?i rdf:type ontology:cinematic_technique }
[]
cinematic technique
Q246283
SYSTEM
Frozen
Q246283
(Q15620419,P1441,c(Q1001378))
action filter_type
action find
entity Q15620419
relation P1441
type Q1001378
Elsa is shown in the [ANSWER]
['Q15620419', 'P1441', {'concept': 'Q1001378'}]
SELECT DISTINCT ?i WHERE { resource:Q15620419 property:P1441 ?i . ?i rdf:type ontology:Q1001378 }
Frozen
Elsa is shown in the Frozen
Frozen
action filter_type
action find
entity Elsa
relation present in work
type cinematic technique
['Elsa', 'present in work', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?i WHERE { resource:Elsa property:present_in_work ?i . ?i rdf:type ontology:cinematic_technique }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11609133
Q1001378
USER
And what about Sayaka Miki?
(Q11609133,P1441,c(Q1001378))
action filter_type
action find
entity Q11609133
relation P1441
type Q1001378
['Q11609133', 'P1441', {'concept': 'Q1001378'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1001378 . resource:Q11609133 property:P1441 ?z }
Sayaka Miki
action filter_type
action find
entity Sayaka Miki
relation present in work
type cinematic technique
['Sayaka Miki', 'present in work', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cinematic_technique . resource:Sayaka_Miki property:present_in_work ?z }
[]
cinematic technique
Q10899321
SYSTEM
Puella Magi Madoka Magica: The Movie
Q10899321
(Q11609133,P1441,c(Q1001378))
action filter_type
action find
entity Q11609133
relation P1441
type Q1001378
[ANSWER]
['Q11609133', 'P1441', {'concept': 'Q1001378'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1001378 . resource:Q11609133 property:P1441 ?z }
Puella Magi Madoka Magica: The Movie
Puella Magi Madoka Magica: The Movie
action filter_type
action find
entity Sayaka Miki
relation present in work
type cinematic technique
['Sayaka Miki', 'present in work', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cinematic_technique . resource:Sayaka_Miki property:present_in_work ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q10899321 Q18977982 Q50036
P57
Q502895
USER
Is Edward Dennis Fogell and Akiyuki Shinbo a director of Q10899321 ?
(Q10899321,P57,Q18977982) (Q10899321,P57,Q50036)
action is_in
entity Q10899321
action intersection
action find_reverse
entity Q18977982
relation P57
action find_reverse
entity Q50036
relation P57
['Q10899321', 'P57', 'Q18977982'] ['Q10899321', 'P57', 'Q50036']
ASK WHERE { resource:Q10899321 property:P57 resource:Q50036 . resource:Q10899321 property:P57 resource:Q18977982 }
Puella Magi Madoka Magica: The Movie Edward Dennis Fogell Akiyuki Shinbo
action is_in
entity Puella Magi Madoka Magica: The Movie
action intersection
action find_reverse
entity Edward Dennis Fogell
relation director
action find_reverse
entity Akiyuki Shinbo
relation director
['Puella Magi Madoka Magica: The Movie', 'director', 'Edward Dennis Fogell'] ['Puella Magi Madoka Magica: The Movie', 'director', 'Akiyuki Shinbo']
ASK WHERE { resource:Puella_Magi_Madoka_Magica:_The_Movie property:director resource:Akiyuki_Shinbo . resource:Puella_Magi_Madoka_Magica:_The_Movie property:director resource:Edward_Dennis_Fogell }
[]
common name
SYSTEM
NO and YES respectively
(Q10899321,P57,Q18977982) (Q10899321,P57,Q50036)
action is_in
entity Q10899321
action intersection
action find_reverse
entity Q18977982
relation P57
action find_reverse
entity Q50036
relation P57
[ANSWER]
['Q10899321', 'P57', 'Q18977982'] ['Q10899321', 'P57', 'Q50036']
ASK WHERE { resource:Q10899321 property:P57 resource:Q50036 . resource:Q10899321 property:P57 resource:Q18977982 }
NO and YES respectively
action is_in
entity Puella Magi Madoka Magica: The Movie
action intersection
action find_reverse
entity Edward Dennis Fogell
relation director
action find_reverse
entity Akiyuki Shinbo
relation director
['Puella Magi Madoka Magica: The Movie', 'director', 'Edward Dennis Fogell'] ['Puella Magi Madoka Magica: The Movie', 'director', 'Akiyuki Shinbo']
ASK WHERE { resource:Puella_Magi_Madoka_Magica:_The_Movie property:director resource:Akiyuki_Shinbo . resource:Puella_Magi_Madoka_Magica:_The_Movie property:director resource:Edward_Dennis_Fogell }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1080
Q36649 Q386724 Q6619679
USER
Which fictional humanoids are featured in min number of visual artss or works ?
(c(Q6619679),P1080,c(Q36649)|c(Q386724))
action argmin
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
action find_tuple_counts
relation P1080
type Q6619679
type Q386724
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q36649'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?s WHERE { { ?s property:P1080 ?u . ?s rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q36649 } UNION { ?s rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q386724 . ?s property:P1080 ?u } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?v WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q36649 ) ( ontology:Q386724 ) } } GROUP BY ?v } . FILTER ( ?k = ?j ) }
action argmin
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type work
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'visual arts'}, {'concept': 'work'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?s WHERE { { ?s property:from_fictional_universe ?u . ?s rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:visual_arts } UNION { ?s rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:work . ?s property:from_fictional_universe ?u } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?v WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:visual_arts ) ( ontology:work ) } } GROUP BY ?v } . FILTER ( ?k = ?j ) }
[]
visual arts work fictional humanoid
Q376577 Q158952 Q763798
SYSTEM
John Connor, Catwoman, Esther Gobseck
Q1610690 Q2482655 Q3309268 Q3984993 Q10329471 Q3622593 Q3100887 Q2586655 Q5065651 Q3026050 Q718965 Q20708637 Q2941571 Q2749614 Q1120793 Q913359 Q2704623 Q3422776 Q1120560 Q1056953 Q1644750 Q74087 Q2258938 Q3772885 Q19796006 Q923684 Q1033932 Q19791067 Q4897724 Q2477069 Q5369684 Q21501356 Q15228910 Q15285376 Q5276708 Q19757410 Q1990090 Q3048189 Q627820 Q5377357 Q2500238 Q2536239 Q21733196 Q719661 Q3610734 Q2530488 Q988898 Q857173 Q2998614 Q851352 Q3429688 Q931 Q24022642 Q16311 Q2329269 Q477948 Q1528452 Q5931323 Q12963444 Q12900933 Q3149148 Q640871 Q769046 Q2718240 Q3216027 Q16002515 Q1824049 Q2298077 Q2726964 Q2706099 Q903006 Q3640940 Q588838 Q7468126 Q18535363 Q21233430 Q939538 Q19796735 Q3139744 Q2206150 Q3836775 Q1057356 Q3859326 Q2658347 Q9010830 Q2435983 Q867810 Q2299139 Q3524820 Q2714206 Q6679806 Q2537248 Q20011098 Q2577035 Q1079617 Q2419213 Q3290958 Q4759961 Q430548 Q840368 Q6183819 Q3027480 Q13634885 Q5298637 Q1605258 Q2526250 Q376577 Q1270789 Q23031 Q2446175 Q3624677 Q2398300 Q16351 Q3114290 Q517214 Q6910820 Q17428688 Q4789634 Q2340324 Q1812152 Q1146291 Q384569 Q2251084 Q2556873 Q496085 Q21884092 Q2708077 Q1784409 Q3299117 Q2500449 Q20530221 Q19799430 Q15702161 Q2000355 Q19799435 Q2005691 Q3115789 Q1640313 Q3898184 Q2403686 Q2210354 Q2519257 Q3142916 Q13405059 Q9291762 Q2569703 Q860922 Q3316564 Q3321155 Q2720745 Q19755890 Q3292141 Q1073810 Q826055 Q2482639 Q3073857 Q2395957 Q9292465 Q4008842 Q5584641 Q1963740 Q19799441 Q13218515 Q5959381 Q7248180 Q2250258 Q158952 Q2389115 Q3019181 Q14907064 Q1072331 Q726851 Q189169 Q3331983 Q7168342 Q2636437 Q14329382 Q2989781 Q2002477 Q2291432 Q6701876 Q2337703 Q10347277 Q17355556 Q2666252 Q864706 Q11680202 Q1322354 Q2422510 Q1740 Q18762259 Q4385215 Q851814 Q3020780 Q496437 Q1639626 Q7909135 Q2723286 Q2857830 Q763798 Q3784904 Q2359610 Q1790404 Q6136264 Q687999 Q3922587 Q2168676 Q3483137 Q10361296 Q520158 Q944728 Q7455169 Q717722 Q21733221 Q2283843 Q7421051 Q10404995 Q2609344 Q894176 Q2630776 Q6321887 Q3312273 Q5877850 Q3050394 Q2250566 Q1984020 Q3754619 Q3857525 Q1660452 Q2111000 Q1627590 Q765092 Q5591214 Q2714871 Q2708078 Q2837209 Q2601118 Q2362626 Q15229036 Q7911184 Q4992177 Q2552645 Q1638503 Q592358 Q2987625 Q21731866 Q12056060 Q3570193 Q2466726 Q12964820 Q21731262 Q3401100 Q3610656 Q2661864 Q280608 Q660051 Q537309 Q2985760 Q3179649 Q5534974 Q735712 Q1205263 Q3108824 Q2386582 Q2456985 Q21233565 Q3036003 Q2721145 Q1513887 Q2656267 Q1427625 Q2932781 Q845525 Q6725939 Q128639 Q2127162 Q716835 Q2826463 Q1319867 Q612720 Q12174503 Q2297886 Q21772120 Q20190268 Q3617949 Q2750880 Q3303309 Q3657317 Q545367 Q2232602 Q3442478 Q3372494 Q4022608 Q23753831 Q3474005 Q116113 Q15285353 Q3549786 Q17489260 Q15285356 Q2220089 Q8345266 Q7811674 Q2071077 Q2346769 Q766141 Q3545388 Q18535399 Q1074019 Q1621261 Q3105409 Q2019744 Q221196 Q2721741 Q2627135 Q21061980 Q1190670 Q3567749 Q2550524 Q2742668 Q582234 Q3481153 Q6404474 Q3961857 Q23000 Q23753866 Q20818052 Q4913189 Q427647 Q7028169 Q3129085 Q640896 Q734861 Q2941743 Q21847054 Q2345627 Q2960845 Q22253513 Q17405299 Q616633 Q3224463 Q250221 Q5169195 Q2962576 Q15223888 Q2021699 Q943141 Q4360302 Q10797402 Q13634884 Q1997176 Q6523499 Q3603774 Q1809739 Q3614733 Q5756651 Q5129207 Q2481487 Q3080332 Q1429836 Q4851780 Q9085840 Q7855923 Q2619064 Q2720199 Q10335959 Q611993 Q3313177 Q3092655 Q194705 Q12900597 Q44232 Q752877 Q546404 Q11284128 Q2723539 Q3294812 Q751117 Q11820476 Q1785114 Q726308 Q2519237 Q1130271 Q1994866 Q21731153 Q2716760 Q4411035 Q1994909 Q1778905 Q17032948 Q1147484 Q1990492 Q3418964 Q15872676 Q874924 Q3547709 Q6880186 Q20979222 Q6968464 Q2296453 Q2859252 Q15650243 Q24010814 Q5036547 Q384436 Q25439486 Q20085277 Q3706250 Q1977902 Q2366096 Q1767 Q1164980 Q21233512 Q607489 Q1061765 Q14906180 Q384546 Q9338892 Q19880512 Q3060265 Q20745564 Q1750842 Q2608124 Q3557129 Q9068024 Q25446598 Q15710481 Q3622602 Q3183266 Q3040800 Q1319784 Q5800111 Q19791158 Q957692 Q2715425 Q3124253 Q2663841 Q2292469 Q121806 Q988862 Q4791684 Q3657279 Q542803 Q4782765 Q9142773 Q2482634 Q1412447 Q908352 Q27231263 Q1154920 Q911563 Q3514611 Q3080800 Q2469992 Q4807551 Q9156058 Q2400607 Q3697338 Q2429447 Q654588 Q3069618 Q11680547 Q1334722 Q3014849 Q523519 Q12961400 Q11698067 Q7288955 Q3166474 Q3304979 Q1096719 Q259818 Q7940668 Q31724 Q2552714 Q1258649 Q21733146 Q21733142 Q12902673 Q3021868 Q2716514 Q2418079 Q2345229 Q2624998 Q18361743 Q2959036
(c(Q6619679),P1080,c(Q36649)|c(Q386724))
action argmin
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
action find_tuple_counts
relation P1080
type Q6619679
type Q386724
[ANSWERS] are featured in min number of visual artss or works
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q36649'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?s WHERE { { ?s property:P1080 ?u . ?s rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q36649 } UNION { ?s rdf:type ontology:Q6619679 . ?u rdf:type ontology:Q386724 . ?s property:P1080 ?u } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?v WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q36649 ) ( ontology:Q386724 ) } } GROUP BY ?v } . FILTER ( ?k = ?j ) }
Eugène de Rastignac Tamara Johansen Michel Chrestien Tessa Noël Michael Warren Michael Garibaldi Shinn Asuka Moist von Lipwig Cethern mac Fintain Charlie Swan Hinata Hyuga Christine Everhart Cat Grant Tyrannus Theon Greyjoy Elektra Ben Skywalker Red Shift John Wesley Ship Minsc Man-Killer Marquise d'Espard Barry Allen Gold Ramsay Snow John Sheppard Haresh Clay Lysa Arryn Bethany Cabe Jeffrey Sinclair Jessie Alma Coin Dr. John Grey Philip J. Fry II Dilbert Joe Carey Hydro-Man Zero Reginald Barclay Enforcer Renee Montoya Jenny Calendar Lieutenant Jackson Jack O'Neill Alex Wilder Tisroc Elizabeth Weir George Hammond Cottonmouth Reimu Hakurei Rhombur Vernius Naruto Uzumaki T'Chaka James T. Kirk Adam Monkey D. Luffy Metamorpho Hugh Jones Doctor Poison Margaery Tyrell Imoen Angar the Screamer Agnes Nitt Red Star Lady Quark Alice Aki Ross Karen Page Miles Vorkosigan Alia Atreides Dean Winchester Blind Al Bat Lash Alustriel Silverhand Kelsier Thomas Brewster Kennedy Smitty Man-Ape Polly Plummer Lord Luc Misty Mister Miracle Daken Jaqen H'ghar Poggin Clark Kent Uncle Ben Thom Merrilin Andrew Wells Nasher Alagondar Nynaeve al'Meara Witcher Janet Fraiser Wallace Breen Garth Ranzz Maria Jackson André LeBlanc Charles Gunn Jill Valentine Jerry Jaxon Doctor Demonicus Robert Baratheon Dorothy Spinner Faile ni Bashere t'Aybara Nicholas Rush John Connor Gary Oak Khan Noonien Singh Tirian Arya Stark Lucien Chardon Leonard McCoy Chloe Armstrong Tomeya Akai Mordenkainen Letitia Ketterley Argo the Almighty Xander Harris Demogoblin Yhean Borrero Geordi La Forge Havelock Vetinari John Stewart Robin Wood General Hux Pete Ross New Gods Stephen Franklin Silvermane mudblood Roose Bolton Montolio Debrouchee Wesley Crusher Myrcella Baratheon Steel Graviton Lucy Pevensie Paula Brooks Warren Mears Hawkgirl Doctor Manhattan Marcus Hamilton Pointy-haired Boss Silk Spectre Strong Guy Zatanna Miss Martian Living Monolith Harmony Kendall Owen Paris Cubert Farnsworth Sir Balan Daniel Jackson Everett Young Flore Brazier Allen Francis Doyle Doctor Cornelius Varys Gord the Rogue Cut-Me-Own-Throat Dibbler Asha Greyjoy Carol Marcus Khal Drogo Professor Power Tan Yuster Catwoman Darth Desolous Davram Bashere Rishda Elminster Lana Lang Conan the Barbarian Más y Menos Peri Brown Spacer Effie Trinket Rilian Prince Caspian Radek Zelenka Luke Carlyle Dawn Summers Pedrinho Janos Slynt Ronald Greer James Beric Dondarrion Tom Paris Pariah Sasuke Uchiha Bunda Chand Dr. Wily Chell Deathurge Sarah Connor Susan Pevensie Val Rhymin Dark Beast Rabadash Esther Gobseck Henry Archer Hawkman Giovanni James Horton Cameron Mitchell Professor Birch Red Tornado Sidewinder Richard White Salu Digby Lana Lang Serra Joe Dawson Homes Mysterio Sapphire Alexander Löfström Jonathan Levinson Bors Eli Wallace Andrew Ketterley Prankster George Hamilton Elaida a'Roihan Micah Giett Terrax Sabé Miko Reglia Bart Allen Eustace Scrubb Peter Pevensie Caspian Grace Holloway Tash Daenerys Targaryen Alistair Smythe Batman Rand al'Thor Elaine Grey Valeria Cave Johnson Aviendha Crossfire Kyle Reese Donna Noble Annie Cresta Stannis Baratheon Wyatt Wingfoot Cyborg Human Cannonball Lyme Tiffany Aching Alexandra DeWitt Susan Sto Helit Tom Bombadil Dick Grayson Jennifer Keller Sheva Alomar Joanna Dark Geoffrey Wilder Lex Luthor Eli Vance Kole Digory Kirke Hank Landry Mila Father Callahan Bette Kane Courtney Whitmore Wonder Girl Swamp Thing Cadsuane Melaidhrin Samantha Carter Mad Dog Zapp Brannigan Mrs. Macready Jacob Black Agathe Bridau Xing Cai Creeper Professor Elm Electro Finn Victarion Greyjoy Anne Lindsey Pedron Niall Hate-Monger Talia Winters Trickster Jill Pole Rosella Paul de Manerville Yawgmoth Winona Kirk Satsu James Gordon Yancy Fry Bombshell Steven Caldwell Yancy Fry Jr. Egwene al'Vere Chester Phillips Tobias Whale Agent K Rorschach Chakotay Jazz Vin Evey Hammond Venom Gideon Oliver Queen Gaara Darla Lord Drinian Molly O'Sullivan Franky Whirlwind Mom Evan Lorne Edmund Pevensie Shades Kid Devil Singprasert Bunnaak Zefram Cochrane Samuel Kirk Rhaegar Targaryen Billy Prior Cassandra Cain Nick Wolfe Heather MacLeod Richard Woolsey Valeria Richards Catelyn Stark-Tully Alberta Scrubb Hal Jordan Charlie DeSalvo Talisa Stark Rhomann Dey Betty Ross Gamesmaster Alyx Vance Copycat Chemistro Janduin Hermes Conrad Shasta Petyr Baelish Lucy Lane Robb Stark Speedy Leo Abraham Erskine Gareth Bryne Yayoi Aoba Cassandra Claudia LaSalle Aravis John Sheridan Galactus Ballistic Tenar Turner D. Century Artemis Entreri Valerie Cooper Ned Horrocks Green Arrow Emeth Félix de Vandenesse Barbara Gordon Joffrey Baratheon Ferdinand du Tillet William Riker Benjamin Sisko Adeleine Externals Marquise de Listomère Black Lightning Glozelle Phantom Stranger Lyta Alexander Wulfgar Lionel Luthor Beyonder Boggs Perrin Aybara Jean DeWolff Cirilla Fiona Elen Riannon Superboy Wally Dandelion Amy Wong Rani Chandra Arik Soong Professor Farnsworth Andrea Beaumont Mister M Everett K. Ross Natasha Irons Connor Aqueduct Nikolai Stavrogin Deckard Cain Captain Atlas Silas Tommy Monaghan Frank Deuter Müller Khelben "Blackstaff" Arunsun Brothers Grimm Kakashi Hatake Marcus Cole Flip Jackson Montgomery Scott Sanji vinsmoke Lasaraleen Gurney Halleck Sopesian Hope Pym Eugénie Grandet Heinz Kruger Morpheus Elayne Trakand Victor Atreides Renée Dwyer Sixpack Michelle McCahey-Anderson Elizabeth Lochley Jonas Harrow Duchesse de Carigliano Maria Hill David King Jon Arryn Professor Oak Susan Ivanova Kate Brewster John Constantine Cordelia Chase Philip J. Fry Elijah Baley Arkady Darell Zack Allan Carson Beckett Aquarius Tarkaan Ahoshta Matthew Scott Amanda Grayson Rodney McKay Harold Meachum Father Grigori Duncan Idaho Tam al'Thor Spencer Smythe Batwoman Asok Tarkaan Anradin Mabel Kirke Crispus Allen Jade Kraven the Hunter Ferragus XXIII Carolyn Lam Yuna Daniel d’ Arthez Mary Marvel Alva Xar Philippa Eilhart Ramandu's Daughter Jean-Joachim Goriot Melchior de Canalis Foggy Nelson Eddard Stark Volothamp Geddarm Étienne Lousteau Henry Jones Hawk and Dove Pollux Castor Ygritte Delphine de Nucingen Aiden Ford Alice Obsidian Amy Madison General Madine Charles Evans
John Connor, Catwoman and Esther Gobseck are featured in min number of visual artss or works
John Connor Catwoman Esther Gobseck
action argmin
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type work
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'visual arts'}, {'concept': 'work'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?s WHERE { { ?s property:from_fictional_universe ?u . ?s rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:visual_arts } UNION { ?s rdf:type ontology:fictional_humanoid . ?u rdf:type ontology:work . ?s property:from_fictional_universe ?u } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?v WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:visual_arts ) ( ontology:work ) } } GROUP BY ?v } . FILTER ( ?k = ?j ) }
[]