Simple Question (Direct)
Simple Question
Q21856722
P180
Q10675206
USER
Which ingredient is expressed in A girl, a bird and a fish ?
(Q21856722,P180,c(Q10675206))
action filter_type
action find
entity Q21856722
relation P180
type Q10675206
['Q21856722', 'P180', {'concept': 'Q10675206'}]
SELECT DISTINCT ?t WHERE { resource:Q21856722 property:P180 ?t . ?t rdf:type ontology:Q10675206 }
A girl, a bird and a fish
action filter_type
action find
entity A girl, a bird and a fish
relation depicts
type ingredient
['A girl, a bird and a fish', 'depicts', {'concept': 'ingredient'}]
SELECT DISTINCT ?t WHERE { resource:A_girl,_a_bird_and_a_fish property:depicts ?t . ?t rdf:type ontology:ingredient }
[]
ingredient
Q283
SYSTEM
water
Q283
(Q21856722,P180,c(Q10675206))
action filter_type
action find
entity Q21856722
relation P180
type Q10675206
[ANSWER] is expressed in A girl, a bird and a fish
['Q21856722', 'P180', {'concept': 'Q10675206'}]
SELECT DISTINCT ?t WHERE { resource:Q21856722 property:P180 ?t . ?t rdf:type ontology:Q10675206 }
water
Water is expressed in A girl, a bird and a fish
water
action filter_type
action find
entity A girl, a bird and a fish
relation depicts
type ingredient
['A girl, a bird and a fish', 'depicts', {'concept': 'ingredient'}]
SELECT DISTINCT ?t WHERE { resource:A_girl,_a_bird_and_a_fish property:depicts ?t . ?t rdf:type ontology:ingredient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q283
P825
Q838948
USER
What is dedicated to that ingredient ?
(c(Q838948),P825,Q283)
action filter_type
action find_reverse
entity Q283
relation P825
type Q838948
[{'concept': 'Q838948'}, 'P825', 'Q283']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P825 resource:Q283 }
water
action filter_type
action find_reverse
entity water
relation dedicated to
type work of art
[{'concept': 'work of art'}, 'dedicated to', 'water']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:dedicated_to resource:water }
[]
work of art
Q11918904
SYSTEM
Elogio del agua
Q11918904
(c(Q838948),P825,Q283)
action filter_type
action find_reverse
entity Q283
relation P825
type Q838948
[ANSWER] is dedicated to that ingredient
[{'concept': 'Q838948'}, 'P825', 'Q283']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P825 resource:Q283 }
Elogio del agua
Elogio del agua is dedicated to that ingredient
Elogio del agua
action filter_type
action find_reverse
entity water
relation dedicated to
type work of art
[{'concept': 'work of art'}, 'dedicated to', 'water']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:dedicated_to resource:water }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11918904 Q29
P17
Q15617994
USER
Is Elogio del agua present in Spain ?
(Q11918904,P17,Q29)
action is_in
entity Q29
action find
entity Q11918904
relation P17
['Q11918904', 'P17', 'Q29']
ASK WHERE { resource:Q11918904 property:P17 resource:Q29 }
Elogio del agua Spain
action is_in
entity Spain
action find
entity Elogio del agua
relation country
['Elogio del agua', 'country', 'Spain']
ASK WHERE { resource:Elogio_del_agua property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11918904,P17,Q29)
action is_in
entity Q29
action find
entity Q11918904
relation P17
[ANSWER]
['Q11918904', 'P17', 'Q29']
ASK WHERE { resource:Q11918904 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Elogio del agua
relation country
['Elogio del agua', 'country', 'Spain']
ASK WHERE { resource:Elogio_del_agua property:country resource:Spain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21856722 Q1200656 Q33
P17
Q15617994
USER
Is A girl, a bird and a fish present in Linxiang District and Finland ?
(Q21856722,P17,Q1200656) (Q21856722,P17,Q33)
action is_in
entity Q21856722
action intersection
action find_reverse
entity Q1200656
relation P17
action find_reverse
entity Q33
relation P17
['Q21856722', 'P17', 'Q1200656'] ['Q21856722', 'P17', 'Q33']
ASK WHERE { resource:Q21856722 property:P17 resource:Q1200656 . resource:Q21856722 property:P17 resource:Q33 }
A girl, a bird and a fish Linxiang District Finland
action is_in
entity A girl, a bird and a fish
action intersection
action find_reverse
entity Linxiang District
relation country
action find_reverse
entity Finland
relation country
['A girl, a bird and a fish', 'country', 'Linxiang District'] ['A girl, a bird and a fish', 'country', 'Finland']
ASK WHERE { resource:A_girl,_a_bird_and_a_fish property:country resource:Linxiang_District . resource:A_girl,_a_bird_and_a_fish property:country resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q21856722,P17,Q1200656) (Q21856722,P17,Q33)
action is_in
entity Q21856722
action intersection
action find_reverse
entity Q1200656
relation P17
action find_reverse
entity Q33
relation P17
[ANSWER]
['Q21856722', 'P17', 'Q1200656'] ['Q21856722', 'P17', 'Q33']
ASK WHERE { resource:Q21856722 property:P17 resource:Q1200656 . resource:Q21856722 property:P17 resource:Q33 }
NO and YES respectively
action is_in
entity A girl, a bird and a fish
action intersection
action find_reverse
entity Linxiang District
relation country
action find_reverse
entity Finland
relation country
['A girl, a bird and a fish', 'country', 'Linxiang District'] ['A girl, a bird and a fish', 'country', 'Finland']
ASK WHERE { resource:A_girl,_a_bird_and_a_fish property:country resource:Linxiang_District . resource:A_girl,_a_bird_and_a_fish property:country resource:Finland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21856722
P136
Q483394
USER
What can be considered as category for that work of art ?
action filter_type
action find
entity Q21856722
relation P136
type Q483394
SELECT DISTINCT ?e WHERE { resource:Q21856722 property:P136 ?e . ?e rdf:type ontology:Q483394 }
A girl, a bird and a fish
action filter_type
action find
entity A girl, a bird and a fish
relation genre
type genre
SELECT DISTINCT ?e WHERE { resource:A_girl,_a_bird_and_a_fish property:genre ?e . ?e rdf:type ontology:genre }
[]
genre
Q557141
SYSTEM
public art
Q557141
action filter_type
action find
entity Q21856722
relation P136
type Q483394
[ANSWER] can be considered as category for that work of art
SELECT DISTINCT ?e WHERE { resource:Q21856722 property:P136 ?e . ?e rdf:type ontology:Q483394 }
public art
Public art can be considered as category for that work of art
public art
action filter_type
action find
entity A girl, a bird and a fish
relation genre
type genre
SELECT DISTINCT ?e WHERE { resource:A_girl,_a_bird_and_a_fish property:genre ?e . ?e rdf:type ontology:genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7762982 Q21856722
P136
Q483394
USER
Or The Secret?
OR((Q21856722,P136,c(Q483394)), (Q7762982,P136,c(Q483394)))
action filter_type
action union
action find
entity Q21856722
relation P136
action find
entity Q7762982
relation P136
type Q483394
{'OR': [['Q21856722', 'P136', {'concept': 'Q483394'}], ['Q7762982', 'P136', {'concept': 'Q483394'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q21856722 property:P136 ?f } UNION { resource:Q7762982 property:P136 ?f } } . ?f rdf:type ontology:Q483394 }
The Secret A girl, a bird and a fish
action filter_type
action union
action find
entity A girl, a bird and a fish
relation genre
action find
entity The Secret
relation genre
type genre
{'OR': [['A girl, a bird and a fish', 'genre', {'concept': 'genre'}], ['The Secret', 'genre', {'concept': 'genre'}]]}
SELECT DISTINCT ?f WHERE { { { resource:A_girl,_a_bird_and_a_fish property:genre ?f } UNION { resource:The_Secret property:genre ?f } } . ?f rdf:type ontology:genre }
[]
genre
Q24925 Q557141
SYSTEM
science fiction, public art
Q24925 Q557141
OR((Q21856722,P136,c(Q483394)), (Q7762982,P136,c(Q483394)))
action filter_type
action union
action find
entity Q21856722
relation P136
action find
entity Q7762982
relation P136
type Q483394
[ANSWERS]
{'OR': [['Q21856722', 'P136', {'concept': 'Q483394'}], ['Q7762982', 'P136', {'concept': 'Q483394'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q21856722 property:P136 ?f } UNION { resource:Q7762982 property:P136 ?f } } . ?f rdf:type ontology:Q483394 }
science fiction public art
science fiction public art
action filter_type
action union
action find
entity A girl, a bird and a fish
relation genre
action find
entity The Secret
relation genre
type genre
{'OR': [['A girl, a bird and a fish', 'genre', {'concept': 'genre'}], ['The Secret', 'genre', {'concept': 'genre'}]]}
SELECT DISTINCT ?f WHERE { { { resource:A_girl,_a_bird_and_a_fish property:genre ?f } UNION { resource:The_Secret property:genre ?f } } . ?f rdf:type ontology:genre }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q483394 Q43229 Q502895
USER
Which genres do more number of organizations or people belong to than that genre ?
(c(Q43229)|c(Q502895),P101,c(Q483394))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q483394 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:genre . ?x rdf:type ontology:common_name }
[]
genre organization common name
Comparative|More/Less|Mult. entity type|Clarification
Q24925
SYSTEM
Did you mean science fiction ?
(c(Q43229)|c(Q502895),P101,c(Q483394))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q483394 . ?x rdf:type ontology:Q502895 }
Did you mean science fiction ?
science fiction
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:genre . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q43229)|c(Q502895),P101,c(Q483394))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q483394'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'genre'}]
[]
Q212431 Q134307 Q213156
SYSTEM
installation art, portrait, performance art
Q212431 Q995600 Q134307 Q1127717 Q2293082 Q213156 Q482919
(c(Q43229)|c(Q502895),P101,c(Q483394))
[ANSWERS] do more number of organizations or people belong to than that genre
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q483394 . ?x rdf:type ontology:Q502895 }
installation art popular science portrait investigative journalism Escapology performance art caricature
Installation art, portrait and performance art do more number of organizations or people belong to than that genre
installation art portrait performance art
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:genre . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1610017
P136
Q483394 Q838948 Q15416
USER
How many genres are the genre for more number of works of art and television programs than simulation video game ?
(c(Q838948)|c(Q15416),P136,c(Q483394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q838948
action find_reverse_tuple_counts
relation P136
type Q483394
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1610017
relation P136
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P136 ?z . ?z rdf:type ontology:Q483394 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P136 ?z . ?z rdf:type ontology:Q483394 . ?n rdf:type ontology:Q15416 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P136 resource:Q1610017 . { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } . FILTER ( ?v > ?p ) }
simulation video game
action count
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type work of art
action find_reverse_tuple_counts
relation genre
type genre
type television program
action count
action filter_multi_types
action find_reverse
entity simulation video game
relation genre
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:genre ?z . ?z rdf:type ontology:genre . ?n rdf:type ontology:work_of_art } UNION { ?n property:genre ?z . ?z rdf:type ontology:genre . ?n rdf:type ontology:television_program } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:genre resource:simulation_video_game . { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } . FILTER ( ?v > ?p ) }
[]
genre work of art television program
SYSTEM
83
Q24925 Q1196408 Q622812 Q170539 Q846662 Q170238 Q49084 Q744038 Q182015 Q1762165 Q19842222 Q869955 Q1092460 Q134307 Q1421557 Q1127717 Q2000136 Q859369 Q2049337 Q1046788 Q19765983 Q754803 Q18809626 Q20737414 Q444178 Q1684600 Q1113999 Q21802675 Q8253 Q191890 Q871232 Q343568 Q828322 Q262343 Q145806 Q192110 Q2740415 Q15635954 Q191489 Q1857766 Q16950433 Q23916 Q53094 Q15286013 Q2561390 Q7643432 Q2839016 Q4164344 Q128115 Q212431 Q241045 Q128758 Q193979 Q2123557 Q16575965 Q4879416 Q3064465 Q21010853 Q40446 Q572916 Q2083647 Q213051 Q291 Q18809572 Q213156 Q181001 Q627603 Q557141 Q689445 Q743934 Q1484397 Q995600 Q380266 Q2991560 Q622370 Q5401282 Q21590660 Q172067 Q23653 Q270948 Q5240628 Q4736499 Q3377903
(c(Q838948)|c(Q15416),P136,c(Q483394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q838948
action find_reverse_tuple_counts
relation P136
type Q483394
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1610017
relation P136
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P136 ?z . ?z rdf:type ontology:Q483394 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P136 ?z . ?z rdf:type ontology:Q483394 . ?n rdf:type ontology:Q15416 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P136 resource:Q1610017 . { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } . FILTER ( ?v > ?p ) }
science fiction historical fiction talk show parody game show situation comedy short story role-playing video game thriller action crime fiction fictional crossover surreal humour portrait light art investigative journalism softcore pornography comedy-drama panel game eroge romantic fiction wuxia full-length portrait philosophical fiction court show news magazine German television comedy adventure fiction fiction Commedia dell'arte editorial action-adventure game platform game assemblage stand-up comedy self-portrait site-specific art Cli fi melodrama current affairs comedy thriller adventure game black comedy comedy manga and animation comic novel superhero fiction allegory documentary abstract art installation art bust satire farce quiz show horror fiction bedroom farce heroic nudity drama nude found object funerary art non-fiction pornography half-length portrait performance art erotica cartoon public art visual novel sketch comedy talent show popular science third-person shooter sex comedy docudrama magazine Western hentai anthology series action game fantastic Alternative comedy Slow television
83
action count
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type work of art
action find_reverse_tuple_counts
relation genre
type genre
type television program
action count
action filter_multi_types
action find_reverse
entity simulation video game
relation genre
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:genre ?z . ?z rdf:type ontology:genre . ?n rdf:type ontology:work_of_art } UNION { ?n property:genre ?z . ?z rdf:type ontology:genre . ?n rdf:type ontology:television_program } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:genre resource:simulation_video_game . { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } . FILTER ( ?v > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1150710
P136
Q483394 Q838948 Q15416
USER
And what about strategy game?
(c(Q838948)|c(Q15416),P136,c(Q483394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q838948
action find_reverse_tuple_counts
relation P136
type Q483394
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1150710
relation P136
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?q WHERE { VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?w rdf:type ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P136 resource:Q1150710 . { { ?e rdf:type ontology:Q15416 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?j > ?d ) }
strategy game
action count
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type work of art
action find_reverse_tuple_counts
relation genre
type genre
type television program
action count
action filter_multi_types
action find_reverse
entity strategy game
relation genre
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?q WHERE { VALUES ( ?v ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?w rdf:type ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:genre resource:strategy_game . { { ?e rdf:type ontology:television_program } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?j > ?d ) }
[]
genre work of art television program
SYSTEM
83
Q24925 Q1196408 Q622812 Q170539 Q846662 Q170238 Q49084 Q744038 Q182015 Q1762165 Q19842222 Q869955 Q1092460 Q134307 Q1421557 Q1127717 Q2000136 Q859369 Q2049337 Q1046788 Q19765983 Q754803 Q18809626 Q20737414 Q444178 Q1684600 Q1113999 Q21802675 Q8253 Q191890 Q871232 Q343568 Q828322 Q262343 Q145806 Q192110 Q2740415 Q15635954 Q191489 Q1857766 Q16950433 Q23916 Q53094 Q15286013 Q2561390 Q7643432 Q2839016 Q4164344 Q128115 Q212431 Q241045 Q128758 Q193979 Q2123557 Q16575965 Q4879416 Q3064465 Q21010853 Q40446 Q572916 Q2083647 Q213051 Q291 Q18809572 Q213156 Q181001 Q627603 Q557141 Q689445 Q743934 Q1484397 Q995600 Q380266 Q2991560 Q622370 Q5401282 Q21590660 Q172067 Q23653 Q270948 Q5240628 Q4736499 Q3377903
(c(Q838948)|c(Q15416),P136,c(Q483394))
action count
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q838948
action find_reverse_tuple_counts
relation P136
type Q483394
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1150710
relation P136
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?q WHERE { VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?w rdf:type ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P136 resource:Q1150710 . { { ?e rdf:type ontology:Q15416 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?j > ?d ) }
science fiction historical fiction talk show parody game show situation comedy short story role-playing video game thriller action crime fiction fictional crossover surreal humour portrait light art investigative journalism softcore pornography comedy-drama panel game eroge romantic fiction wuxia full-length portrait philosophical fiction court show news magazine German television comedy adventure fiction fiction Commedia dell'arte editorial action-adventure game platform game assemblage stand-up comedy self-portrait site-specific art Cli fi melodrama current affairs comedy thriller adventure game black comedy comedy manga and animation comic novel superhero fiction allegory documentary abstract art installation art bust satire farce quiz show horror fiction bedroom farce heroic nudity drama nude found object funerary art non-fiction pornography half-length portrait performance art erotica cartoon public art visual novel sketch comedy talent show popular science third-person shooter sex comedy docudrama magazine Western hentai anthology series action game fantastic Alternative comedy Slow television
83
action count
action greater
action union
action find_reverse_tuple_counts
relation genre
type genre
type work of art
action find_reverse_tuple_counts
relation genre
type genre
type television program
action count
action filter_multi_types
action find_reverse
entity strategy game
relation genre
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?q WHERE { VALUES ( ?v ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?w rdf:type ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:genre resource:strategy_game . { { ?e rdf:type ontology:television_program } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?j > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213156
P2079
Q386724
USER
Which work uses performance art as its manufacturing method ?
(c(Q386724),P2079,Q213156)
action filter_type
action find_reverse
entity Q213156
relation P2079
type Q386724
[{'concept': 'Q386724'}, 'P2079', 'Q213156']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q386724 . ?s property:P2079 resource:Q213156 }
performance art
action filter_type
action find_reverse
entity performance art
relation fabrication method
type work
[{'concept': 'work'}, 'fabrication method', 'performance art']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work . ?s property:fabrication_method resource:performance_art }
[]
work
Q22672348
SYSTEM
performance artwork
Q22672348
(c(Q386724),P2079,Q213156)
action filter_type
action find_reverse
entity Q213156
relation P2079
type Q386724
[ANSWER] uses performance art as its manufacturing method
[{'concept': 'Q386724'}, 'P2079', 'Q213156']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q386724 . ?s property:P2079 resource:Q213156 }
performance artwork
Performance artwork uses performance art as its manufacturing method
performance artwork
action filter_type
action find_reverse
entity performance art
relation fabrication method
type work
[{'concept': 'work'}, 'fabrication method', 'performance art']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work . ?s property:fabrication_method resource:performance_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213156
P361
Q9332
USER
Which behavior is that genre a component of ?
(Q22672348,P361,c(Q9332))
action filter_type
action find
entity Q213156
relation P361
type Q9332
['Q22672348', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?h WHERE { resource:Q213156 property:P361 ?h . ?h rdf:type ontology:Q9332 }
performance art
action filter_type
action find
entity performance art
relation part of
type behavior
['performance artwork', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?h WHERE { resource:performance_art property:part_of ?h . ?h rdf:type ontology:behavior }
[]
behavior
Q735
SYSTEM
art
Q735
(Q22672348,P361,c(Q9332))
action filter_type
action find
entity Q213156
relation P361
type Q9332
Which behavior is that genre a component of
['Q22672348', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?h WHERE { resource:Q213156 property:P361 ?h . ?h rdf:type ontology:Q9332 }
art
Which behavior is that genre a component of
art
action filter_type
action find
entity performance art
relation part of
type behavior
['performance artwork', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?h WHERE { resource:performance_art property:part_of ?h . ?h rdf:type ontology:behavior }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q18692704 Q213156
P361 P101
Q9332
USER
Which behaviors are performance art a part of and do Bérénice Levet belong to ?
AND((Q213156,P361,c(Q9332)), (Q18692704,P101,c(Q9332)))
action filter_type
action intersection
action find
entity Q213156
relation P361
action find
entity Q18692704
relation P101
type Q9332
{'AND': [['Q213156', 'P361', {'concept': 'Q9332'}], ['Q18692704', 'P101', {'concept': 'Q9332'}]]}
SELECT DISTINCT ?n WHERE { resource:Q213156 property:P361 ?n . resource:Q18692704 property:P101 ?n . ?n rdf:type ontology:Q9332 }
Bérénice Levet performance art
action filter_type
action intersection
action find
entity performance art
relation part of
action find
entity Bérénice Levet
relation field of work
type behavior
{'AND': [['performance art', 'part of', {'concept': 'behavior'}], ['Bérénice Levet', 'field of work', {'concept': 'behavior'}]]}
SELECT DISTINCT ?n WHERE { resource:performance_art property:part_of ?n . resource:Bérénice_Levet property:field_of_work ?n . ?n rdf:type ontology:behavior }
[]
behavior
Q735
SYSTEM
art
Q735
AND((Q213156,P361,c(Q9332)), (Q18692704,P101,c(Q9332)))
action filter_type
action intersection
action find
entity Q213156
relation P361
action find
entity Q18692704
relation P101
type Q9332
Is [ANSWER] is performance [ANSWER] a p[ANSWER] of and do Bérénice Levet belong to
{'AND': [['Q213156', 'P361', {'concept': 'Q9332'}], ['Q18692704', 'P101', {'concept': 'Q9332'}]]}
SELECT DISTINCT ?n WHERE { resource:Q213156 property:P361 ?n . resource:Q18692704 property:P101 ?n . ?n rdf:type ontology:Q9332 }
art
Is art is performance art a part of and do Bérénice Levet belong to
art
action filter_type
action intersection
action find
entity performance art
relation part of
action find
entity Bérénice Levet
relation field of work
type behavior
{'AND': [['performance art', 'part of', {'concept': 'behavior'}], ['Bérénice Levet', 'field of work', {'concept': 'behavior'}]]}
SELECT DISTINCT ?n WHERE { resource:performance_art property:part_of ?n . resource:Bérénice_Levet property:field_of_work ?n . ?n rdf:type ontology:behavior }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q9332 Q21114848
USER
Which behaviors are the fields of work of more number of magazine genres than that behavior ?
(c(Q21114848),P101,c(Q9332))
action greater
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action count
action filter_type
action find
entity Q735
relation P101
type Q9332
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q735 property:P101 ?b . ?b rdf:type ontology:Q9332 } } . FILTER ( ?d > ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P101 ?m . ?m rdf:type ontology:Q9332 . ?j rdf:type ontology:Q21114848 } GROUP BY ?m } }
action greater
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action count
action filter_type
action find
entity art
relation field of work
type behavior
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:art property:field_of_work ?b . ?b rdf:type ontology:behavior } } . FILTER ( ?d > ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:field_of_work ?m . ?m rdf:type ontology:behavior . ?j rdf:type ontology:magazine_genre } GROUP BY ?m } }
[]
behavior magazine genre
Q336
SYSTEM
science
Q336
(c(Q21114848),P101,c(Q9332))
action greater
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action count
action filter_type
action find
entity Q735
relation P101
type Q9332
[ANSWER] is the fields of work of more number of magazine genres than that behavior
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q735 property:P101 ?b . ?b rdf:type ontology:Q9332 } } . FILTER ( ?d > ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P101 ?m . ?m rdf:type ontology:Q9332 . ?j rdf:type ontology:Q21114848 } GROUP BY ?m } }
science
Science is the fields of work of more number of magazine genres than that behavior
science
action greater
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action count
action filter_type
action find
entity art
relation field of work
type behavior
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:art property:field_of_work ?b . ?b rdf:type ontology:behavior } } . FILTER ( ?d > ?g ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:field_of_work ?m . ?m rdf:type ontology:behavior . ?j rdf:type ontology:magazine_genre } GROUP BY ?m } }
[]