Simple Question (Direct)
Simple Question
Q314771
P21
Q290
USER
Which sex does Maurice Sendak possess ?
(Q314771,P21,c(Q290))
action filter_type
action find
entity Q314771
relation P21
type Q290
['Q314771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q314771 property:P21 ?m . ?m rdf:type ontology:Q290 }
Maurice Sendak
action filter_type
action find
entity Maurice Sendak
relation gender
type sex
['Maurice Sendak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Maurice_Sendak property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q314771,P21,c(Q290))
action filter_type
action find
entity Q314771
relation P21
type Q290
Maurice Sendak possesses un [ANSWER]
['Q314771', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q314771 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Maurice Sendak possesses un male
male
action filter_type
action find
entity Maurice Sendak
relation gender
type sex
['Maurice Sendak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Maurice_Sendak property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314771
P40
Q502895
USER
Which person has Maurice Sendak as a child ?
(c(Q502895),P40,Q314771)
action filter_type
action find_reverse
entity Q314771
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q314771']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q314771 . ?u rdf:type ontology:Q502895 }
Maurice Sendak
action filter_type
action find_reverse
entity Maurice Sendak
relation child
type common name
[{'concept': 'common name'}, 'child', 'Maurice Sendak']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Maurice_Sendak . ?u rdf:type ontology:common_name }
[]
common name
Q2086444
SYSTEM
Philip Sendak
Q2086444
(c(Q502895),P40,Q314771)
action filter_type
action find_reverse
entity Q314771
relation P40
type Q502895
[ANSWER] has Maurice Sendak as a child
[{'concept': 'Q502895'}, 'P40', 'Q314771']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q314771 . ?u rdf:type ontology:Q502895 }
Philip Sendak
Philip Sendak has Maurice Sendak as a child
Philip Sendak
action filter_type
action find_reverse
entity Maurice Sendak
relation child
type common name
[{'concept': 'common name'}, 'child', 'Maurice Sendak']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Maurice_Sendak . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2086444
P106
Q12737077
USER
What are the professions of that person ?
(Q2086444,P106,c(Q12737077))
action filter_type
action find
entity Q2086444
relation P106
type Q12737077
['Q2086444', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2086444 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Philip Sendak
action filter_type
action find
entity Philip Sendak
relation occupation
type occupation
['Philip Sendak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Philip_Sendak property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q4853732 Q36180
SYSTEM
children's writer, writer
Q4853732 Q36180
(Q2086444,P106,c(Q12737077))
action filter_type
action find
entity Q2086444
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q2086444', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2086444 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
children's writer writer
The professions of that person are children's writer and writer
children's writer writer
action filter_type
action find
entity Philip Sendak
relation occupation
type occupation
['Philip Sendak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Philip_Sendak property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11412717
P106
Q502895
USER
Do Tsunebumi Yoshihara have the profession of those occupations ?
(Q11412717,P106,Q4853732) (Q11412717,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q11412717
relation P106
['Q11412717', 'P106', 'Q4853732'] ['Q11412717', 'P106', 'Q36180']
ASK WHERE { resource:Q11412717 property:P106 ?h . VALUES ( ?h ) { ( resource:Q4853732 ) ( resource:Q36180 ) } }
Tsunebumi Yoshihara
action is_in
entity prev_answer
action find
entity Tsunebumi Yoshihara
relation occupation
['Tsunebumi Yoshihara', 'occupation', "children's writer"] ['Tsunebumi Yoshihara', 'occupation', 'writer']
ASK WHERE { resource:Tsunebumi_Yoshihara property:occupation ?h . VALUES ( ?h ) { ( resource:children's_writer ) ( resource:writer ) } }
[]
common name
SYSTEM
NO
(Q11412717,P106,Q4853732) (Q11412717,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q11412717
relation P106
[ANSWER]
['Q11412717', 'P106', 'Q4853732'] ['Q11412717', 'P106', 'Q36180']
ASK WHERE { resource:Q11412717 property:P106 ?h . VALUES ( ?h ) { ( resource:Q4853732 ) ( resource:Q36180 ) } }
No
action is_in
entity prev_answer
action find
entity Tsunebumi Yoshihara
relation occupation
['Tsunebumi Yoshihara', 'occupation', "children's writer"] ['Tsunebumi Yoshihara', 'occupation', 'writer']
ASK WHERE { resource:Tsunebumi_Yoshihara property:occupation ?h . VALUES ( ?h ) { ( resource:children's_writer ) ( resource:writer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314771
P50
Q2342494
USER
Which collectables are written by Maurice Sendak ?
(c(Q2342494),P50,Q314771)
action filter_type
action find_reverse
entity Q314771
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q314771']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q314771 . ?f rdf:type ontology:Q2342494 }
Maurice Sendak
action filter_type
action find_reverse
entity Maurice Sendak
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Maurice Sendak']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Maurice_Sendak . ?f rdf:type ontology:collectable }
[]
collectable
Q13912 Q19866681 Q1308387
SYSTEM
Where the Wild Things Are, Along Came a Dog, In the Night Kitchen
Q6390939 Q19866681 Q1308387 Q7112961 Q13912 Q18209646
(c(Q2342494),P50,Q314771)
action filter_type
action find_reverse
entity Q314771
relation P50
type Q2342494
[ANSWERS] are written by Maurice Sendak
[{'concept': 'Q2342494'}, 'P50', 'Q314771']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q314771 . ?f rdf:type ontology:Q2342494 }
Kenny's Window Along Came a Dog In the Night Kitchen Outside Over There Where the Wild Things Are Seven Little Monsters
Where the Wild Things Are, Along Came a Dog and In the Night Kitchen are written by Maurice Sendak
Where the Wild Things Are Along Came a Dog In the Night Kitchen
action filter_type
action find_reverse
entity Maurice Sendak
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Maurice Sendak']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Maurice_Sendak . ?f rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q314771
P800
Q2342494
USER
What are a notable work of that person ?
(Q13912,P800,c(Q2342494)) (Q19866681,P800,c(Q2342494)) (Q1308387,P800,c(Q2342494))
action filter_type
action find
entity Q314771
relation P800
type Q2342494
['Q13912', 'P800', {'concept': 'Q2342494'}] ['Q19866681', 'P800', {'concept': 'Q2342494'}] ['Q1308387', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?s WHERE { resource:Q314771 property:P800 ?s . ?s rdf:type ontology:Q2342494 }
Maurice Sendak
action filter_type
action find
entity Maurice Sendak
relation notable work
type collectable
['Where the Wild Things Are', 'notable work', {'concept': 'collectable'}] ['Along Came a Dog', 'notable work', {'concept': 'collectable'}] ['In the Night Kitchen', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?s WHERE { resource:Maurice_Sendak property:notable_work ?s . ?s rdf:type ontology:collectable }
[]
collectable
Q1308387 Q13912
SYSTEM
In the Night Kitchen, Where the Wild Things Are
Q1308387 Q13912
(Q13912,P800,c(Q2342494)) (Q19866681,P800,c(Q2342494)) (Q1308387,P800,c(Q2342494))
action filter_type
action find
entity Q314771
relation P800
type Q2342494
A notable work of that person are Kitchen [ANSWERS]
['Q13912', 'P800', {'concept': 'Q2342494'}] ['Q19866681', 'P800', {'concept': 'Q2342494'}] ['Q1308387', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?s WHERE { resource:Q314771 property:P800 ?s . ?s rdf:type ontology:Q2342494 }
In the Night Kitchen Where the Wild Things Are
A notable work of that person are Kitchen In the Night Kitchen and Where the Wild Things Are
In the Night Kitchen Where the Wild Things Are
action filter_type
action find
entity Maurice Sendak
relation notable work
type collectable
['Where the Wild Things Are', 'notable work', {'concept': 'collectable'}] ['Along Came a Dog', 'notable work', {'concept': 'collectable'}] ['In the Night Kitchen', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?s WHERE { resource:Maurice_Sendak property:notable_work ?s . ?s rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q172140 Q314771
P162
Q838948
USER
Which works of art have been developed by Maurice Sendak or Michael Crichton ?
OR((c(Q838948),P162,Q314771), (c(Q838948),P162,Q172140))
action filter_type
action union
action find_reverse
entity Q314771
relation P162
action find_reverse
entity Q172140
relation P162
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P162', 'Q314771'], [{'concept': 'Q838948'}, 'P162', 'Q172140']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Q314771 ) ( resource:Q172140 ) } . ?l property:P162 ?s } . ?l rdf:type ontology:Q838948 }
Michael Crichton Maurice Sendak
action filter_type
action union
action find_reverse
entity Maurice Sendak
relation producer
action find_reverse
entity Michael Crichton
relation producer
type work of art
{'OR': [[{'concept': 'work of art'}, 'producer', 'Maurice Sendak'], [{'concept': 'work of art'}, 'producer', 'Michael Crichton']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Maurice_Sendak ) ( resource:Michael_Crichton ) } . ?l property:producer ?s } . ?l rdf:type ontology:work_of_art }
[]
work of art
Q622742 Q683663 Q3280982 Q744500 Q748030 Q1330619
SYSTEM
Where the Wild Things Are, Twister, The Little Bear Movie, Sphere, The 13th Warrior, Disclosure
Q622742 Q683663 Q3280982 Q744500 Q748030 Q1330619
OR((c(Q838948),P162,Q314771), (c(Q838948),P162,Q172140))
action filter_type
action union
action find_reverse
entity Q314771
relation P162
action find_reverse
entity Q172140
relation P162
type Q838948
[ANSWERS] have been developed by Maurice Sendak or Michael Crichton
{'OR': [[{'concept': 'Q838948'}, 'P162', 'Q314771'], [{'concept': 'Q838948'}, 'P162', 'Q172140']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Q314771 ) ( resource:Q172140 ) } . ?l property:P162 ?s } . ?l rdf:type ontology:Q838948 }
Where the Wild Things Are Twister The Little Bear Movie Sphere The 13th Warrior Disclosure
Where the Wild Things Are, Twister, The Little Bear Movie, Sphere, The 13th Warrior and Disclosure have been developed by Maurice Sendak or Michael Crichton
Where the Wild Things Are Twister The Little Bear Movie Sphere The 13th Warrior Disclosure
action filter_type
action union
action find_reverse
entity Maurice Sendak
relation producer
action find_reverse
entity Michael Crichton
relation producer
type work of art
{'OR': [[{'concept': 'work of art'}, 'producer', 'Maurice Sendak'], [{'concept': 'work of art'}, 'producer', 'Michael Crichton']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Maurice_Sendak ) ( resource:Michael_Crichton ) } . ?l property:producer ?s } . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q622742 Q683663 Q3280982 Q744500 Q748030 Q1330619
P136
Q1792379
USER
What can be considered as category for Where the Wild Things Are, Twister, The Little Bear Movie, Sphere, The 13th Warrior and Disclosure ?
(Q622742,P136,c(Q1792379)) (Q683663,P136,c(Q1792379)) (Q3280982,P136,c(Q1792379)) (Q744500,P136,c(Q1792379)) (Q748030,P136,c(Q1792379)) (Q1330619,P136,c(Q1792379))
action union
action filter_type
action find
entity Q622742
relation P136
type Q1792379
action filter_type
action find
entity Q683663
relation P136
type Q1792379
action filter_type
action find
entity Q3280982
relation P136
type Q1792379
action filter_type
action find
entity Q744500
relation P136
type Q1792379
action filter_type
action find
entity Q748030
relation P136
type Q1792379
action filter_type
action find
entity Q1330619
relation P136
type Q1792379
['Q622742', 'P136', {'concept': 'Q1792379'}] ['Q683663', 'P136', {'concept': 'Q1792379'}] ['Q3280982', 'P136', {'concept': 'Q1792379'}] ['Q744500', 'P136', {'concept': 'Q1792379'}] ['Q748030', 'P136', {'concept': 'Q1792379'}] ['Q1330619', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { ?a property:P136 ?v . VALUES ( ?a ) { ( resource:Q622742 ) ( resource:Q683663 ) } }
Where the Wild Things Are Twister The Little Bear Movie Sphere The 13th Warrior Disclosure
action union
action filter_type
action find
entity Where the Wild Things Are
relation genre
type art genre
action filter_type
action find
entity Twister
relation genre
type art genre
action filter_type
action find
entity The Little Bear Movie
relation genre
type art genre
action filter_type
action find
entity Sphere
relation genre
type art genre
action filter_type
action find
entity The 13th Warrior
relation genre
type art genre
action filter_type
action find
entity Disclosure
relation genre
type art genre
['Where the Wild Things Are', 'genre', {'concept': 'art genre'}] ['Twister', 'genre', {'concept': 'art genre'}] ['The Little Bear Movie', 'genre', {'concept': 'art genre'}] ['Sphere', 'genre', {'concept': 'art genre'}] ['The 13th Warrior', 'genre', {'concept': 'art genre'}] ['Disclosure', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { ?a property:genre ?v . VALUES ( ?a ) { ( resource:Where_the_Wild_Things_Are ) ( resource:Twister ) } }
[]
art genre
Q3072039 Q1257444 Q2143665
SYSTEM
trial film, film adaptation, children's film
Q1257444 Q2143665 Q319221 Q157394 Q130232 Q846544 Q1257444 Q2143665 Q1257444 Q471839 Q319221 Q1257444 Q319221 Q157394 Q188473 Q3072039
(Q622742,P136,c(Q1792379)) (Q683663,P136,c(Q1792379)) (Q3280982,P136,c(Q1792379)) (Q744500,P136,c(Q1792379)) (Q748030,P136,c(Q1792379)) (Q1330619,P136,c(Q1792379))
action union
action filter_type
action find
entity Q622742
relation P136
type Q1792379
action filter_type
action find
entity Q683663
relation P136
type Q1792379
action filter_type
action find
entity Q3280982
relation P136
type Q1792379
action filter_type
action find
entity Q744500
relation P136
type Q1792379
action filter_type
action find
entity Q748030
relation P136
type Q1792379
action filter_type
action find
entity Q1330619
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Where the Wild Things Are, Twister, The Little Bear Movie, Sphere, The 13th Warrior and Disclosure
['Q622742', 'P136', {'concept': 'Q1792379'}] ['Q683663', 'P136', {'concept': 'Q1792379'}] ['Q3280982', 'P136', {'concept': 'Q1792379'}] ['Q744500', 'P136', {'concept': 'Q1792379'}] ['Q748030', 'P136', {'concept': 'Q1792379'}] ['Q1330619', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { ?a property:P136 ?v . VALUES ( ?a ) { ( resource:Q622742 ) ( resource:Q683663 ) } }
film adaptation children's film adventure film fantasy film drama film disaster film film adaptation children's film film adaptation science fiction film adventure film film adaptation adventure film fantasy film action film trial film
The trial film, film adaptation and children's film can be considered as category for Where the Wild Things Are, Twister, The Little Bear Movie, Sphere, The 13th Warrior and Disclosure
trial film film adaptation children's film
action union
action filter_type
action find
entity Where the Wild Things Are
relation genre
type art genre
action filter_type
action find
entity Twister
relation genre
type art genre
action filter_type
action find
entity The Little Bear Movie
relation genre
type art genre
action filter_type
action find
entity Sphere
relation genre
type art genre
action filter_type
action find
entity The 13th Warrior
relation genre
type art genre
action filter_type
action find
entity Disclosure
relation genre
type art genre
['Where the Wild Things Are', 'genre', {'concept': 'art genre'}] ['Twister', 'genre', {'concept': 'art genre'}] ['The Little Bear Movie', 'genre', {'concept': 'art genre'}] ['Sphere', 'genre', {'concept': 'art genre'}] ['The 13th Warrior', 'genre', {'concept': 'art genre'}] ['Disclosure', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { ?a property:genre ?v . VALUES ( ?a ) { ( resource:Where_the_Wild_Things_Are ) ( resource:Twister ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q622742
P364
Q34770
USER
Which language was used originally for the creation of Where the Wild Things Are ?
(Q622742,P364,c(Q34770))
action filter_type
action find
entity Q622742
relation P364
type Q34770
['Q622742', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q622742 property:P364 ?d . ?d rdf:type ontology:Q34770 }
Where the Wild Things Are
action filter_type
action find
entity Where the Wild Things Are
relation original language of work
type language
['Where the Wild Things Are', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Where_the_Wild_Things_Are property:original_language_of_work ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q622742,P364,c(Q34770))
action filter_type
action find
entity Q622742
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Where the Wild Things Are
['Q622742', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q622742 property:P364 ?d . ?d rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Where the Wild Things Are
English
action filter_type
action find
entity Where the Wild Things Are
relation original language of work
type language
['Where the Wild Things Are', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Where_the_Wild_Things_Are property:original_language_of_work ?d . ?d rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P136
Q1792379 Q166142 Q838948
USER
Which art genres can be considered as category for max number of applications or works of art ?
(c(Q166142)|c(Q838948),P136,c(Q1792379))
action argmax
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q166142
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q838948
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q166142 ) ( ontology:Q838948 ) } } GROUP BY ?e } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } GROUP BY ?p } }
action argmax
action union
action find_reverse_tuple_counts
relation genre
type art genre
type application
action find_reverse_tuple_counts
relation genre
type art genre
type work of art
[[{'concept': 'application'}, {'concept': 'work of art'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:application ) ( ontology:work_of_art ) } } GROUP BY ?e } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:application ) } } GROUP BY ?p } }
[]
art genre application work of art
Q130232
SYSTEM
drama film
Q130232
(c(Q166142)|c(Q838948),P136,c(Q1792379))
action argmax
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q166142
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q838948
[ANSWER] can be considered as category for max number of applications or works of art
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q166142 ) ( ontology:Q838948 ) } } GROUP BY ?e } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } GROUP BY ?p } }
drama film
Drama film can be considered as category for max number of applications or works of art
drama film
action argmax
action union
action find_reverse_tuple_counts
relation genre
type art genre
type application
action find_reverse_tuple_counts
relation genre
type art genre
type work of art
[[{'concept': 'application'}, {'concept': 'work of art'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:application ) ( ontology:work_of_art ) } } GROUP BY ?e } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:application ) } } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2378372 Q683663
P495
Q15617994
USER
Which administrative territories are the origin of Twister or The Game Is Over ?
OR((Q683663,P495,c(Q15617994)), (Q2378372,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q683663
relation P495
action find
entity Q2378372
relation P495
type Q15617994
{'OR': [['Q683663', 'P495', {'concept': 'Q15617994'}], ['Q2378372', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q683663 ) ( resource:Q2378372 ) } . ?d property:P495 ?z } }
The Game Is Over Twister
action filter_type
action union
action find
entity Twister
relation country of origin
action find
entity The Game Is Over
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Twister', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Game Is Over', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Twister ) ( resource:The_Game_Is_Over ) } . ?d property:country_of_origin ?z } }
[]
designation for an administrative territorial entity
Q142 Q30 Q38
SYSTEM
France, United States of America, Italy
Q142 Q30 Q38
OR((Q683663,P495,c(Q15617994)), (Q2378372,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q683663
relation P495
action find
entity Q2378372
relation P495
type Q15617994
Are the origin of Twister or The Game Is Over in [ANSWERS]
{'OR': [['Q683663', 'P495', {'concept': 'Q15617994'}], ['Q2378372', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q683663 ) ( resource:Q2378372 ) } . ?d property:P495 ?z } }
France United States of America Italy
Are the origin of Twister or The Game Is Over in France, United States of America and Italy
France United States of America Italy
action filter_type
action union
action find
entity Twister
relation country of origin
action find
entity The Game Is Over
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Twister', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Game Is Over', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Twister ) ( resource:The_Game_Is_Over ) } . ?d property:country_of_origin ?z } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q15707583 Q95074
USER
Which collectables are exactly 1 fictional taxons or fictional characters shown in ?
(c(Q15707583)|c(Q95074),P1441,c(Q2342494))
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
value 1
[[{'concept': 'Q15707583'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?k property:P1441 ?c . ?c rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q15707583 } UNION { ?k property:P1441 ?c . ?c rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q95074 } } GROUP BY ?c } . FILTER ( ?b = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
value 1
[[{'concept': 'fictional taxon'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?k property:present_in_work ?c . ?c rdf:type ontology:collectable . ?k rdf:type ontology:fictional_taxon } UNION { ?k property:present_in_work ?c . ?c rdf:type ontology:collectable . ?k rdf:type ontology:fictional_character } } GROUP BY ?c } . FILTER ( ?b = 1 ) }
[]
collectable fictional taxon fictional character
Q157360 Q15228 Q485093
SYSTEM
The Horse and His Boy, The Lord of the Rings, The Lion, the Witch, and the Wardrobe
Q718289 Q16834032 Q15228 Q477831 Q150827 Q467139 Q466504 Q331669 Q185449 Q79762 Q157360 Q8563 Q3107329 Q161531 Q149552 Q3235292 Q164974 Q7767037 Q7732780 Q17035379 Q9144808 Q308982 Q485093 Q189509 Q596874 Q1079681 Q16966042 Q1250822 Q7930820 Q1505793 Q208460 Q137869 Q471926 Q1396889 Q180736 Q60672
(c(Q15707583)|c(Q95074),P1441,c(Q2342494))
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q95074
value 1
[ANSWERS]
[[{'concept': 'Q15707583'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?k property:P1441 ?c . ?c rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q15707583 } UNION { ?k property:P1441 ?c . ?c rdf:type ontology:Q2342494 . ?k rdf:type ontology:Q95074 } } GROUP BY ?c } . FILTER ( ?b = 1 ) }
Brisingr The Crimson Gold The Lord of the Rings The Magician's Nephew Frankenstein The Player of Games American Psycho The Silver Chair Eragon The Silmarillion The Horse and His Boy The Hundred and One Dalmatians The Hitchhiker's Guide to the Galaxy War and Peace The Stand Bambi's Children Oliver Twist The String of Pearls The Executioners Lords of Darkness Red Dragon Eldest The Lion, the Witch, and the Wardrobe The Jungle Book Misery The Hunting of the Snark Realms of the Elves Taras Bulba Villains' Lorebook Ringworld Nineteen Eighty-Four Germinal The Eyes of the Dragon Animal Farm Les Misérables Inheritance
The Horse and His Boy, The Lord of the Rings and The Lion, the Witch, and the Wardrobe are exactly 1 fictional taxons or fictional characters shown in
The Horse and His Boy The Lord of the Rings The Lion, the Witch, and the Wardrobe
action equal
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional character
value 1
[[{'concept': 'fictional taxon'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?b ) WHERE { { ?k property:present_in_work ?c . ?c rdf:type ontology:collectable . ?k rdf:type ontology:fictional_taxon } UNION { ?k property:present_in_work ?c . ?c rdf:type ontology:collectable . ?k rdf:type ontology:fictional_character } } GROUP BY ?c } . FILTER ( ?b = 1 ) }
[]