Simple Question (Direct)
Simple Question
Q135248
P161
Q502895
USER
Which people were casted in Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core ?
(Q135248,P161,c(Q502895))
action filter_type
action find
entity Q135248
relation P161
type Q502895
['Q135248', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q135248 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core
action filter_type
action find
entity Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core
relation cast member
type common name
['Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Kamen_Rider_×_Kamen_Rider_OOO_&_W_Featuring_Skull:_Movie_War_Core property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
common name
Q1329748 Q271793 Q1093223
SYSTEM
Tomomi Kasai, Reon Kadena, Tarō Yamamoto
Q1075055 Q3544614 Q4922349 Q643440 Q6123669 Q1329748 Q329873 Q1076842 Q271793 Q1093223 Q1142856 Q3234542 Q3545470 Q1134059 Q1134047 Q1333036 Q7385328 Q2839470 Q3572668 Q1372791
(Q135248,P161,c(Q502895))
action filter_type
action find
entity Q135248
relation P161
type Q502895
[ANSWERS] were casted in Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core
['Q135248', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q135248 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Shingo Nakagawa Kengo Ohkuchi Keikō Sakai Minehiro Kinomoto Shu Watanabe Tomomi Kasai Takashi Ukaji Kenji Hamada Reon Kadena Tarō Yamamoto Fumihiko Tachiki Hikaru Yamamoto Kenta Satoi Renn Kiriyama Masaki Suda Yukana Ryosuke Miura Naoko Kouda Yoshimitsu Shimoyama Jōji Nakata
Tomomi Kasai, Reon Kadena and Tarō Yamamoto were casted in Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core
Tomomi Kasai Reon Kadena Tarō Yamamoto
action filter_type
action find
entity Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core
relation cast member
type common name
['Kamen Rider × Kamen Rider OOO & W Featuring Skull: Movie War Core', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Kamen_Rider_×_Kamen_Rider_OOO_&_W_Featuring_Skull:_Movie_War_Core property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1093223
P39
Q12737077
USER
What was the position for which Tarō Yamamoto was appointed ?
(Q1093223,P39,c(Q12737077))
action filter_type
action find
entity Q1093223
relation P39
type Q12737077
['Q1093223', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q1093223 property:P39 ?x }
Tarō Yamamoto
action filter_type
action find
entity Tarō Yamamoto
relation position held
type occupation
['Tarō Yamamoto', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Tarō_Yamamoto property:position_held ?x }
[]
occupation
Q14552828
SYSTEM
member of the House of Councillors
Q14552828
(Q1093223,P39,c(Q12737077))
action filter_type
action find
entity Q1093223
relation P39
type Q12737077
By [ANSWER]
['Q1093223', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q1093223 property:P39 ?x }
member of the House of Councillors
By member of the House of Councillors
member of the House of Councillors
action filter_type
action find
entity Tarō Yamamoto
relation position held
type occupation
['Tarō Yamamoto', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Tarō_Yamamoto property:position_held ?x }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2467518
P361
Q838948 Q2031291 Q838948
USER
Which works of art are approximately the same number of releases and works of art a part of as Visions of the Hereafter ?
(c(Q2031291)|c(Q838948),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2467518
relation P361
type Q2031291
type Q838948
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } . ?z rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } . ?y property:P361 resource:Q2467518 } } . FILTER ( ?t = ?i ) }
Visions of the Hereafter
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action count
action filter_multi_types
action find_reverse
entity Visions of the Hereafter
relation part of
type release
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:release ) ( ontology:work_of_art ) } . ?z rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:release ) ( ontology:work_of_art ) } } . ?y property:part_of resource:Visions_of_the_Hereafter } } . FILTER ( ?t = ?i ) }
[]
work of art release work of art
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q215750 Q734834 Q222867 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q2031291)|c(Q838948),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2467518
relation P361
type Q2031291
type Q838948
[ANSWERS] are approximately the same number of releases and works of art a part of as Visions of the Hereafter
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } . ?z rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } . ?y property:P361 resource:Q2467518 } } . FILTER ( ?t = ?i ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées 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 Julius Caesar Ghent Altarpiece 2 Fast 2 Furious Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine 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 Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels El Cantante Inferno Hunnestad Monument Babes in Arms 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 Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Carefree 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 releases and works of art a part of as Visions of the Hereafter
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 release
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action count
action filter_multi_types
action find_reverse
entity Visions of the Hereafter
relation part of
type release
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:release ) ( ontology:work_of_art ) } . ?z rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:release ) ( ontology:work_of_art ) } } . ?y property:part_of resource:Visions_of_the_Hereafter } } . FILTER ( ?t = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3747490
P361
Q838948 Q2031291 Q838948
USER
And how about baptismal font of the Siena Baptistry?
(c(Q2031291)|c(Q838948),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3747490
relation P361
type Q2031291
type Q838948
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P361 resource:Q3747490 . { { ?h rdf:type ontology:Q2031291 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?g WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } GROUP BY ?g } }
baptismal font of the Siena Baptistry
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action count
action filter_multi_types
action find_reverse
entity baptismal font of the Siena Baptistry
relation part of
type release
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:part_of resource:baptismal_font_of_the_Siena_Baptistry . { { ?h rdf:type ontology:release } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?g WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:release ) ( ontology:work_of_art ) } } GROUP BY ?g } }
[]
work of art release work of art
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q2031291)|c(Q838948),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3747490
relation P361
type Q2031291
type Q838948
[ANSWERS]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P361 resource:Q3747490 . { { ?h rdf:type ontology:Q2031291 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?g WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } GROUP BY ?g } }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring 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 Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées 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 Henry V Dabangg New Orleans 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 Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms 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 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides 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 Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Carefree 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 Lucy
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type work of art
action count
action filter_multi_types
action find_reverse
entity baptismal font of the Siena Baptistry
relation part of
type release
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:part_of resource:baptismal_font_of_the_Siena_Baptistry . { { ?h rdf:type ontology:release } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?g WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:release ) ( ontology:work_of_art ) } } GROUP BY ?g } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P921
Q37654 Q1318295
USER
How many markets and narratives were the main subjects of that work of art 's work ?
(Q15624215,P921,c(Q37654)) (Q15624215,P921,c(Q1318295)) (Q205028,P921,c(Q37654)) (Q205028,P921,c(Q1318295)) (Q102438,P921,c(Q37654)) (Q102438,P921,c(Q1318295)) (Q15624215,P921,c(Q37654)) (Q15624215,P921,c(Q1318295))
['Q15624215', 'P921', {'concept': 'Q37654'}] ['Q15624215', 'P921', {'concept': 'Q1318295'}] ['Q205028', 'P921', {'concept': 'Q37654'}] ['Q205028', 'P921', {'concept': 'Q1318295'}] ['Q102438', 'P921', {'concept': 'Q37654'}] ['Q102438', 'P921', {'concept': 'Q1318295'}] ['Q15624215', 'P921', {'concept': 'Q37654'}] ['Q15624215', 'P921', {'concept': 'Q1318295'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q27147401 property:P921 ?z } UNION { resource:Q27147401 property:P921 ?y } UNION { resource:Q3802097 property:P921 ?z } UNION { resource:Q3802097 property:P921 ?y } UNION { resource:Q719960 property:P921 ?z } UNION { resource:Q719960 property:P921 ?y } UNION { resource:Q27147401 property:P921 ?z } UNION { resource:Q27147401 property:P921 ?y } } . ?z rdf:type ontology:Q37654 . ?y rdf:type ontology:Q1318295 }
['Lucy', 'main subject', {'concept': 'market'}] ['Lucy', 'main subject', {'concept': 'narrative'}] ['Iron Man 2', 'main subject', {'concept': 'market'}] ['Iron Man 2', 'main subject', {'concept': 'narrative'}] ["Harry Potter and the Philosopher's Stone", 'main subject', {'concept': 'market'}] ["Harry Potter and the Philosopher's Stone", 'main subject', {'concept': 'narrative'}] ['Lucy', 'main subject', {'concept': 'market'}] ['Lucy', 'main subject', {'concept': 'narrative'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Lucy property:main_subject ?z } UNION { resource:Lucy property:main_subject ?y } UNION { resource:Iron_Man_2 property:main_subject ?z } UNION { resource:Iron_Man_2 property:main_subject ?y } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:main_subject ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:main_subject ?y } UNION { resource:Lucy property:main_subject ?z } UNION { resource:Lucy property:main_subject ?y } } . ?z rdf:type ontology:market . ?y rdf:type ontology:narrative }
[]
market narrative
Quantitative|Count|Mult. entity type|Clarification
Q15624215
SYSTEM
Did you mean Lucy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q27147401 property:P921 ?z } UNION { resource:Q27147401 property:P921 ?y } UNION { resource:Q3802097 property:P921 ?z } UNION { resource:Q3802097 property:P921 ?y } UNION { resource:Q719960 property:P921 ?z } UNION { resource:Q719960 property:P921 ?y } UNION { resource:Q27147401 property:P921 ?z } UNION { resource:Q27147401 property:P921 ?y } } . ?z rdf:type ontology:Q37654 . ?y rdf:type ontology:Q1318295 }
Did you mean Lucy ?
Lucy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Lucy property:main_subject ?z } UNION { resource:Lucy property:main_subject ?y } UNION { resource:Iron_Man_2 property:main_subject ?z } UNION { resource:Iron_Man_2 property:main_subject ?y } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:main_subject ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:main_subject ?y } UNION { resource:Lucy property:main_subject ?z } UNION { resource:Lucy property:main_subject ?y } } . ?z rdf:type ontology:market . ?y rdf:type ontology:narrative }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q15624215,P921,c(Q37654)) (Q15624215,P921,c(Q1318295)) (Q205028,P921,c(Q37654)) (Q205028,P921,c(Q1318295)) (Q102438,P921,c(Q37654)) (Q102438,P921,c(Q1318295)) (Q15624215,P921,c(Q37654)) (Q15624215,P921,c(Q1318295))
['Q15624215', 'P921', {'concept': 'Q37654'}] ['Q15624215', 'P921', {'concept': 'Q1318295'}] ['Q205028', 'P921', {'concept': 'Q37654'}] ['Q205028', 'P921', {'concept': 'Q1318295'}] ['Q102438', 'P921', {'concept': 'Q37654'}] ['Q102438', 'P921', {'concept': 'Q1318295'}] ['Q15624215', 'P921', {'concept': 'Q37654'}] ['Q15624215', 'P921', {'concept': 'Q1318295'}]
['Lucy', 'main subject', {'concept': 'market'}] ['Lucy', 'main subject', {'concept': 'narrative'}] ['Iron Man 2', 'main subject', {'concept': 'market'}] ['Iron Man 2', 'main subject', {'concept': 'narrative'}] ["Harry Potter and the Philosopher's Stone", 'main subject', {'concept': 'market'}] ["Harry Potter and the Philosopher's Stone", 'main subject', {'concept': 'narrative'}] ['Lucy', 'main subject', {'concept': 'market'}] ['Lucy', 'main subject', {'concept': 'narrative'}]
[]
SYSTEM
1 markets and 1 narratives
Q844924 Q784749
(Q15624215,P921,c(Q37654)) (Q15624215,P921,c(Q1318295)) (Q205028,P921,c(Q37654)) (Q205028,P921,c(Q1318295)) (Q102438,P921,c(Q37654)) (Q102438,P921,c(Q1318295)) (Q15624215,P921,c(Q37654)) (Q15624215,P921,c(Q1318295))
[ANSWER]
['Q15624215', 'P921', {'concept': 'Q37654'}] ['Q15624215', 'P921', {'concept': 'Q1318295'}] ['Q205028', 'P921', {'concept': 'Q37654'}] ['Q205028', 'P921', {'concept': 'Q1318295'}] ['Q102438', 'P921', {'concept': 'Q37654'}] ['Q102438', 'P921', {'concept': 'Q1318295'}] ['Q15624215', 'P921', {'concept': 'Q37654'}] ['Q15624215', 'P921', {'concept': 'Q1318295'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q27147401 property:P921 ?z } UNION { resource:Q27147401 property:P921 ?y } UNION { resource:Q3802097 property:P921 ?z } UNION { resource:Q3802097 property:P921 ?y } UNION { resource:Q719960 property:P921 ?z } UNION { resource:Q719960 property:P921 ?y } UNION { resource:Q27147401 property:P921 ?z } UNION { resource:Q27147401 property:P921 ?y } } . ?z rdf:type ontology:Q37654 . ?y rdf:type ontology:Q1318295 }
illegal drug trade ten percent of brain myth
1 markets and 1 narratives
['Lucy', 'main subject', {'concept': 'market'}] ['Lucy', 'main subject', {'concept': 'narrative'}] ['Iron Man 2', 'main subject', {'concept': 'market'}] ['Iron Man 2', 'main subject', {'concept': 'narrative'}] ["Harry Potter and the Philosopher's Stone", 'main subject', {'concept': 'market'}] ["Harry Potter and the Philosopher's Stone", 'main subject', {'concept': 'narrative'}] ['Lucy', 'main subject', {'concept': 'market'}] ['Lucy', 'main subject', {'concept': 'narrative'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Lucy property:main_subject ?z } UNION { resource:Lucy property:main_subject ?y } UNION { resource:Iron_Man_2 property:main_subject ?z } UNION { resource:Iron_Man_2 property:main_subject ?y } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:main_subject ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:main_subject ?y } UNION { resource:Lucy property:main_subject ?z } UNION { resource:Lucy property:main_subject ?y } } . ?z rdf:type ontology:market . ?y rdf:type ontology:narrative }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1752478
P361
Q838948 Q107425 Q7725634
USER
How many works of art are more number of landscapes or literary works a component of than Slap Shot ?
(c(Q107425)|c(Q7725634),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q1752478
relation P361
type Q107425
type Q7725634
[[{'concept': 'Q107425'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?r WHERE { { ?x property:P361 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q107425 } UNION { ?x property:P361 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q7725634 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P361 resource:Q1752478 . { { ?i rdf:type ontology:Q107425 } UNION { ?i rdf:type ontology:Q7725634 } } } } . FILTER ( ?w > ?l ) }
Slap Shot
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
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 Slap Shot
relation part of
type landscape
type literary work
[[{'concept': 'landscape'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?r WHERE { { ?x property:part_of ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:landscape } UNION { ?x property:part_of ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:literary_work } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:part_of resource:Slap_Shot . { { ?i rdf:type ontology:landscape } UNION { ?i rdf:type ontology:literary_work } } } } . FILTER ( ?w > ?l ) }
[]
work of art landscape literary work
SYSTEM
11
Q127367 Q10371896 Q733065 Q747847 Q945138 Q976149 Q632753 Q489772 Q309153 Q1125687 Q1230318
(c(Q107425)|c(Q7725634),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q1752478
relation P361
type Q107425
type Q7725634
[ANSWER]
[[{'concept': 'Q107425'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?r WHERE { { ?x property:P361 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q107425 } UNION { ?x property:P361 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q7725634 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P361 resource:Q1752478 . { { ?i rdf:type ontology:Q107425 } UNION { ?i rdf:type ontology:Q7725634 } } } } . FILTER ( ?w > ?l ) }
The Lord of the Rings: The Fellowship of the Ring Sing, Baby, Sing Dabangg New Orleans Bedknobs and Broomsticks Laura Babes in Arms Seven Wonders of the Ancient World Singin' in the Rain Teheran 43 Carefree
11
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
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 Slap Shot
relation part of
type landscape
type literary work
[[{'concept': 'landscape'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?r WHERE { { ?x property:part_of ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:landscape } UNION { ?x property:part_of ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:literary_work } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:part_of resource:Slap_Shot . { { ?i rdf:type ontology:landscape } UNION { ?i rdf:type ontology:literary_work } } } } . FILTER ( ?w > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2003287
P361
Q838948 Q107425 Q7725634
USER
And what about The Gates of Hell?
(c(Q107425)|c(Q7725634),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q2003287
relation P361
type Q107425
type Q7725634
[[{'concept': 'Q107425'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t > ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q107425 ) ( ontology:Q7725634 ) } } . ?k property:P361 resource:Q2003287 } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:Q107425 ) ( ontology:Q7725634 ) } } GROUP BY ?j } }
The Gates of Hell
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
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 The Gates of Hell
relation part of
type landscape
type literary work
[[{'concept': 'landscape'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t > ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:landscape ) ( ontology:literary_work ) } } . ?k property:part_of resource:The_Gates_of_Hell } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:landscape ) ( ontology:literary_work ) } } GROUP BY ?j } }
[]
work of art landscape literary work
SYSTEM
11
Q127367 Q10371896 Q733065 Q747847 Q945138 Q976149 Q632753 Q489772 Q309153 Q1125687 Q1230318
(c(Q107425)|c(Q7725634),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q2003287
relation P361
type Q107425
type Q7725634
[ANSWER]
[[{'concept': 'Q107425'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t > ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q107425 ) ( ontology:Q7725634 ) } } . ?k property:P361 resource:Q2003287 } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:Q107425 ) ( ontology:Q7725634 ) } } GROUP BY ?j } }
The Lord of the Rings: The Fellowship of the Ring Sing, Baby, Sing Dabangg New Orleans Bedknobs and Broomsticks Laura Babes in Arms Seven Wonders of the Ancient World Singin' in the Rain Teheran 43 Carefree
11
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
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 The Gates of Hell
relation part of
type landscape
type literary work
[[{'concept': 'landscape'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t > ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:landscape ) ( ontology:literary_work ) } } . ?k property:part_of resource:The_Gates_of_Hell } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?w . VALUES ( ?w ) { ( ontology:landscape ) ( ontology:literary_work ) } } GROUP BY ?j } }
[]