Simple Question (Direct)
Simple Question
Q31221
P119
Q43229
USER
Where was Evelyn Brent buried ?
(Q31221,P119,c(Q43229))
action filter_type
action find
entity Q31221
relation P119
type Q43229
['Q31221', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q31221 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Evelyn Brent
action filter_type
action find
entity Evelyn Brent
relation place of burial
type organization
['Evelyn Brent', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Evelyn_Brent property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
organization
Q7413874
SYSTEM
San Fernando Mission Cemetery
Q7413874
(Q31221,P119,c(Q43229))
action filter_type
action find
entity Q31221
relation P119
type Q43229
Evelyn Brent was buried in [ANSWER]
['Q31221', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q31221 property:P119 ?k . ?k rdf:type ontology:Q43229 }
San Fernando Mission Cemetery
Evelyn Brent was buried in San Fernando Mission Cemetery
San Fernando Mission Cemetery
action filter_type
action find
entity Evelyn Brent
relation place of burial
type organization
['Evelyn Brent', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Evelyn_Brent property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31221
P161
Q838948
USER
Which works of art have Evelyn Brent as actor ?
(c(Q838948),P161,Q31221)
action filter_type
action find_reverse
entity Q31221
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q31221']
SELECT DISTINCT ?h WHERE { ?h property:P161 resource:Q31221 . ?h rdf:type ontology:Q838948 }
Evelyn Brent
action filter_type
action find_reverse
entity Evelyn Brent
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Evelyn Brent']
SELECT DISTINCT ?h WHERE { ?h property:cast_member resource:Evelyn_Brent . ?h rdf:type ontology:work_of_art }
[]
work of art
Q3363534 Q6412240 Q31212
SYSTEM
Paramount on Parade, King of Gamblers, The Seventh Victim
Q3823582 Q7797985 Q7575491 Q5756243 Q20649176 Q7764285 Q3363534 Q7836022 Q2870146 Q6412240 Q1862159 Q7755882 Q7749327 Q31212 Q7775968 Q3569755 Q3222191 Q3811276 Q7540482 Q18709169 Q7129930 Q5227928 Q6728417 Q7989805 Q7728281 Q5436902 Q5477938 Q5223589 Q3645178
(c(Q838948),P161,Q31221)
action filter_type
action find_reverse
entity Q31221
relation P161
type Q838948
[ANSWERS] have Evelyn Brent as actor
[{'concept': 'Q838948'}, 'P161', 'Q31221']
SELECT DISTINCT ?h WHERE { ?h property:P161 resource:Q31221 . ?h rdf:type ontology:Q838948 }
Why Bring That Up? Three of a Kind Speed Limited High Pressure Flame of the Argentine The Silver Horde Paramount on Parade Traveling Husbands Attorney for the Defense King of Gamblers Daughter of Shanghai The Pagan Lady The Mad Parade The Seventh Victim The World Gone Mad Woman Trap The Last Train from Madrid Jungle Jim Slightly Scarlet Women's Wares Panama Lady Daughter of the Tong Madonna of the Streets Westward Ho The Crusader Fast Company Framed Darkened Rooms Broadway
Paramount on Parade, King of Gamblers and The Seventh Victim have Evelyn Brent as actor
Paramount on Parade King of Gamblers The Seventh Victim
action filter_type
action find_reverse
entity Evelyn Brent
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Evelyn Brent']
SELECT DISTINCT ?h WHERE { ?h property:cast_member resource:Evelyn_Brent . ?h rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q31212
P344
Q502895
USER
Who is appointed as the cinematographer of that work of art ?
(Q31212,P344,c(Q502895))
action filter_type
action find
entity Q31212
relation P344
type Q502895
['Q31212', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q31212 property:P344 ?a . ?a rdf:type ontology:Q502895 }
The Seventh Victim
action filter_type
action find
entity The Seventh Victim
relation director of photography
type common name
['The Seventh Victim', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Seventh_Victim property:director_of_photography ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3363534
SYSTEM
Did you mean Paramount on Parade ?
Q3363534 Q6412240 Q31212
(Q3363534,P344,c(Q502895)) (Q6412240,P344,c(Q502895)) (Q31212,P344,c(Q502895))
[ANSWER]
['Q3363534', 'P344', {'concept': 'Q502895'}] ['Q6412240', 'P344', {'concept': 'Q502895'}] ['Q31212', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q31212 property:P344 ?a . ?a rdf:type ontology:Q502895 }
Paramount on Parade King of Gamblers The Seventh Victim
Did you mean Paramount on Parade ?
Paramount on Parade
['Paramount on Parade', 'director of photography', {'concept': 'common name'}] ['King of Gamblers', 'director of photography', {'concept': 'common name'}] ['The Seventh Victim', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Seventh_Victim property:director_of_photography ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Seventh Victim. Could you tell me the answer for that?
(Q31212,P344,c(Q502895))
Q31212
['Q31212', 'P344', {'concept': 'Q502895'}]
['The Seventh Victim', 'director of photography', {'concept': 'common name'}]
[]
Q543004
SYSTEM
Nicholas Musuraca
Q543004
(Q31212,P344,c(Q502895))
action filter_type
action find
entity Q31212
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of that work of art
['Q31212', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q31212 property:P344 ?a . ?a rdf:type ontology:Q502895 }
Nicholas Musuraca
Nicholas Musuraca is appointed as the cinematographer of that work of art
Nicholas Musuraca
action filter_type
action find
entity The Seventh Victim
relation director of photography
type common name
['The Seventh Victim', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Seventh_Victim property:director_of_photography ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings did approximately 1 person do the dubbing for ?
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 1
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?l ) WHERE { ?c rdf:type ontology:Q15619164 . ?w rdf:type ontology:Q502895 . ?c property:P725 ?w } GROUP BY ?c } . FILTER ( ?l = 1 ) }
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 1
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?l ) WHERE { ?c rdf:type ontology:abstract_being . ?w rdf:type ontology:common_name . ?c property:voice_actor ?w } GROUP BY ?c } . FILTER ( ?l = 1 ) }
[]
common name abstract being
Q5480 Q819519 Q2291154
SYSTEM
Bart Simpson, Gul'dan, Kratos
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q21036253 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q15712269 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q18292143 Q18934600 Q27493776 Q2151996 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 1
[ANSWERS] approximately 1 person did the dubbing for
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?l ) WHERE { ?c rdf:type ontology:Q15619164 . ?w rdf:type ontology:Q502895 . ?c property:P725 ?w } GROUP BY ?c } . FILTER ( ?l = 1 ) }
Beltino Toad Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Tricky SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin Mika Kujiin Maiev Shadowsong Young Link 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 Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke 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 Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm 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 Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
Bart Simpson, Gul'dan and Kratos approximately 1 person did the dubbing for
Bart Simpson Gul'dan Kratos
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 1
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?l ) WHERE { ?c rdf:type ontology:abstract_being . ?w rdf:type ontology:common_name . ?c property:voice_actor ?w } GROUP BY ?c } . FILTER ( ?l = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q43229 Q34442 Q22698
USER
How many organizations are the origin of approximately 1 roads or parks ?
(c(Q34442)|c(Q22698),P138,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q43229
type Q34442
action find_reverse_tuple_counts
relation P138
type Q43229
type Q22698
value 1
[[{'concept': 'Q34442'}, {'concept': 'Q22698'}], 'P138', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P138 ?e . ?e rdf:type ontology:Q43229 . ?m rdf:type ontology:Q34442 } UNION { ?m property:P138 ?e . ?e rdf:type ontology:Q43229 . ?m rdf:type ontology:Q22698 } } GROUP BY ?e } . FILTER ( ?c = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type organization
type road
action find_reverse_tuple_counts
relation named after
type organization
type park
value 1
[[{'concept': 'road'}, {'concept': 'park'}], 'named after', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:named_after ?e . ?e rdf:type ontology:organization . ?m rdf:type ontology:road } UNION { ?m property:named_after ?e . ?e rdf:type ontology:organization . ?m rdf:type ontology:park } } GROUP BY ?e } . FILTER ( ?c = 1 ) }
[]
organization road park
SYSTEM
13
Q505922 Q1092104 Q10481238 Q450348 Q1559702 Q10658721 Q6500733 Q4650455 Q1906878 Q10593159 Q10561531 Q957129 Q664420
(c(Q34442)|c(Q22698),P138,c(Q43229))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q43229
type Q34442
action find_reverse_tuple_counts
relation P138
type Q43229
type Q22698
value 1
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q22698'}], 'P138', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P138 ?e . ?e rdf:type ontology:Q43229 . ?m rdf:type ontology:Q34442 } UNION { ?m property:P138 ?e . ?e rdf:type ontology:Q43229 . ?m rdf:type ontology:Q22698 } } GROUP BY ?e } . FILTER ( ?c = 1 ) }
Electrolux Saints Innocents Cemetery Elektro Helios Alyscamps Götaverken Rålambshov printer AB Stockholms Spårvägar Maschinenfabrik Oerlikon Mälarvarvet Ligna Irish College Brown, Boveri & Cie
13
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type organization
type road
action find_reverse_tuple_counts
relation named after
type organization
type park
value 1
[[{'concept': 'road'}, {'concept': 'park'}], 'named after', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:named_after ?e . ?e rdf:type ontology:organization . ?m rdf:type ontology:road } UNION { ?m property:named_after ?e . ?e rdf:type ontology:organization . ?m rdf:type ontology:park } } GROUP BY ?e } . FILTER ( ?c = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q371752
P180
Q838948 Q3305213 Q11060274
USER
Which works of art are expressed in lesser number of paintings and prints than calvary ?
(c(Q3305213)|c(Q11060274),P180,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q371752
relation P180
type Q3305213
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?b WHERE { { ?o property:P180 ?b . ?o rdf:type ontology:Q3305213 . ?b rdf:type ontology:Q838948 } UNION { ?o property:P180 ?b . ?b rdf:type ontology:Q838948 . ?o rdf:type ontology:Q11060274 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P180 resource:Q371752 . { { ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q11060274 } } } } . FILTER ( ?k < ?p ) }
calvary
action less
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity calvary
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?b WHERE { { ?o property:depicts ?b . ?o rdf:type ontology:painting . ?b rdf:type ontology:work_of_art } UNION { ?o property:depicts ?b . ?b rdf:type ontology:work_of_art . ?o rdf:type ontology:print } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:depicts resource:calvary . { { ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:print } } } } . FILTER ( ?k < ?p ) }
[]
work of art painting print
Q17305020 Q734834 Q465762
SYSTEM
Tanagra, Ghent Altarpiece, Laocoön and His Sons
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q846870 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q267971 Q831869 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q476968 Q1350279 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q907387 Q18177089 Q374591 Q959962 Q6555477 Q125191 Q130958 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q3305213)|c(Q11060274),P180,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q371752
relation P180
type Q3305213
type Q11060274
[ANSWERS] are expressed in lesser number of paintings and prints than calvary
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?b WHERE { { ?o property:P180 ?b . ?o rdf:type ontology:Q3305213 . ?b rdf:type ontology:Q838948 } UNION { ?o property:P180 ?b . ?b rdf:type ontology:Q838948 . ?o rdf:type ontology:Q11060274 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P180 resource:Q371752 . { { ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q11060274 } } } } . FILTER ( ?k < ?p ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme Prometheus Bound Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Triton Fountain oenochoe Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback flamenco One True Thing David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget krater pyxis Tanagra partner dance Richard III Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Farnese Hercules diagram Lion of Venice photograph The Great Sphinx headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
Tanagra, Ghent Altarpiece and Laocoön and His Sons are expressed in lesser number of paintings and prints than calvary
Tanagra Ghent Altarpiece Laocoön and His Sons
action less
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity calvary
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?b WHERE { { ?o property:depicts ?b . ?o rdf:type ontology:painting . ?b rdf:type ontology:work_of_art } UNION { ?o property:depicts ?b . ?b rdf:type ontology:work_of_art . ?o rdf:type ontology:print } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:depicts resource:calvary . { { ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:print } } } } . FILTER ( ?k < ?p ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P144
Q838948 Q5398426
USER
Which works of art are more number of television series considered a copy of than that work of art ?
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
work of art television series
Comparative|More/Less|Single entity type|Clarification
Q734834
SYSTEM
Did you mean Ghent Altarpiece ?
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
Did you mean Ghent Altarpiece ?
Ghent Altarpiece
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
No, I meant Laocoön and His Sons. Could you tell me the answer for that?
(c(Q5398426),P144,c(Q838948))
Q465762
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
[]
Q2337685
SYSTEM
Angels in America: A Gay Fantasia on National Themes
Q2337685
(c(Q5398426),P144,c(Q838948))
[ANSWER] is more number of television series considered a copy of than that work of art
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
Angels in America: A Gay Fantasia on National Themes
Angels in America: A Gay Fantasia on National Themes is more number of television series considered a copy of than that work of art
Angels in America: A Gay Fantasia on National Themes
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q15709879 Q7725634
USER
Which works of art were the sources of inspiration for atleast 1 artwork series and literary works ?
(c(Q15709879)|c(Q7725634),P941,c(Q838948))
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q15709879 ) ( ontology:Q7725634 ) } . ?j rdf:type ?t } GROUP BY ?k } . FILTER ( ?z >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
value 1
[[{'concept': 'artwork series'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:artwork_series ) ( ontology:literary_work ) } . ?j rdf:type ?t } GROUP BY ?k } . FILTER ( ?z >= 1 ) }
[]
work of art artwork series literary work
Q1856846 Q2568137 Q5968141
SYSTEM
The Ballad of Cable Hogue, How to Explain Pictures to a Dead Hare, La sirena varada
Q1856846 Q2568137 Q1432001 Q7445655 Q4936847 Q5968141
(c(Q15709879)|c(Q7725634),P941,c(Q838948))
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
value 1
The Ballad of Cable Hogue, How to explain Pictures to a Dead Hare and La sirena varada were the sources of inspiration for atleast 1 artwork series and literary works
[[{'concept': 'Q15709879'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q15709879 ) ( ontology:Q7725634 ) } . ?j rdf:type ?t } GROUP BY ?k } . FILTER ( ?z >= 1 ) }
The Ballad of Cable Hogue How to Explain Pictures to a Dead Hare Torquato Tasso Seedbed Body Pressure La sirena varada
The Ballad of Cable Hogue, How to explain Pictures to a Dead Hare and La sirena varada were the sources of inspiration for atleast 1 artwork series and literary works
The Ballad of Cable Hogue How to Explain Pictures to a Dead Hare La sirena varada
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
value 1
[[{'concept': 'artwork series'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:artwork_series ) ( ontology:literary_work ) } . ?j rdf:type ?t } GROUP BY ?k } . FILTER ( ?z >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q15619164 Q95074 Q838948
USER
How many works of art have the character around 3 abstract beings or fictional characters ?
(c(Q838948),P674,c(Q15619164)|c(Q95074))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q838948
type Q15619164
action find_tuple_counts
relation P674
type Q838948
type Q95074
value 3
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?z property:P674 ?d . ?z rdf:type ontology:Q838948 . ?d rdf:type ontology:Q15619164 } UNION { ?z property:P674 ?d . ?z rdf:type ontology:Q838948 . ?d rdf:type ontology:Q95074 } } GROUP BY ?z } . FILTER ( ?g = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation characters
type work of art
type abstract being
action find_tuple_counts
relation characters
type work of art
type fictional character
value 3
[{'concept': 'work of art'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?z property:characters ?d . ?z rdf:type ontology:work_of_art . ?d rdf:type ontology:abstract_being } UNION { ?z property:characters ?d . ?z rdf:type ontology:work_of_art . ?d rdf:type ontology:fictional_character } } GROUP BY ?z } . FILTER ( ?g = 3 ) }
[]
abstract being fictional character work of art
SYSTEM
4
Q1254421 Q632743 Q14772351 Q26833
(c(Q838948),P674,c(Q15619164)|c(Q95074))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q838948
type Q15619164
action find_tuple_counts
relation P674
type Q838948
type Q95074
value 3
[ANSWER]
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?z property:P674 ?d . ?z rdf:type ontology:Q838948 . ?d rdf:type ontology:Q15619164 } UNION { ?z property:P674 ?d . ?z rdf:type ontology:Q838948 . ?d rdf:type ontology:Q95074 } } GROUP BY ?z } . FILTER ( ?g = 3 ) }
Dracula The Barber of Seville Batman v Superman: Dawn of Justice Othello
4
action count
action approx
action union
action find_tuple_counts
relation characters
type work of art
type abstract being
action find_tuple_counts
relation characters
type work of art
type fictional character
value 3
[{'concept': 'work of art'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?z WHERE { { ?z property:characters ?d . ?z rdf:type ontology:work_of_art . ?d rdf:type ontology:abstract_being } UNION { ?z property:characters ?d . ?z rdf:type ontology:work_of_art . ?d rdf:type ontology:fictional_character } } GROUP BY ?z } . FILTER ( ?g = 3 ) }
[]