Simple Question (Direct)
Simple Question
Q497319
P264
Q334453
USER
Which division sponsored the recording of Kim Dong-wan ?
(Q497319,P264,c(Q334453))
action filter_type
action find
entity Q497319
relation P264
type Q334453
['Q497319', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?l WHERE { resource:Q497319 property:P264 ?l . ?l rdf:type ontology:Q334453 }
Kim Dong-wan
action filter_type
action find
entity Kim Dong-wan
relation record label
type division
['Kim Dong-wan', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?l WHERE { resource:Kim_Dong-wan property:record_label ?l . ?l rdf:type ontology:division }
[]
division
Q483938
SYSTEM
S.M. Entertainment
Q483938
(Q497319,P264,c(Q334453))
action filter_type
action find
entity Q497319
relation P264
type Q334453
[ANSWER] sponsored the recording of Kim Dong-wan
['Q497319', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?l WHERE { resource:Q497319 property:P264 ?l . ?l rdf:type ontology:Q334453 }
S.M. Entertainment
S.M. Entertainment sponsored the recording of Kim Dong-wan
S.M. Entertainment
action filter_type
action find
entity Kim Dong-wan
relation record label
type division
['Kim Dong-wan', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?l WHERE { resource:Kim_Dong-wan property:record_label ?l . ?l rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q483938
P750
Q838948
USER
Who has that division as its distributor ?
(c(Q838948),P750,Q483938)
action filter_type
action find_reverse
entity Q483938
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q483938']
SELECT DISTINCT ?i WHERE { ?i property:P750 resource:Q483938 . ?i rdf:type ontology:Q838948 }
S.M. Entertainment
action filter_type
action find_reverse
entity S.M. Entertainment
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'S.M. Entertainment']
SELECT DISTINCT ?i WHERE { ?i property:distributor resource:S.M._Entertainment . ?i rdf:type ontology:work_of_art }
[]
work of art
Q484670
SYSTEM
Attack on the Pin-Up Boys
Q484670
(c(Q838948),P750,Q483938)
action filter_type
action find_reverse
entity Q483938
relation P750
type Q838948
[ANSWER] has that division as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q483938']
SELECT DISTINCT ?i WHERE { ?i property:P750 resource:Q483938 . ?i rdf:type ontology:Q838948 }
Attack on the Pin-Up Boys
Attack on the Pin-Up Boys has that division as its distributor
Attack on the Pin-Up Boys
action filter_type
action find_reverse
entity S.M. Entertainment
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'S.M. Entertainment']
SELECT DISTINCT ?i WHERE { ?i property:distributor resource:S.M._Entertainment . ?i rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19393199
P361
Q838948 Q15619164 Q7725634
USER
Which works of art are approximately the same number of abstract beings or literary works a portion of as Life of Humanity ?
(c(Q15619164)|c(Q7725634),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q19393199
relation P361
type Q15619164
type Q7725634
[[{'concept': 'Q15619164'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?e WHERE { { ?f property:P361 ?e . ?e rdf:type ontology:Q838948 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P361 ?e . ?e rdf:type ontology:Q838948 . ?f rdf:type ontology:Q15619164 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P361 resource:Q19393199 . { { ?h rdf:type ontology:Q15619164 } UNION { ?h rdf:type ontology:Q7725634 } } } } . FILTER ( ?l = ?n ) }
Life of Humanity
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
action count
action filter_multi_types
action find_reverse
entity Life of Humanity
relation part of
type abstract being
type literary work
[[{'concept': 'abstract being'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?e WHERE { { ?f property:part_of ?e . ?e rdf:type ontology:work_of_art . ?f rdf:type ontology:literary_work } UNION { ?f property:part_of ?e . ?e rdf:type ontology:work_of_art . ?f rdf:type ontology:abstract_being } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:part_of resource:Life_of_Humanity . { { ?h rdf:type ontology:abstract_being } UNION { ?h rdf:type ontology:literary_work } } } } . FILTER ( ?l = ?n ) }
[]
work of art abstract being literary work
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q187483 Q6519361 Q874496 Q475476 Q103569 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q20857440 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q15619164)|c(Q7725634),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q19393199
relation P361
type Q15619164
type Q7725634
[ANSWERS] are approximately the same number of abstract beings or literary works a portion of as Life of Humanity
[[{'concept': 'Q15619164'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?e WHERE { { ?f property:P361 ?e . ?e rdf:type ontology:Q838948 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P361 ?e . ?e rdf:type ontology:Q838948 . ?f rdf:type ontology:Q15619164 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P361 resource:Q19393199 . { { ?h rdf:type ontology:Q15619164 } UNION { ?h rdf:type ontology:Q7725634 } } } } . FILTER ( ?l = ?n ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument The Sound of Music Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Henry VI (play) Part 1-3 Supergirl drawing Meditation Playing for Keeps Arabian Nights The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy are approximately the same number of abstract beings or literary works a portion of as Life of Humanity
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
action count
action filter_multi_types
action find_reverse
entity Life of Humanity
relation part of
type abstract being
type literary work
[[{'concept': 'abstract being'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?e WHERE { { ?f property:part_of ?e . ?e rdf:type ontology:work_of_art . ?f rdf:type ontology:literary_work } UNION { ?f property:part_of ?e . ?e rdf:type ontology:work_of_art . ?f rdf:type ontology:abstract_being } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:part_of resource:Life_of_Humanity . { { ?h rdf:type ontology:abstract_being } UNION { ?h rdf:type ontology:literary_work } } } } . FILTER ( ?l = ?n ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q590975 Q483938
P112 P161
Q502895
USER
Which people are the names of the founders of S.M. Entertainment or are in Remember That Night ?
OR((Q483938,P112,c(Q502895)), (Q590975,P161,c(Q502895)))
action filter_type
action union
action find
entity Q483938
relation P112
action find
entity Q590975
relation P161
type Q502895
{'OR': [['Q483938', 'P112', {'concept': 'Q502895'}], ['Q590975', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { { resource:Q590975 property:P161 ?g } UNION { resource:Q483938 property:P112 ?g } } }
Remember That Night S.M. Entertainment
action filter_type
action union
action find
entity S.M. Entertainment
relation founder
action find
entity Remember That Night
relation cast member
type common name
{'OR': [['S.M. Entertainment', 'founder', {'concept': 'common name'}], ['Remember That Night', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { { resource:Remember_That_Night property:cast_member ?g } UNION { resource:S.M._Entertainment property:founder ?g } } }
[]
common name
Q362333 Q370560 Q190251 Q524114 Q379608 Q312693 Q443173 Q178517 Q357211 Q3502099
SYSTEM
Some of them are Phil Manzanera, David Crosby, Richard Wright, Guy Pratt, Jon Carin, Robert Wyatt, Dick Parry, David Gilmour, Graham Nash, Steve DiStanislao
Q312693 Q524114 Q443173 Q3502099 Q370560 Q190251 Q5383 Q178517 Q484165 Q362333 Q357211 Q379608
OR((Q483938,P112,c(Q502895)), (Q590975,P161,c(Q502895)))
action filter_type
action union
action find
entity Q483938
relation P112
action find
entity Q590975
relation P161
type Q502895
[ANSWERS] are the names of the founders of S.M. Entertainment or are in Remember That Night
{'OR': [['Q483938', 'P112', {'concept': 'Q502895'}], ['Q590975', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { { resource:Q590975 property:P161 ?g } UNION { resource:Q483938 property:P112 ?g } } }
Robert Wyatt Guy Pratt Dick Parry Steve DiStanislao David Crosby Richard Wright David Bowie David Gilmour Lee Soo-man Phil Manzanera Graham Nash Jon Carin
Phil Manzanera, David Crosby, Richard Wright, Guy Pratt, Jon Carin, Robert Wyatt, Dick Parry, David Gilmour, Graham Nash and Steve DiStanislao are the names of the founders of S.M. Entertainment or are in Remember That Night
Phil Manzanera David Crosby Richard Wright Guy Pratt Jon Carin Robert Wyatt Dick Parry David Gilmour Graham Nash Steve DiStanislao
action filter_type
action union
action find
entity S.M. Entertainment
relation founder
action find
entity Remember That Night
relation cast member
type common name
{'OR': [['S.M. Entertainment', 'founder', {'concept': 'common name'}], ['Remember That Night', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { { resource:Remember_That_Night property:cast_member ?g } UNION { resource:S.M._Entertainment property:founder ?g } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q590975
P175
Q502895
USER
What was presented by Remember That Night ?
(Q590975,P175,c(Q502895))
action filter_type
action find
entity Q590975
relation P175
type Q502895
['Q590975', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q590975 property:P175 ?z . ?z rdf:type ontology:Q502895 }
Remember That Night
action filter_type
action find
entity Remember That Night
relation performer
type common name
['Remember That Night', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Remember_That_Night property:performer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q178517
SYSTEM
David Gilmour
Q178517
(Q590975,P175,c(Q502895))
action filter_type
action find
entity Q590975
relation P175
type Q502895
Be [ANSWER] was presented by Remember That Night
['Q590975', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q590975 property:P175 ?z . ?z rdf:type ontology:Q502895 }
David Gilmour
Be David Gilmour was presented by Remember That Night
David Gilmour
action filter_type
action find
entity Remember That Night
relation performer
type common name
['Remember That Night', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Remember_That_Night property:performer ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q590975
P364
Q34770
USER
Which language was used originally for the creation of that album ?
(Q178517,P364,c(Q34770))
action filter_type
action find
entity Q590975
relation P364
type Q34770
['Q178517', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q590975 property:P364 ?d . ?d rdf:type ontology:Q34770 }
Remember That Night
action filter_type
action find
entity Remember That Night
relation original language of work
type language
['David Gilmour', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Remember_That_Night property:original_language_of_work ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q178517,P364,c(Q34770))
action filter_type
action find
entity Q590975
relation P364
type Q34770
[ANSWER] was used originally for the creation of that album
['Q178517', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q590975 property:P364 ?d . ?d rdf:type ontology:Q34770 }
English
English was used originally for the creation of that album
English
action filter_type
action find
entity Remember That Night
relation original language of work
type language
['David Gilmour', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Remember_That_Night property:original_language_of_work ?d . ?d rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q590975
P162
Q502895
USER
Which person produced that album ?
(Q1860,P162,c(Q502895))
action filter_type
action find
entity Q590975
relation P162
type Q502895
['Q1860', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q590975 property:P162 ?j }
Remember That Night
action filter_type
action find
entity Remember That Night
relation producer
type common name
['English', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Remember_That_Night property:producer ?j }
[]
common name
Q178517
SYSTEM
David Gilmour
Q178517
(Q1860,P162,c(Q502895))
action filter_type
action find
entity Q590975
relation P162
type Q502895
[ANSWER] produced that album
['Q1860', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q590975 property:P162 ?j }
David Gilmour
David Gilmour produced that album
David Gilmour
action filter_type
action find
entity Remember That Night
relation producer
type common name
['English', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Remember_That_Night property:producer ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3214254 Q590975
P162 P161
Q502895
USER
Which people are the producers of Remember That Night or were casted in Hitler ?
OR((Q590975,P162,c(Q502895)), (Q3214254,P161,c(Q502895)))
action filter_type
action union
action find
entity Q590975
relation P162
action find
entity Q3214254
relation P161
type Q502895
{'OR': [['Q590975', 'P162', {'concept': 'Q502895'}], ['Q3214254', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q590975 property:P162 ?d } UNION { resource:Q3214254 property:P161 ?d } } }
Hitler Remember That Night
action filter_type
action union
action find
entity Remember That Night
relation producer
action find
entity Hitler
relation cast member
type common name
{'OR': [['Remember That Night', 'producer', {'concept': 'common name'}], ['Hitler', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Remember_That_Night property:producer ?d } UNION { resource:Hitler property:cast_member ?d } } }
[]
common name
Q963593 Q114683 Q178517 Q85154 Q87145 Q85232 Q827162 Q1702132 Q474746 Q3116367
SYSTEM
Some of them are Richard Basehart, Martin Kosleck, David Gilmour, John Banner, Carl Esmond, Celia Lovsky, Berry Kroeger, John Wengraf, John Mitchum, Gregory Gaye
Q827162 Q3116367 Q1702132 Q85154 Q76384 Q114683 Q87145 Q178517 Q474746 Q963593 Q85232
OR((Q590975,P162,c(Q502895)), (Q3214254,P161,c(Q502895)))
action filter_type
action union
action find
entity Q590975
relation P162
action find
entity Q3214254
relation P161
type Q502895
[ANSWERS] are the producers of Remember That Night or were casted in Hitler
{'OR': [['Q590975', 'P162', {'concept': 'Q502895'}], ['Q3214254', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q590975 property:P162 ?d } UNION { resource:Q3214254 property:P161 ?d } } }
Berry Kroeger Gregory Gaye John Wengraf John Banner Cordula Trantow Martin Kosleck Carl Esmond David Gilmour John Mitchum Richard Basehart Celia Lovsky
Richard Basehart, Martin Kosleck, David Gilmour, John Banner, Carl Esmond, Celia Lovsky, Berry Kroeger, John Wengraf, John Mitchum and Gregory Gaye are the producers of Remember That Night or were casted in Hitler
Richard Basehart Martin Kosleck David Gilmour John Banner Carl Esmond Celia Lovsky Berry Kroeger John Wengraf John Mitchum Gregory Gaye
action filter_type
action union
action find
entity Remember That Night
relation producer
action find
entity Hitler
relation cast member
type common name
{'OR': [['Remember That Night', 'producer', {'concept': 'common name'}], ['Hitler', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Remember_That_Night property:producer ?d } UNION { resource:Hitler property:cast_member ?d } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings did around 2 people dub for ?
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 2
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?d ) WHERE { ?p property:P725 ?o . ?p rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?d = 2 ) }
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 2
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?d ) WHERE { ?p property:voice_actor ?o . ?p rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?d = 2 ) }
[]
common name abstract being
Q5480 Q3152983 Q819519
SYSTEM
Bart Simpson, Integra Hellsing, Gul'dan
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 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 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 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 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 2
[ANSWERS]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?d ) WHERE { ?p property:P725 ?o . ?p rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?d = 2 ) }
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 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 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 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 SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
Which abstract beings around 2 people dubbed for
Bart Simpson Integra Hellsing Gul'dan
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 2
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?d ) WHERE { ?p property:voice_actor ?o . ?p rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?d = 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3152983
P40
Q6619679
USER
Who has that abstract being as a child ?
(c(Q6619679),P40,Q3152983)
action filter_type
action find_reverse
entity Q3152983
relation P40
type Q6619679
[{'concept': 'Q6619679'}, 'P40', 'Q3152983']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q6619679 . ?j property:P40 resource:Q3152983 }
Integra Hellsing
action filter_type
action find_reverse
entity Integra Hellsing
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'Integra Hellsing']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:fictional_humanoid . ?j property:child resource:Integra_Hellsing }
[]
fictional humanoid
Clarification for simple ques.
Q819519
SYSTEM
Did you mean Gul'dan ?
Q5480 Q3152983 Q819519
(c(Q6619679),P40,Q5480) (c(Q6619679),P40,Q3152983) (c(Q6619679),P40,Q819519)
[ANSWER]
[{'concept': 'Q6619679'}, 'P40', 'Q5480'] [{'concept': 'Q6619679'}, 'P40', 'Q3152983'] [{'concept': 'Q6619679'}, 'P40', 'Q819519']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q6619679 . ?j property:P40 resource:Q3152983 }
Bart Simpson Integra Hellsing Gul'dan
Did you mean Gul'dan ?
Gul'dan
[{'concept': 'fictional humanoid'}, 'child', 'Bart Simpson'] [{'concept': 'fictional humanoid'}, 'child', 'Integra Hellsing'] [{'concept': 'fictional humanoid'}, 'child', "Gul'dan"]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:fictional_humanoid . ?j property:child resource:Integra_Hellsing }
[]
Simple Question (Coreferenced)
USER
No, I meant Integra Hellsing. Could you tell me the answer for that?
(c(Q6619679),P40,Q3152983)
Q3152983
[{'concept': 'Q6619679'}, 'P40', 'Q3152983']
[{'concept': 'fictional humanoid'}, 'child', 'Integra Hellsing']
[]
Q9160471
SYSTEM
Arthur Hellsing
Q9160471
(c(Q6619679),P40,Q3152983)
action filter_type
action find_reverse
entity Q3152983
relation P40
type Q6619679
[ANSWER] has that abstract being as a child
[{'concept': 'Q6619679'}, 'P40', 'Q3152983']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q6619679 . ?j property:P40 resource:Q3152983 }
Arthur Hellsing
Arthur Hellsing has that abstract being as a child
Arthur Hellsing
action filter_type
action find_reverse
entity Integra Hellsing
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'Integra Hellsing']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:fictional_humanoid . ?j property:child resource:Integra_Hellsing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q178517
P166
Q2003221
USER
What was won by David Gilmour ?
(Q178517,P166,c(Q2003221))
action filter_type
action find
entity Q178517
relation P166
type Q2003221
['Q178517', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { resource:Q178517 property:P166 ?j . ?j rdf:type ontology:Q2003221 }
David Gilmour
action filter_type
action find
entity David Gilmour
relation award received
type chivalric order
['David Gilmour', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { resource:David_Gilmour property:award_received ?j . ?j rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201477
SYSTEM
Commander of the Order of the British Empire
Q12201477
(Q178517,P166,c(Q2003221))
action filter_type
action find
entity Q178517
relation P166
type Q2003221
The [ANSWER] was won by David Gilmour
['Q178517', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { resource:Q178517 property:P166 ?j . ?j rdf:type ontology:Q2003221 }
Commander of the Order of the British Empire
The Commander of the Order of the British Empire was won by David Gilmour
Commander of the Order of the British Empire
action filter_type
action find
entity David Gilmour
relation award received
type chivalric order
['David Gilmour', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { resource:David_Gilmour property:award_received ?j . ?j rdf:type ontology:chivalric_order }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q178517
Q618779
USER
And which award?
(Q178517,P166,c(Q618779))
action filter_type
action find
entity Q178517
relation P166
type Q618779
['Q178517', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q178517 property:P166 ?v . ?v rdf:type ontology:Q618779 }
David Gilmour
action filter_type
action find
entity David Gilmour
relation award received
type award
['David Gilmour', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:David_Gilmour property:award_received ?v . ?v rdf:type ontology:award }
[]
award
Q2085270
SYSTEM
Order of the Badge of Honour
Q2085270
(Q178517,P166,c(Q618779))
action filter_type
action find
entity Q178517
relation P166
type Q618779
[ANSWER]
['Q178517', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q178517 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Order of the Badge of Honour
Order of the Badge of Honour
action filter_type
action find
entity David Gilmour
relation award received
type award
['David Gilmour', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:David_Gilmour property:award_received ?v . ?v rdf:type ontology:award }
[]