Simple Question (Direct)
Simple Question
Q3401848
P57
Q502895
USER
Who was Premium directed by ?
(Q3401848,P57,c(Q502895))
action filter_type
action find
entity Q3401848
relation P57
type Q502895
['Q3401848', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3401848 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Premium
action filter_type
action find
entity Premium
relation director
type common name
['Premium', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Premium property:director ?o . ?o rdf:type ontology:common_name }
[]
common name
Q7171893
SYSTEM
Pete Chatmon
Q7171893
(Q3401848,P57,c(Q502895))
action filter_type
action find
entity Q3401848
relation P57
type Q502895
Premium was directed by the [ANSWER]
['Q3401848', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3401848 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Pete Chatmon
Premium was directed by the Pete Chatmon
Pete Chatmon
action filter_type
action find
entity Premium
relation director
type common name
['Premium', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Premium property:director ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3401848
P136
Q483394
USER
What can be considered as category for that work of art ?
(Q7171893,P136,c(Q483394))
action filter_type
action find
entity Q3401848
relation P136
type Q483394
['Q7171893', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?a WHERE { resource:Q3401848 property:P136 ?a . ?a rdf:type ontology:Q483394 }
Premium
action filter_type
action find
entity Premium
relation genre
type genre
['Pete Chatmon', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?a WHERE { resource:Premium property:genre ?a . ?a rdf:type ontology:genre }
[]
genre
Q859369
SYSTEM
comedy-drama
Q859369
(Q7171893,P136,c(Q483394))
action filter_type
action find
entity Q3401848
relation P136
type Q483394
[ANSWER] can be considered as category for that work of art
['Q7171893', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?a WHERE { resource:Q3401848 property:P136 ?a . ?a rdf:type ontology:Q483394 }
comedy-drama
Comedy-drama can be considered as category for that work of art
comedy-drama
action filter_type
action find
entity Premium
relation genre
type genre
['Pete Chatmon', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?a WHERE { resource:Premium property:genre ?a . ?a rdf:type ontology:genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q859369 Q1199877
P136
Q838948
USER
Does Jawbreaker have that one as genre ?
(Q1199877,P136,Q859369)
action is_in
entity Q859369
action find
entity Q1199877
relation P136
['Q1199877', 'P136', 'Q859369']
ASK WHERE { resource:Q1199877 property:P136 resource:Q859369 }
comedy-drama Jawbreaker
action is_in
entity comedy-drama
action find
entity Jawbreaker
relation genre
['Jawbreaker', 'genre', 'comedy-drama']
ASK WHERE { resource:Jawbreaker property:genre resource:comedy-drama }
[]
work of art
SYSTEM
YES
(Q1199877,P136,Q859369)
action is_in
entity Q859369
action find
entity Q1199877
relation P136
[ANSWER]
['Q1199877', 'P136', 'Q859369']
ASK WHERE { resource:Q1199877 property:P136 resource:Q859369 }
Yes
action is_in
entity comedy-drama
action find
entity Jawbreaker
relation genre
['Jawbreaker', 'genre', 'comedy-drama']
ASK WHERE { resource:Jawbreaker property:genre resource:comedy-drama }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7758112
P941
Q838948 Q11424 Q201658
USER
How many works of art were lesser number of films and film genres inspired by than The Pretty Sister of Jose ?
(c(Q11424)|c(Q201658),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q7758112
relation P941
type Q11424
type Q201658
[[{'concept': 'Q11424'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P941 resource:Q7758112 . { { ?n rdf:type ontology:Q11424 } UNION { ?n rdf:type ontology:Q201658 } } } } . FILTER ( ?g < ?t ) }
The Pretty Sister of Jose
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action count
action filter_multi_types
action find_reverse
entity The Pretty Sister of Jose
relation inspired by
type film
type film genre
[[{'concept': 'film'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:film_genre ) ( ontology:film ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:inspired_by resource:The_Pretty_Sister_of_Jose . { { ?n rdf:type ontology:film } UNION { ?n rdf:type ontology:film_genre } } } } . FILTER ( ?g < ?t ) }
[]
work of art film film genre
SYSTEM
31
Q125191 Q1136305 Q1198611 Q107724 Q1856846 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q1144983 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q1170100 Q375786 Q465478 Q493755 Q214619 Q169082
(c(Q11424)|c(Q201658),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q7758112
relation P941
type Q11424
type Q201658
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P941 resource:Q7758112 . { { ?n rdf:type ontology:Q11424 } UNION { ?n rdf:type ontology:Q201658 } } } } . FILTER ( ?g < ?t ) }
photograph Doryphoros The Absent-Minded Professor Thunderball The Ballad of Cable Hogue Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso Animal Kingdom The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece The Philadelphia Experiment Hippolytus Star Trek II: The Wrath of Khan Coming to America The Little Mermaid 10 Things I Hate About You
31
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action count
action filter_multi_types
action find_reverse
entity The Pretty Sister of Jose
relation inspired by
type film
type film genre
[[{'concept': 'film'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:film_genre ) ( ontology:film ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:inspired_by resource:The_Pretty_Sister_of_Jose . { { ?n rdf:type ontology:film } UNION { ?n rdf:type ontology:film_genre } } } } . FILTER ( ?g < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4419886
P136
Q483394 Q2342494 Q166142
USER
Which genres are the genre for greater number of collectables or applications than mech simulator ?
(c(Q2342494)|c(Q166142),P136,c(Q483394))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q483394
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q4419886
relation P136
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?w WHERE { { ?e property:P136 ?w . ?w rdf:type ontology:Q483394 . ?e rdf:type ontology:Q166142 } UNION { ?e property:P136 ?w . ?e rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q483394 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P136 resource:Q4419886 . { { ?l rdf:type ontology:Q166142 } UNION { ?l rdf:type ontology:Q2342494 } } } } . FILTER ( ?x > ?q ) }
mech simulator
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type collectable
action find_reverse_tuple_counts
relation genre
type genre
type application
action count
action filter_multi_types
action find_reverse
entity mech simulator
relation genre
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?w WHERE { { ?e property:genre ?w . ?w rdf:type ontology:genre . ?e rdf:type ontology:application } UNION { ?e property:genre ?w . ?e rdf:type ontology:collectable . ?w rdf:type ontology:genre } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:genre resource:mech_simulator . { { ?l rdf:type ontology:application } UNION { ?l rdf:type ontology:collectable } } } } . FILTER ( ?x > ?q ) }
[]
genre collectable application
Q9134 Q2632782 Q1610017
SYSTEM
mythology, rhythm game, simulation video game
Q2628513 Q24925 Q1339223 Q1196408 Q170539 Q603481 Q208189 Q1036289 Q54767 Q49084 Q867123 Q744038 Q1265717 Q1422746 Q182015 Q2454898 Q2632782 Q1762165 Q19842222 Q869955 Q401831 Q578868 Q444835 Q858523 Q1127717 Q19683436 Q1046788 Q3775539 Q1610017 Q2281714 Q8253 Q142714 Q1143132 Q3177937 Q343568 Q4451239 Q828322 Q2176159 Q2762504 Q1417032 Q21030988 Q472055 Q4282636 Q868217 Q185029 Q2313710 Q6290007 Q751424 Q23916 Q1163960 Q53094 Q15286013 Q2561390 Q4375640 Q1150710 Q2070892 Q860750 Q128758 Q1143118 Q846224 Q11590806 Q21010853 Q1198141 Q3177897 Q1080071 Q1635956 Q175173 Q213051 Q333967 Q1137896 Q7832342 Q1224999 Q1044646 Q1044478 Q3139142 Q862490 Q122207 Q156035 Q3739535 Q221181 Q603555 Q689445 Q584105 Q995600 Q1189206 Q380266 Q1529437 Q1199309 Q1892535 Q3965952 Q588289 Q1050023 Q9134 Q536420 Q172067 Q270948 Q1501543 Q192851 Q1260861
(c(Q2342494)|c(Q166142),P136,c(Q483394))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q483394
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q4419886
relation P136
type Q2342494
type Q166142
[ANSWERS] are the genre for greater number of collectables or applications than mech simulator
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?w WHERE { { ?e property:P136 ?w . ?w rdf:type ontology:Q483394 . ?e rdf:type ontology:Q166142 } UNION { ?e property:P136 ?w . ?e rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q483394 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P136 resource:Q4419886 . { { ?l rdf:type ontology:Q166142 } UNION { ?l rdf:type ontology:Q2342494 } } } } . FILTER ( ?x > ?q ) }
graphic adventure game science fiction dating sim historical fiction parody combat flight simulator real-time strategy construction and management simulation puzzle video game short story open world role-playing video game dungeon crawl action role-playing game thriller wargame rhythm game action crime fiction fictional crossover beat 'em up vehicle simulation game virtual world stealth game investigative journalism truck simulator eroge government simulation game simulation video game side-scrolling video game fiction card game roguelike historic game action-adventure game Tank simulation platform game turn-based strategy Indie game sim racing survival game strategy video game shooter game sports video game first-person shooter real-time tactics space simulator MUD adventure game hack and slash black comedy comedy manga and animation comic novel turn-based tactics strategy game vehicular combat game racing video game satire interactive fiction fighting game point-and-click adventure drama business simulation game puzzle game submarine simulator interactive film massively multiplayer online role-playing game non-fiction survival horror tower defense traditional game educational video game New Journalism shoot 'em up grand strategy wargame massively multiplayer online game artillery game opinion journalism art game train simulator 4X visual novel music video game popular science multiplayer online battle arena third-person shooter tactical role-playing game life simulation game space flight simulator game light gun shooter city-building game Casual game mythology god game hentai action game wargame arcade game machine tactical shooter
Mythology, rhythm game and simulation video game are the genre for greater number of collectables or applications than mech simulator
mythology rhythm game simulation video game
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type collectable
action find_reverse_tuple_counts
relation genre
type genre
type application
action count
action filter_multi_types
action find_reverse
entity mech simulator
relation genre
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?w WHERE { { ?e property:genre ?w . ?w rdf:type ontology:genre . ?e rdf:type ontology:application } UNION { ?e property:genre ?w . ?e rdf:type ontology:collectable . ?w rdf:type ontology:genre } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:genre resource:mech_simulator . { { ?l rdf:type ontology:application } UNION { ?l rdf:type ontology:collectable } } } } . FILTER ( ?x > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q156035
P136
Q483394 Q2342494 Q166142
USER
And how about opinion journalism?
(c(Q2342494)|c(Q166142),P136,c(Q483394))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q483394
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q156035
relation P136
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?p WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P136 resource:Q156035 . { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?q rdf:type ?e } } } . FILTER ( ?s > ?b ) }
opinion journalism
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type collectable
action find_reverse_tuple_counts
relation genre
type genre
type application
action count
action filter_multi_types
action find_reverse
entity opinion journalism
relation genre
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?p WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:genre resource:opinion_journalism . { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:application ) } . ?q rdf:type ?e } } } . FILTER ( ?s > ?b ) }
[]
genre collectable application
Q2632782 Q1610017 Q185029
SYSTEM
rhythm game, simulation video game, first-person shooter
Q2628513 Q24925 Q1339223 Q1196408 Q170539 Q603481 Q208189 Q1036289 Q54767 Q49084 Q867123 Q744038 Q1422746 Q182015 Q2454898 Q2632782 Q19842222 Q869955 Q401831 Q578868 Q858523 Q1127717 Q1046788 Q3775539 Q1610017 Q2281714 Q8253 Q142714 Q1143132 Q343568 Q4451239 Q828322 Q2176159 Q1417032 Q21030988 Q472055 Q4282636 Q868217 Q185029 Q2313710 Q6290007 Q751424 Q23916 Q1163960 Q53094 Q15286013 Q2561390 Q4375640 Q1150710 Q2070892 Q860750 Q128758 Q1143118 Q846224 Q21010853 Q1198141 Q1080071 Q1635956 Q175173 Q213051 Q333967 Q1137896 Q7832342 Q1044478 Q3139142 Q862490 Q122207 Q603555 Q689445 Q584105 Q995600 Q1189206 Q380266 Q1529437 Q1199309 Q1892535 Q3965952 Q588289 Q1050023 Q536420 Q172067 Q270948 Q1501543 Q192851 Q1260861
(c(Q2342494)|c(Q166142),P136,c(Q483394))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q483394
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q156035
relation P136
type Q2342494
type Q166142
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?p WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P136 resource:Q156035 . { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?q rdf:type ?e } } } . FILTER ( ?s > ?b ) }
graphic adventure game science fiction dating sim historical fiction parody combat flight simulator real-time strategy construction and management simulation puzzle video game short story open world role-playing video game action role-playing game thriller wargame rhythm game crime fiction fictional crossover beat 'em up vehicle simulation game stealth game investigative journalism eroge government simulation game simulation video game side-scrolling video game fiction card game roguelike action-adventure game Tank simulation platform game turn-based strategy sim racing survival game strategy video game shooter game sports video game first-person shooter real-time tactics space simulator MUD adventure game hack and slash black comedy comedy manga and animation comic novel turn-based tactics strategy game vehicular combat game racing video game satire interactive fiction fighting game drama business simulation game submarine simulator interactive film massively multiplayer online role-playing game non-fiction survival horror tower defense traditional game shoot 'em up grand strategy wargame massively multiplayer online game artillery game 4X visual novel music video game popular science multiplayer online battle arena third-person shooter tactical role-playing game life simulation game space flight simulator game light gun shooter city-building game Casual game god game hentai action game wargame arcade game machine tactical shooter
rhythm game simulation video game first-person shooter
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type collectable
action find_reverse_tuple_counts
relation genre
type genre
type application
action count
action filter_multi_types
action find_reverse
entity opinion journalism
relation genre
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?p WHERE { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:genre resource:opinion_journalism . { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:application ) } . ?q rdf:type ?e } } } . FILTER ( ?s > ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P941
Q151885 Q483394
USER
How many concepts were atmost 1 genre inspired by ?
(c(Q483394),P941,c(Q151885))
action count
action atmost
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
value 1
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P941 ?f . ?f rdf:type ontology:Q151885 . ?y rdf:type ontology:Q483394 } GROUP BY ?f } . FILTER ( ?t <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
value 1
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:inspired_by ?f . ?f rdf:type ontology:concept . ?y rdf:type ontology:genre } GROUP BY ?f } . FILTER ( ?t <= 1 ) }
[]
concept genre
SYSTEM
3
Q14559031 Q8341 Q2979
(c(Q483394),P941,c(Q151885))
action count
action atmost
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
value 1
[ANSWER]
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P941 ?f . ?f rdf:type ontology:Q151885 . ?y rdf:type ontology:Q483394 } GROUP BY ?f } . FILTER ( ?t <= 1 ) }
elevator music jazz liberty
3
action count
action atmost
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
value 1
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:inspired_by ?f . ?f rdf:type ontology:concept . ?y rdf:type ontology:genre } GROUP BY ?f } . FILTER ( ?t <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3401848
P162
Q502895
USER
Which person is the produced of Premium ?
(Q3401848,P162,c(Q502895))
action filter_type
action find
entity Q3401848
relation P162
type Q502895
['Q3401848', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3401848 property:P162 ?y . ?y rdf:type ontology:Q502895 }
Premium
action filter_type
action find
entity Premium
relation producer
type common name
['Premium', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Premium property:producer ?y . ?y rdf:type ontology:common_name }
[]
common name
Q7171893
SYSTEM
Pete Chatmon
Q7171893
(Q3401848,P162,c(Q502895))
action filter_type
action find
entity Q3401848
relation P162
type Q502895
[ANSWER] is the produced of Premium
['Q3401848', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3401848 property:P162 ?y . ?y rdf:type ontology:Q502895 }
Pete Chatmon
Pete Chatmon is the produced of Premium
Pete Chatmon
action filter_type
action find
entity Premium
relation producer
type common name
['Premium', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Premium property:producer ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6455390
Q502895
USER
And also tell me about Imaginary Flying Machines?
(Q6455390,P162,c(Q502895))
action filter_type
action find
entity Q6455390
relation P162
type Q502895
['Q6455390', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q6455390 property:P162 ?v . ?v rdf:type ontology:Q502895 }
Imaginary Flying Machines
action filter_type
action find
entity Imaginary Flying Machines
relation producer
type common name
['Imaginary Flying Machines', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Imaginary_Flying_Machines property:producer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q713511
SYSTEM
Toshio Suzuki
Q713511
(Q6455390,P162,c(Q502895))
action filter_type
action find
entity Q6455390
relation P162
type Q502895
[ANSWER]
['Q6455390', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q6455390 property:P162 ?v . ?v rdf:type ontology:Q502895 }
Toshio Suzuki
Toshio Suzuki
action filter_type
action find
entity Imaginary Flying Machines
relation producer
type common name
['Imaginary Flying Machines', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Imaginary_Flying_Machines property:producer ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q713511
P734
Q82799
USER
Which name is associated with that person ?
(Q713511,P734,c(Q82799))
action filter_type
action find
entity Q713511
relation P734
type Q82799
['Q713511', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q713511 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Toshio Suzuki
action filter_type
action find
entity Toshio Suzuki
relation family name
type name
['Toshio Suzuki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Toshio_Suzuki property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q1533615
SYSTEM
Suzuki
Q1533615
(Q713511,P734,c(Q82799))
action filter_type
action find
entity Q713511
relation P734
type Q82799
[ANSWER] is associated with that person
['Q713511', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q713511 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Suzuki
Suzuki is associated with that person
Suzuki
action filter_type
action find
entity Toshio Suzuki
relation family name
type name
['Toshio Suzuki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Toshio_Suzuki property:family_name ?n . ?n rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q23916 Q185029
P136
Q166142
USER
Which applications have first-person shooter and adventure game as genre ?
AND((c(Q166142),P136,Q185029), (c(Q166142),P136,Q23916))
action filter_type
action intersection
action find_reverse
entity Q185029
relation P136
action find_reverse
entity Q23916
relation P136
type Q166142
{'AND': [[{'concept': 'Q166142'}, 'P136', 'Q185029'], [{'concept': 'Q166142'}, 'P136', 'Q23916']]}
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q185029 . ?c property:P136 resource:Q23916 . ?c rdf:type ontology:Q166142 }
adventure game first-person shooter
action filter_type
action intersection
action find_reverse
entity first-person shooter
relation genre
action find_reverse
entity adventure game
relation genre
type application
{'AND': [[{'concept': 'application'}, 'genre', 'first-person shooter'], [{'concept': 'application'}, 'genre', 'adventure game']]}
SELECT DISTINCT ?c WHERE { ?c property:genre resource:first-person_shooter . ?c property:genre resource:adventure_game . ?c rdf:type ontology:application }
[]
application
Q16267841 Q7144890 Q1410730 Q493603 Q349433 Q930682 Q6084188 Q942588
SYSTEM
The Forest, Pathways into Darkness, The Colony, The Eidolon, Turok, Stranded, Isle of the Dead, Armed and Dangerous
Q16267841 Q7144890 Q1410730 Q493603 Q349433 Q930682 Q6084188 Q942588
AND((c(Q166142),P136,Q185029), (c(Q166142),P136,Q23916))
action filter_type
action intersection
action find_reverse
entity Q185029
relation P136
action find_reverse
entity Q23916
relation P136
type Q166142
[ANSWERS] have first-person shooter and adventure game as genre
{'AND': [[{'concept': 'Q166142'}, 'P136', 'Q185029'], [{'concept': 'Q166142'}, 'P136', 'Q23916']]}
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q185029 . ?c property:P136 resource:Q23916 . ?c rdf:type ontology:Q166142 }
The Forest Pathways into Darkness The Colony The Eidolon Turok Stranded Isle of the Dead Armed and Dangerous
The Forest, Pathways into Darkness, The Colony, The Eidolon, Turok, Stranded, Isle of the Dead and Armed and Dangerous have first-person shooter and adventure game as genre
The Forest Pathways into Darkness The Colony The Eidolon Turok Stranded Isle of the Dead Armed and Dangerous
action filter_type
action intersection
action find_reverse
entity first-person shooter
relation genre
action find_reverse
entity adventure game
relation genre
type application
{'AND': [[{'concept': 'application'}, 'genre', 'first-person shooter'], [{'concept': 'application'}, 'genre', 'adventure game']]}
SELECT DISTINCT ?c WHERE { ?c property:genre resource:first-person_shooter . ?c property:genre resource:adventure_game . ?c rdf:type ontology:application }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1610017
P136
Q7889 Q7397
USER
How many video games and software have simulation video game as their type ?
(c(Q7889),P136,Q1610017) (c(Q7397),P136,Q1610017)
action count
action union
action filter_type
action find_reverse
entity Q1610017
relation P136
type Q7889
action filter_type
action find_reverse
entity Q1610017
relation P136
type Q7397
[{'concept': 'Q7889'}, 'P136', 'Q1610017'] [{'concept': 'Q7397'}, 'P136', 'Q1610017']
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:P136 resource:Q1610017 . ?z rdf:type ontology:Q7889 } UNION { ?z rdf:type ontology:Q7397 . ?z property:P136 resource:Q1610017 } }
simulation video game
action count
action union
action filter_type
action find_reverse
entity simulation video game
relation genre
type video game
action filter_type
action find_reverse
entity simulation video game
relation genre
type software
[{'concept': 'video game'}, 'genre', 'simulation video game'] [{'concept': 'software'}, 'genre', 'simulation video game']
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:genre resource:simulation_video_game . ?z rdf:type ontology:video_game } UNION { ?z rdf:type ontology:software . ?z property:genre resource:simulation_video_game } }
[]
video game software
SYSTEM
1 video games and 1 software
Q22019721 Q1471545
(c(Q7889),P136,Q1610017) (c(Q7397),P136,Q1610017)
action count
action union
action filter_type
action find_reverse
entity Q1610017
relation P136
type Q7889
action filter_type
action find_reverse
entity Q1610017
relation P136
type Q7397
[ANSWER]
[{'concept': 'Q7889'}, 'P136', 'Q1610017'] [{'concept': 'Q7397'}, 'P136', 'Q1610017']
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:P136 resource:Q1610017 . ?z rdf:type ontology:Q7889 } UNION { ?z rdf:type ontology:Q7397 . ?z property:P136 resource:Q1610017 } }
High School Story Kerbal Space Program
1 video games and 1 software
action count
action union
action filter_type
action find_reverse
entity simulation video game
relation genre
type video game
action filter_type
action find_reverse
entity simulation video game
relation genre
type software
[{'concept': 'video game'}, 'genre', 'simulation video game'] [{'concept': 'software'}, 'genre', 'simulation video game']
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:genre resource:simulation_video_game . ?z rdf:type ontology:video_game } UNION { ?z rdf:type ontology:software . ?z property:genre resource:simulation_video_game } }
[]