Simple Question (Direct)
Simple Question
Q15066074
P106
Q12737077
USER
What is the job of Yuri Dubrovin ?
(Q15066074,P106,c(Q12737077))
action filter_type
action find
entity Q15066074
relation P106
type Q12737077
['Q15066074', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q15066074 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Yuri Dubrovin
action filter_type
action find
entity Yuri Dubrovin
relation occupation
type occupation
['Yuri Dubrovin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Yuri_Dubrovin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15066074,P106,c(Q12737077))
action filter_type
action find
entity Q15066074
relation P106
type Q12737077
The job of Yuri Dubrovin is an [ANSWER]
['Q15066074', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q15066074 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
The job of Yuri Dubrovin is an association football player
association football player
action filter_type
action find
entity Yuri Dubrovin
relation occupation
type occupation
['Yuri Dubrovin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Yuri_Dubrovin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Who has that one as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q937857 property:P425 ?r }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q937857 property:P425 ?r }
association football
Association football has that one as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?r }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of atleast 4 occupations ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 4
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P417 ?o . ?o rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?o } . FILTER ( ?g >= 4 ) }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 4
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:patron_saint ?o . ?o rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?o } . FILTER ( ?g >= 4 ) }
[]
common name occupation
Q43982 Q179718 Q43600
SYSTEM
Bartholomew the Apostle, Catherine of Alexandria, Matthew the Apostle
Q43982 Q179718 Q43600
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 4
[ANSWERS] are the patron saint of atleast 4 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P417 ?o . ?o rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?o } . FILTER ( ?g >= 4 ) }
Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle
Bartholomew the Apostle, Catherine of Alexandria and Matthew the Apostle are the patron saint of atleast 4 occupations
Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 4
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:patron_saint ?o . ?o rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?o } . FILTER ( ?g >= 4 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q282514
P725
Q502895 Q15619164
USER
Which abstract beings had their voice dubbing done by less number of people than Alucard ?
(c(Q15619164),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q282514
relation P725
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?s ) WHERE { ?f property:P725 ?a . ?f rdf:type ontology:Q15619164 . ?a rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q282514 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?s < ?t ) }
Alucard
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Alucard
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?s ) WHERE { ?f property:voice_actor ?a . ?f rdf:type ontology:abstract_being . ?a rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Alucard property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?s < ?t ) }
[]
common name abstract being
Q5480 Q49352 Q819804
SYSTEM
Bart Simpson, Gena the Crocodile, Malfurion Stormrage
Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q11339793 Q820011 Q819644 Q15648502 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q2079562 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q2558257 Q15712269 Q15502620 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q16995485 Q18292066 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q15966747 Q18292143 Q18934600 Q27493776 Q3201327 Q819544 Q15961663 Q909655 Q16005386 Q16003600 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q2738631 Q15846552 Q5480 Q935079 Q18468944 Q15537046
(c(Q15619164),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q282514
relation P725
type Q502895
[ANSWERS] had their voice dubbing done by less number of people than Alucard
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?s ) WHERE { ?f property:P725 ?a . ?f rdf:type ontology:Q15619164 . ?a rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q282514 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?s < ?t ) }
Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa SHODAN MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Rose Mitsuki Sonoda Rise Matsumoto Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Hiro Takachiho Sora Takenouchi Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Seiji Amasawa Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Kōzō Fuyutsuki Illidan Stormrage Shijuku Tsukishima Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Anna Williams Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka
Bart Simpson, Gena the Crocodile and Malfurion Stormrage had their voice dubbing done by less number of people than Alucard
Bart Simpson Gena the Crocodile Malfurion Stormrage
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Alucard
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?s ) WHERE { ?f property:voice_actor ?a . ?f rdf:type ontology:abstract_being . ?a rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Alucard property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?s < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3222756
P725
Q502895 Q15619164
USER
And what about Pigma Dengar?
(c(Q15619164),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q3222756
relation P725
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?n ) WHERE { ?m property:P725 ?l . ?m rdf:type ontology:Q15619164 . ?l rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q3222756 property:P725 ?w } } . FILTER ( ?n < ?b ) }
Pigma Dengar
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Pigma Dengar
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?n ) WHERE { ?m property:voice_actor ?l . ?m rdf:type ontology:abstract_being . ?l rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:common_name . resource:Pigma_Dengar property:voice_actor ?w } } . FILTER ( ?n < ?b ) }
[]
common name abstract being
Q5480 Q3152983 Q819519
SYSTEM
Bart Simpson, Integra Hellsing, Gul'dan
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q14432243 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 Q15141427 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q21036253 Q12739035 Q9300505 Q3152983 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q15632348 Q819748 Q21027734 Q4023191 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q15712269 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q3565718 Q5957609 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q11297446 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q18292143 Q14432283 Q18934600 Q27493776 Q2151996 Q15730337 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4810757 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q15710460 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q3222756
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?n ) WHERE { ?m property:P725 ?l . ?m rdf:type ontology:Q15619164 . ?l rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q3222756 property:P725 ?w } } . FILTER ( ?n < ?b ) }
Beltino Toad Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Bill Grey Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Pinkie Pie Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Tricky Rainbow Dash Rarity Integra Hellsing SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin Mika Kujiin Maiev Shadowsong Young Link Yui Hirasawa Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Gul'dan Rose Ui Hirasawa Mitsuki Sonoda Rise Matsumoto Shizuka Minamoto Diablo Discord Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Walter C. Dornez Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke Kyūbey Malfurion Stormrage Alucard Mio Akiyama Hiro Takachiho Sora Takenouchi Shinichi Kudo Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Kratos Seiji Amasawa Alexander Anderson Koushirou "Izzy" Izumi Katt Monroe Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm Babs Seed Kōzō Fuyutsuki Krystal Illidan Stormrage Shijuku Tsukishima Seras Victoria Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Garrosh Hellscream Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Pip Bernadotte Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Spike Tyrael Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson Gilda, the Griffin SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
Bart Simpson Integra Hellsing Gul'dan
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Pigma Dengar
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?n ) WHERE { ?m property:voice_actor ?l . ?m rdf:type ontology:abstract_being . ?l rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ontology:common_name . resource:Pigma_Dengar property:voice_actor ?w } } . FILTER ( ?n < ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q607871 Q819519
P800 P1441
Q838948
USER
Which works of art are Gul'dan shown in or were done by Henry Roussel ?
OR((Q819519,P1441,c(Q838948)), (Q607871,P800,c(Q838948)))
action filter_type
action union
action find
entity Q819519
relation P1441
action find
entity Q607871
relation P800
type Q838948
{'OR': [['Q819519', 'P1441', {'concept': 'Q838948'}], ['Q607871', 'P800', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q819519 property:P1441 ?w } UNION { resource:Q607871 property:P800 ?w } } . ?w rdf:type ontology:Q838948 }
Henry Roussel Gul'dan
action filter_type
action union
action find
entity Gul'dan
relation present in work
action find
entity Henry Roussel
relation notable work
type work of art
{'OR': [["Gul'dan", 'present in work', {'concept': 'work of art'}], ['Henry Roussel', 'notable work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Gul'dan property:present_in_work ?w } UNION { resource:Henry_Roussel property:notable_work ?w } } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q14513321 Q3232881 Q830558
SYSTEM
Warcraft, Fun in the Barracks, La Bête Humaine
Q14513321 Q3232881 Q830558
OR((Q819519,P1441,c(Q838948)), (Q607871,P800,c(Q838948)))
action filter_type
action union
action find
entity Q819519
relation P1441
action find
entity Q607871
relation P800
type Q838948
[ANSWERS]
{'OR': [['Q819519', 'P1441', {'concept': 'Q838948'}], ['Q607871', 'P800', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q819519 property:P1441 ?w } UNION { resource:Q607871 property:P800 ?w } } . ?w rdf:type ontology:Q838948 }
Warcraft Fun in the Barracks La Bête Humaine
Which works of art are Gul'dan shown in or were done by Henry Roussel
Warcraft Fun in the Barracks La Bête Humaine
action filter_type
action union
action find
entity Gul'dan
relation present in work
action find
entity Henry Roussel
relation notable work
type work of art
{'OR': [["Gul'dan", 'present in work', {'concept': 'work of art'}], ['Henry Roussel', 'notable work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Gul'dan property:present_in_work ?w } UNION { resource:Henry_Roussel property:notable_work ?w } } . ?w rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of atleast 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P2079 ?o . ?o rdf:type ontology:Q2695280 . ?x rdf:type ontology:Q838948 } GROUP BY ?o } }
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:fabrication_method ?o . ?o rdf:type ontology:technics . ?x rdf:type ontology:work_of_art } GROUP BY ?o } }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used for the assembly of atleast 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P2079 ?o . ?o rdf:type ontology:Q2695280 . ?x rdf:type ontology:Q838948 } GROUP BY ?o } }
gilding collage
Gilding and collage are used for the assembly of atleast 1 work of art
gilding collage
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:fabrication_method ?o . ?o rdf:type ontology:technics . ?x rdf:type ontology:work_of_art } GROUP BY ?o } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q15619164 Q15619164 Q6619679
USER
How many abstract beings inspired exactly 1 abstract beings and fictional humanoids ?
(c(Q15619164)|c(Q6619679),P941,c(Q15619164))
action count
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q6619679
value 1
[[{'concept': 'Q15619164'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?c ) WHERE { { ?d rdf:type ontology:Q15619164 . ?q rdf:type ontology:Q15619164 . ?q property:P941 ?d } UNION { ?q property:P941 ?d . ?d rdf:type ontology:Q15619164 . ?q rdf:type ontology:Q6619679 } } GROUP BY ?d } }
action count
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type abstract being
type abstract being
action find_reverse_tuple_counts
relation inspired by
type abstract being
type fictional humanoid
value 1
[[{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?c ) WHERE { { ?d rdf:type ontology:abstract_being . ?q rdf:type ontology:abstract_being . ?q property:inspired_by ?d } UNION { ?q property:inspired_by ?d . ?d rdf:type ontology:abstract_being . ?q rdf:type ontology:fictional_humanoid } } GROUP BY ?d } }
[]
abstract being abstract being fictional humanoid
SYSTEM
9
Q587307 Q3844557 Q3820836 Q645312 Q234801 Q3266236 Q6502703 Q825 Q3686483
(c(Q15619164)|c(Q6619679),P941,c(Q15619164))
action count
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q15619164
type Q6619679
value 1
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?c ) WHERE { { ?d rdf:type ontology:Q15619164 . ?q rdf:type ontology:Q15619164 . ?q property:P941 ?d } UNION { ?q property:P941 ?d . ?d rdf:type ontology:Q15619164 . ?q rdf:type ontology:Q6619679 } } GROUP BY ?d } }
Brian Kinney Mangiafuoco The Fairy with Turquoise Hair Bacchus Allah Count Dracula Pinocchio God The Coachman
9
action count
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type abstract being
type abstract being
action find_reverse_tuple_counts
relation inspired by
type abstract being
type fictional humanoid
value 1
[[{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?c ) WHERE { { ?d rdf:type ontology:abstract_being . ?q rdf:type ontology:abstract_being . ?q property:inspired_by ?d } UNION { ?q property:inspired_by ?d . ?d rdf:type ontology:abstract_being . ?q rdf:type ontology:fictional_humanoid } } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3232881
P800 P21
Q502895
USER
Which people are accredited with being the author of the notable work Fun in the Barracks and have the gender as male ?
AND((c(Q502895),P800,Q3232881), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3232881
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q3232881'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P21 resource:Q6581097 . ?o property:P800 resource:Q3232881 . ?o rdf:type ontology:Q502895 }
male Fun in the Barracks
action filter_type
action intersection
action find_reverse
entity Fun in the Barracks
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Fun in the Barracks'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:gender resource:male . ?o property:notable_work resource:Fun_in_the_Barracks . ?o rdf:type ontology:common_name }
[]
common name
Q607871
SYSTEM
Henry Roussel
Q607871
AND((c(Q502895),P800,Q3232881), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3232881
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is accredited with being the author of the notable work Fun in the Barracks and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q3232881'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P21 resource:Q6581097 . ?o property:P800 resource:Q3232881 . ?o rdf:type ontology:Q502895 }
Henry Roussel
Henry Roussel is accredited with being the author of the notable work Fun in the Barracks and have the gender as male
Henry Roussel
action filter_type
action intersection
action find_reverse
entity Fun in the Barracks
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Fun in the Barracks'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:gender resource:male . ?o property:notable_work resource:Fun_in_the_Barracks . ?o rdf:type ontology:common_name }
[]