Simple Question (Direct)
Simple Question
Q2813815
P364
Q11028
USER
What is considered to be the original language of creation of The Prince and Betty ?
(Q2813815,P364,c(Q11028))
action filter_type
action find
entity Q2813815
relation P364
type Q11028
['Q2813815', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q11028 . resource:Q2813815 property:P364 ?o }
The Prince and Betty
action filter_type
action find
entity The Prince and Betty
relation original language of work
type information
['The Prince and Betty', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:information . resource:The_Prince_and_Betty property:original_language_of_work ?o }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q2813815,P364,c(Q11028))
action filter_type
action find
entity Q2813815
relation P364
type Q11028
[ANSWER] is considered to be the original language of creation of The Prince and Betty
['Q2813815', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q11028 . resource:Q2813815 property:P364 ?o }
n/a (silent film)
N/a (silent film) is considered to be the original language of creation of The Prince and Betty
n/a (silent film)
action filter_type
action find
entity The Prince and Betty
relation original language of work
type information
['The Prince and Betty', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:information . resource:The_Prince_and_Betty property:original_language_of_work ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2813815
P58
Q502895
USER
Who was the screenwriter for The Prince and Betty ?
(Q2813815,P58,c(Q502895))
action filter_type
action find
entity Q2813815
relation P58
type Q502895
['Q2813815', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2813815 property:P58 ?v . ?v rdf:type ontology:Q502895 }
The Prince and Betty
action filter_type
action find
entity The Prince and Betty
relation screenwriter
type common name
['The Prince and Betty', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Prince_and_Betty property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
common name
Q207515
SYSTEM
P.G. Wodehouse
Q207515
(Q2813815,P58,c(Q502895))
action filter_type
action find
entity Q2813815
relation P58
type Q502895
The screenwriter for The Prince and Betty was named [ANSWER]
['Q2813815', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2813815 property:P58 ?v . ?v rdf:type ontology:Q502895 }
P.G. Wodehouse
The screenwriter for The Prince and Betty was named P.G. Wodehouse
P.G. Wodehouse
action filter_type
action find
entity The Prince and Betty
relation screenwriter
type common name
['The Prince and Betty', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Prince_and_Betty property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207515
P166
Q2003221
USER
What was awarded to that person ?
(Q207515,P166,c(Q2003221))
action filter_type
action find
entity Q207515
relation P166
type Q2003221
['Q207515', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?g WHERE { resource:Q207515 property:P166 ?g . ?g rdf:type ontology:Q2003221 }
P.G. Wodehouse
action filter_type
action find
entity P.G. Wodehouse
relation award received
type chivalric order
['P.G. Wodehouse', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?g WHERE { resource:P.G._Wodehouse property:award_received ?g . ?g rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201445
SYSTEM
Knight Commander of the Order of the British Empire
Q12201445
(Q207515,P166,c(Q2003221))
action filter_type
action find
entity Q207515
relation P166
type Q2003221
The [ANSWER] was awarded to that person
['Q207515', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?g WHERE { resource:Q207515 property:P166 ?g . ?g rdf:type ontology:Q2003221 }
Knight Commander of the Order of the British Empire
The Knight Commander of the Order of the British Empire was awarded to that person
Knight Commander of the Order of the British Empire
action filter_type
action find
entity P.G. Wodehouse
relation award received
type chivalric order
['P.G. Wodehouse', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?g WHERE { resource:P.G._Wodehouse property:award_received ?g . ?g rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207515
P136
Q223393
USER
What can be considered as category for P.G. Wodehouse ?
(Q207515,P136,c(Q223393))
action filter_type
action find
entity Q207515
relation P136
type Q223393
['Q207515', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q223393 . resource:Q207515 property:P136 ?q }
P.G. Wodehouse
action filter_type
action find
entity P.G. Wodehouse
relation genre
type literary genre
['P.G. Wodehouse', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:literary_genre . resource:P.G._Wodehouse property:genre ?q }
[]
literary genre
Q40831
SYSTEM
comedy
Q40831
(Q207515,P136,c(Q223393))
action filter_type
action find
entity Q207515
relation P136
type Q223393
[ANSWER] can be considered as category for P.G. Wodehouse
['Q207515', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q223393 . resource:Q207515 property:P136 ?q }
comedy
Comedy can be considered as category for P.G. Wodehouse
comedy
action filter_type
action find
entity P.G. Wodehouse
relation genre
type literary genre
['P.G. Wodehouse', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:literary_genre . resource:P.G._Wodehouse property:genre ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q40831 Q7898068
P136
Q838948
USER
Does Up in Mabel's Room a that literary genre as its category ?
(Q7898068,P136,Q40831)
action is_in
entity Q7898068
action find
entity Q40831
relation P136
['Q7898068', 'P136', 'Q40831']
ASK WHERE { resource:Q40831 property:P136 resource:Q7898068 }
comedy Up in Mabel's Room
action is_in
entity Up in Mabel's Room
action find
entity comedy
relation genre
["Up in Mabel's Room", 'genre', 'comedy']
ASK WHERE { resource:comedy property:genre resource:Up_in_Mabel's_Room }
[]
work of art
SYSTEM
NO
(Q7898068,P136,Q40831)
action is_in
entity Q7898068
action find
entity Q40831
relation P136
[ANSWER]
['Q7898068', 'P136', 'Q40831']
ASK WHERE { resource:Q40831 property:P136 resource:Q7898068 }
No
action is_in
entity Up in Mabel's Room
action find
entity comedy
relation genre
["Up in Mabel's Room", 'genre', 'comedy']
ASK WHERE { resource:comedy property:genre resource:Up_in_Mabel's_Room }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2813815 Q55039
P495
Q15617994
USER
Is Greci the country of origin of The Prince and Betty ?
(Q2813815,P495,Q55039)
action is_in
entity Q55039
action find
entity Q2813815
relation P495
['Q2813815', 'P495', 'Q55039']
ASK WHERE { resource:Q2813815 property:P495 resource:Q55039 }
The Prince and Betty Greci
action is_in
entity Greci
action find
entity The Prince and Betty
relation country of origin
['The Prince and Betty', 'country of origin', 'Greci']
ASK WHERE { resource:The_Prince_and_Betty property:country_of_origin resource:Greci }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2813815,P495,Q55039)
action is_in
entity Q55039
action find
entity Q2813815
relation P495
[ANSWER]
['Q2813815', 'P495', 'Q55039']
ASK WHERE { resource:Q2813815 property:P495 resource:Q55039 }
No
action is_in
entity Greci
action find
entity The Prince and Betty
relation country of origin
['The Prince and Betty', 'country of origin', 'Greci']
ASK WHERE { resource:The_Prince_and_Betty property:country_of_origin resource:Greci }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15091129
P674
Q22988604 Q95074 Q223393
USER
How many literary genres are more number of mythological Greek characters or fictional characters a character of than Home to Roost ?
(c(Q223393),P674,c(Q22988604)|c(Q95074))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action find_tuple_counts
relation P674
type Q223393
type Q95074
action count
action filter_multi_types
action find
entity Q15091129
relation P674
type Q22988604
type Q95074
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?d ) WHERE { { ?w rdf:type ontology:Q223393 . ?j rdf:type ontology:Q95074 . ?w property:P674 ?j } UNION { ?w property:P674 ?j . ?w rdf:type ontology:Q223393 . ?j rdf:type ontology:Q22988604 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q15091129 property:P674 ?v . { { ?v rdf:type ontology:Q22988604 } UNION { ?v rdf:type ontology:Q95074 } } } } . FILTER ( ?d > ?b ) }
Home to Roost
action count
action greater
action union
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action find_tuple_counts
relation characters
type literary genre
type fictional character
action count
action filter_multi_types
action find
entity Home to Roost
relation characters
type mythological Greek character
type fictional character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?d ) WHERE { { ?w rdf:type ontology:literary_genre . ?j rdf:type ontology:fictional_character . ?w property:characters ?j } UNION { ?w property:characters ?j . ?w rdf:type ontology:literary_genre . ?j rdf:type ontology:mythological_Greek_character } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Home_to_Roost property:characters ?v . { { ?v rdf:type ontology:mythological_Greek_character } UNION { ?v rdf:type ontology:fictional_character } } } } . FILTER ( ?d > ?b ) }
[]
mythological Greek character fictional character literary genre
SYSTEM
7
Q40185 Q35160 Q60220 Q8275 Q11831 Q2891519 Q781898
(c(Q223393),P674,c(Q22988604)|c(Q95074))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action find_tuple_counts
relation P674
type Q223393
type Q95074
action count
action filter_multi_types
action find
entity Q15091129
relation P674
type Q22988604
type Q95074
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?d ) WHERE { { ?w rdf:type ontology:Q223393 . ?j rdf:type ontology:Q95074 . ?w property:P674 ?j } UNION { ?w property:P674 ?j . ?w rdf:type ontology:Q223393 . ?j rdf:type ontology:Q22988604 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q15091129 property:P674 ?v . { { ?v rdf:type ontology:Q22988604 } UNION { ?v rdf:type ontology:Q95074 } } } } . FILTER ( ?d > ?b ) }
The Divine Comedy the Odyssey Aeneid Iliad Snow White The Joker: Devil's Advocate Os Lusíadas
7
action count
action greater
action union
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action find_tuple_counts
relation characters
type literary genre
type fictional character
action count
action filter_multi_types
action find
entity Home to Roost
relation characters
type mythological Greek character
type fictional character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?d ) WHERE { { ?w rdf:type ontology:literary_genre . ?j rdf:type ontology:fictional_character . ?w property:characters ?j } UNION { ?w property:characters ?j . ?w rdf:type ontology:literary_genre . ?j rdf:type ontology:mythological_Greek_character } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Home_to_Roost property:characters ?v . { { ?v rdf:type ontology:mythological_Greek_character } UNION { ?v rdf:type ontology:fictional_character } } } } . FILTER ( ?d > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2891564
P674
Q22988604 Q95074 Q223393
USER
And how about Alternative versions of Captain America#Elseworlds?
(c(Q223393),P674,c(Q22988604)|c(Q95074))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action find_tuple_counts
relation P674
type Q223393
type Q95074
action count
action filter_multi_types
action find
entity Q2891564
relation P674
type Q22988604
type Q95074
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?e property:P674 ?h . ?e rdf:type ontology:Q223393 . ?h rdf:type ontology:Q22988604 } UNION { ?e property:P674 ?h . ?e rdf:type ontology:Q223393 . ?h rdf:type ontology:Q95074 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q2891564 property:P674 ?k . { VALUES ( ?g ) { ( ontology:Q95074 ) ( ontology:Q22988604 ) } . ?k rdf:type ?g } } } . FILTER ( ?t > ?z ) }
Alternative versions of Captain America#Elseworlds
action count
action greater
action union
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action find_tuple_counts
relation characters
type literary genre
type fictional character
action count
action filter_multi_types
action find
entity Alternative versions of Captain America#Elseworlds
relation characters
type mythological Greek character
type fictional character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?e property:characters ?h . ?e rdf:type ontology:literary_genre . ?h rdf:type ontology:mythological_Greek_character } UNION { ?e property:characters ?h . ?e rdf:type ontology:literary_genre . ?h rdf:type ontology:fictional_character } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Alternative_versions_of_Captain_America#Elseworlds property:characters ?k . { VALUES ( ?g ) { ( ontology:fictional_character ) ( ontology:mythological_Greek_character ) } . ?k rdf:type ?g } } } . FILTER ( ?t > ?z ) }
[]
mythological Greek character fictional character literary genre
SYSTEM
7
Q40185 Q35160 Q60220 Q8275 Q11831 Q2891519 Q781898
(c(Q223393),P674,c(Q22988604)|c(Q95074))
action count
action greater
action union
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action find_tuple_counts
relation P674
type Q223393
type Q95074
action count
action filter_multi_types
action find
entity Q2891564
relation P674
type Q22988604
type Q95074
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?e property:P674 ?h . ?e rdf:type ontology:Q223393 . ?h rdf:type ontology:Q22988604 } UNION { ?e property:P674 ?h . ?e rdf:type ontology:Q223393 . ?h rdf:type ontology:Q95074 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q2891564 property:P674 ?k . { VALUES ( ?g ) { ( ontology:Q95074 ) ( ontology:Q22988604 ) } . ?k rdf:type ?g } } } . FILTER ( ?t > ?z ) }
The Divine Comedy the Odyssey Aeneid Iliad Snow White The Joker: Devil's Advocate Os Lusíadas
7
action count
action greater
action union
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action find_tuple_counts
relation characters
type literary genre
type fictional character
action count
action filter_multi_types
action find
entity Alternative versions of Captain America#Elseworlds
relation characters
type mythological Greek character
type fictional character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?e property:characters ?h . ?e rdf:type ontology:literary_genre . ?h rdf:type ontology:mythological_Greek_character } UNION { ?e property:characters ?h . ?e rdf:type ontology:literary_genre . ?h rdf:type ontology:fictional_character } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Alternative_versions_of_Captain_America#Elseworlds property:characters ?k . { VALUES ( ?g ) { ( ontology:fictional_character ) ( ontology:mythological_Greek_character ) } . ?k rdf:type ?g } } } . FILTER ( ?t > ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q100162 Q2813815
P495 P17
Q15617994
USER
Which administrative territories did The Prince and Betty originate or are Cassiglio located in ?
OR((Q2813815,P495,c(Q15617994)), (Q100162,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2813815
relation P495
action find
entity Q100162
relation P17
type Q15617994
{'OR': [['Q2813815', 'P495', {'concept': 'Q15617994'}], ['Q100162', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q2813815 property:P495 ?m } UNION { resource:Q100162 property:P17 ?m } } }
Cassiglio The Prince and Betty
action filter_type
action union
action find
entity The Prince and Betty
relation country of origin
action find
entity Cassiglio
relation country
type designation for an administrative territorial entity
{'OR': [['The Prince and Betty', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Cassiglio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:The_Prince_and_Betty property:country_of_origin ?m } UNION { resource:Cassiglio property:country ?m } } }
[]
designation for an administrative territorial entity
Q30 Q38
SYSTEM
United States of America, Italy
Q30 Q38
OR((Q2813815,P495,c(Q15617994)), (Q100162,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2813815
relation P495
action find
entity Q100162
relation P17
type Q15617994
The Prince and Betty originated from [ANSWERS]
{'OR': [['Q2813815', 'P495', {'concept': 'Q15617994'}], ['Q100162', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q2813815 property:P495 ?m } UNION { resource:Q100162 property:P17 ?m } } }
United States of America Italy
The Prince and Betty originated from United States of America and Italy
United States of America Italy
action filter_type
action union
action find
entity The Prince and Betty
relation country of origin
action find
entity Cassiglio
relation country
type designation for an administrative territorial entity
{'OR': [['The Prince and Betty', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Cassiglio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:The_Prince_and_Betty property:country_of_origin ?m } UNION { resource:Cassiglio property:country ?m } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11570473
P27
Q502895
USER
Are Hisashi Makita a citizen of those administrative territories ?
(Q11570473,P27,Q30) (Q11570473,P27,Q38)
action is_in
entity prev_answer
action find
entity Q11570473
relation P27
['Q11570473', 'P27', 'Q30'] ['Q11570473', 'P27', 'Q38']
ASK WHERE { VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q38 ) } . resource:Q11570473 property:P27 ?h }
Hisashi Makita
action is_in
entity prev_answer
action find
entity Hisashi Makita
relation country of citizenship
['Hisashi Makita', 'country of citizenship', 'United States of America'] ['Hisashi Makita', 'country of citizenship', 'Italy']
ASK WHERE { VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:Italy ) } . resource:Hisashi_Makita property:country_of_citizenship ?h }
[]
common name
SYSTEM
NO
(Q11570473,P27,Q30) (Q11570473,P27,Q38)
action is_in
entity prev_answer
action find
entity Q11570473
relation P27
[ANSWER]
['Q11570473', 'P27', 'Q30'] ['Q11570473', 'P27', 'Q38']
ASK WHERE { VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q38 ) } . resource:Q11570473 property:P27 ?h }
No
action is_in
entity prev_answer
action find
entity Hisashi Makita
relation country of citizenship
['Hisashi Makita', 'country of citizenship', 'United States of America'] ['Hisashi Makita', 'country of citizenship', 'Italy']
ASK WHERE { VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:Italy ) } . resource:Hisashi_Makita property:country_of_citizenship ?h }
[]