Simple Question (Direct)
Simple Question
Q639072
P364
Q34770
USER
Which language was used originally for the creation of The Curse of Capistrano ?
(Q639072,P364,c(Q34770))
action filter_type
action find
entity Q639072
relation P364
type Q34770
['Q639072', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q639072 property:P364 ?e . ?e rdf:type ontology:Q34770 }
The Curse of Capistrano
action filter_type
action find
entity The Curse of Capistrano
relation original language of work
type language
['The Curse of Capistrano', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Curse_of_Capistrano property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q639072,P364,c(Q34770))
action filter_type
action find
entity Q639072
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Curse of Capistrano
['Q639072', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q639072 property:P364 ?e . ?e rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Curse of Capistrano
English
action filter_type
action find
entity The Curse of Capistrano
relation original language of work
type language
['The Curse of Capistrano', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Curse_of_Capistrano property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q639072
P674
Q636497
USER
What is the name of the person who plays a role in that collectable ?
(Q1860,P674,c(Q636497))
action filter_type
action find
entity Q639072
relation P674
type Q636497
['Q1860', 'P674', {'concept': 'Q636497'}]
SELECT DISTINCT ?r WHERE { resource:Q639072 property:P674 ?r . ?r rdf:type ontology:Q636497 }
The Curse of Capistrano
action filter_type
action find
entity The Curse of Capistrano
relation characters
type stock character
['English', 'characters', {'concept': 'stock character'}]
SELECT DISTINCT ?r WHERE { resource:The_Curse_of_Capistrano property:characters ?r . ?r rdf:type ontology:stock_character }
[]
stock character
Q226822
SYSTEM
Zorro
Q226822
(Q1860,P674,c(Q636497))
action filter_type
action find
entity Q639072
relation P674
type Q636497
The name of the person plays a role in that collectable is [ANSWER]
['Q1860', 'P674', {'concept': 'Q636497'}]
SELECT DISTINCT ?r WHERE { resource:Q639072 property:P674 ?r . ?r rdf:type ontology:Q636497 }
Zorro
The name of the person plays a role in that collectable is Zorro
Zorro
action filter_type
action find
entity The Curse of Capistrano
relation characters
type stock character
['English', 'characters', {'concept': 'stock character'}]
SELECT DISTINCT ?r WHERE { resource:The_Curse_of_Capistrano property:characters ?r . ?r rdf:type ontology:stock_character }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q226822
P364 P674
Q2342494
USER
Which collectables have the character Zorro and were originally created in English language ?
AND((c(Q2342494),P674,Q226822), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q226822
relation P674
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P674', 'Q226822'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P674 resource:Q226822 . ?u property:P364 resource:Q1860 . ?u rdf:type ontology:Q2342494 }
English Zorro
action filter_type
action intersection
action find_reverse
entity Zorro
relation characters
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'characters', 'Zorro'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:characters resource:Zorro . ?u property:original_language_of_work resource:English . ?u rdf:type ontology:collectable }
[]
collectable
Q639072
SYSTEM
The Curse of Capistrano
Q639072
AND((c(Q2342494),P674,Q226822), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q226822
relation P674
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWER] have the character Zorro and were originally created in English language
{'AND': [[{'concept': 'Q2342494'}, 'P674', 'Q226822'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P674 resource:Q226822 . ?u property:P364 resource:Q1860 . ?u rdf:type ontology:Q2342494 }
The Curse of Capistrano
The Curse of Capistrano have the character Zorro and were originally created in English language
The Curse of Capistrano
action filter_type
action intersection
action find_reverse
entity Zorro
relation characters
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'characters', 'Zorro'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:characters resource:Zorro . ?u property:original_language_of_work resource:English . ?u rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q639072 Q30
P495
Q15617994
USER
Is United States of America the origin of that collectable ?
(Q639072,P495,Q30)
action is_in
entity Q30
action find
entity Q639072
relation P495
['Q639072', 'P495', 'Q30']
ASK WHERE { resource:Q639072 property:P495 resource:Q30 }
The Curse of Capistrano United States of America
action is_in
entity United States of America
action find
entity The Curse of Capistrano
relation country of origin
['The Curse of Capistrano', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Curse_of_Capistrano property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q639072,P495,Q30)
action is_in
entity Q30
action find
entity Q639072
relation P495
[ANSWER]
['Q639072', 'P495', 'Q30']
ASK WHERE { resource:Q639072 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity The Curse of Capistrano
relation country of origin
['The Curse of Capistrano', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Curse_of_Capistrano property:country_of_origin resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q226822 Q5432471
P27
Q15617994
USER
Is Zorro an inhabitant of Falls City Independent School District ?
(Q226822,P27,Q5432471)
action is_in
entity Q5432471
action find
entity Q226822
relation P27
['Q226822', 'P27', 'Q5432471']
ASK WHERE { resource:Q226822 property:P27 resource:Q5432471 }
Zorro Falls City Independent School District
action is_in
entity Falls City Independent School District
action find
entity Zorro
relation country of citizenship
['Zorro', 'country of citizenship', 'Falls City Independent School District']
ASK WHERE { resource:Zorro property:country_of_citizenship resource:Falls_City_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q226822,P27,Q5432471)
action is_in
entity Q5432471
action find
entity Q226822
relation P27
[ANSWER]
['Q226822', 'P27', 'Q5432471']
ASK WHERE { resource:Q226822 property:P27 resource:Q5432471 }
No
action is_in
entity Falls City Independent School District
action find
entity Zorro
relation country of citizenship
['Zorro', 'country of citizenship', 'Falls City Independent School District']
ASK WHERE { resource:Zorro property:country_of_citizenship resource:Falls_City_Independent_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { resource:Q1860 property:P361 ?i . ?i rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { resource:English property:part_of ?i . ?i rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { resource:Q1860 property:P361 ?i . ?i rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { resource:English property:part_of ?i . ?i rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2975856
P176
Q4830453 Q43229 Q5962346
USER
Which classification schemes were built by more number of business enterprises and organizations than Explorer-class submarine ?
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action greater
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q2975856
relation P176
type Q4830453
type Q43229
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?d ) WHERE { { ?x property:P176 ?i . ?x rdf:type ontology:Q5962346 . ?i rdf:type ontology:Q4830453 } UNION { ?x property:P176 ?i . ?x rdf:type ontology:Q5962346 . ?i rdf:type ontology:Q43229 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q2975856 property:P176 ?r . { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?d > ?v ) }
Explorer-class submarine
action greater
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity Explorer-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?d ) WHERE { { ?x property:manufacturer ?i . ?x rdf:type ontology:classification_scheme . ?i rdf:type ontology:business_enterprise } UNION { ?x property:manufacturer ?i . ?x rdf:type ontology:classification_scheme . ?i rdf:type ontology:organization } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Explorer-class_submarine property:manufacturer ?r . { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:business_enterprise ) } } } } . FILTER ( ?d > ?v ) }
[]
business enterprise organization classification scheme
Q663037 Q6675326 Q1068329
SYSTEM
Alfa-class submarine, Echo II class submarine, Golf-class submarine
Q527483 Q663037 Q6675326 Q17478690 Q1068329 Q2707876 Q602196
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action greater
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q2975856
relation P176
type Q4830453
type Q43229
[ANSWERS] were built by more number of business enterprises and organizations than Explorer-class submarine
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?d ) WHERE { { ?x property:P176 ?i . ?x rdf:type ontology:Q5962346 . ?i rdf:type ontology:Q4830453 } UNION { ?x property:P176 ?i . ?x rdf:type ontology:Q5962346 . ?i rdf:type ontology:Q43229 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q2975856 property:P176 ?r . { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?d > ?v ) }
German Seehund-class submarine Alfa-class submarine Echo II class submarine Draken II-class submarine Golf-class submarine Sjöormen-class submarine German Type XXIII submarine
Alfa-class submarine, Echo II class submarine and Golf-class submarine were built by more number of business enterprises and organizations than Explorer-class submarine
Alfa-class submarine Echo II class submarine Golf-class submarine
action greater
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity Explorer-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?d ) WHERE { { ?x property:manufacturer ?i . ?x rdf:type ontology:classification_scheme . ?i rdf:type ontology:business_enterprise } UNION { ?x property:manufacturer ?i . ?x rdf:type ontology:classification_scheme . ?i rdf:type ontology:organization } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Explorer-class_submarine property:manufacturer ?r . { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:business_enterprise ) } } } } . FILTER ( ?d > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6675326
P520
Q153556
USER
Which ranged weapon is used as weapon by Echo II class submarine ?
(Q6675326,P520,c(Q153556))
action filter_type
action find
entity Q6675326
relation P520
type Q153556
['Q6675326', 'P520', {'concept': 'Q153556'}]
SELECT DISTINCT ?y WHERE { resource:Q6675326 property:P520 ?y . ?y rdf:type ontology:Q153556 }
Echo II class submarine
action filter_type
action find
entity Echo II class submarine
relation armament
type ranged weapon
['Echo II class submarine', 'armament', {'concept': 'ranged weapon'}]
SELECT DISTINCT ?y WHERE { resource:Echo_II_class_submarine property:armament ?y . ?y rdf:type ontology:ranged_weapon }
[]
ranged weapon
Q1132506
SYSTEM
Type 53
Q1132506
(Q6675326,P520,c(Q153556))
action filter_type
action find
entity Q6675326
relation P520
type Q153556
[ANSWER] is used as weapon by Echo II class submarine
['Q6675326', 'P520', {'concept': 'Q153556'}]
SELECT DISTINCT ?y WHERE { resource:Q6675326 property:P520 ?y . ?y rdf:type ontology:Q153556 }
Type 53
Type 53 is used as weapon by Echo II class submarine
Type 53
action filter_type
action find
entity Echo II class submarine
relation armament
type ranged weapon
['Echo II class submarine', 'armament', {'concept': 'ranged weapon'}]
SELECT DISTINCT ?y WHERE { resource:Echo_II_class_submarine property:armament ?y . ?y rdf:type ontology:ranged_weapon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6675326
P137
Q781132
USER
Which military branches operate Echo II class submarine ?
(Q6675326,P137,c(Q781132))
action filter_type
action find
entity Q6675326
relation P137
type Q781132
['Q6675326', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q6675326 property:P137 ?m }
Echo II class submarine
action filter_type
action find
entity Echo II class submarine
relation operator
type military branch
['Echo II class submarine', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:Echo_II_class_submarine property:operator ?m }
[]
military branch
Q796754 Q465283
SYSTEM
Soviet Navy, Russian Navy
Q796754 Q465283
(Q6675326,P137,c(Q781132))
action filter_type
action find
entity Q6675326
relation P137
type Q781132
[ANSWERS] operate Echo II class submarine
['Q6675326', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q6675326 property:P137 ?m }
Soviet Navy Russian Navy
Soviet Navy and Russian Navy operate Echo II class submarine
Soviet Navy Russian Navy
action filter_type
action find
entity Echo II class submarine
relation operator
type military branch
['Echo II class submarine', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:Echo_II_class_submarine property:operator ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1333909
Q781132
USER
And also tell me about HMS Ark Royal?
(Q1333909,P137,c(Q781132))
action filter_type
action find
entity Q1333909
relation P137
type Q781132
['Q1333909', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q781132 . resource:Q1333909 property:P137 ?f }
HMS Ark Royal
action filter_type
action find
entity HMS Ark Royal
relation operator
type military branch
['HMS Ark Royal', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:military_branch . resource:HMS_Ark_Royal property:operator ?f }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q1333909,P137,c(Q781132))
action filter_type
action find
entity Q1333909
relation P137
type Q781132
[ANSWER]
['Q1333909', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q781132 . resource:Q1333909 property:P137 ?f }
Royal Navy
Royal Navy
action filter_type
action find
entity HMS Ark Royal
relation operator
type military branch
['HMS Ark Royal', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:military_branch . resource:HMS_Ark_Royal property:operator ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172771
P463
Q502895
USER
Which people are members of that military branch ?
(c(Q502895),P463,Q172771)
action filter_type
action find_reverse
entity Q172771
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q172771']
SELECT DISTINCT ?m WHERE { ?m property:P463 resource:Q172771 . ?m rdf:type ontology:Q502895 }
Royal Navy
action filter_type
action find_reverse
entity Royal Navy
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Royal Navy']
SELECT DISTINCT ?m WHERE { ?m property:member_of resource:Royal_Navy . ?m rdf:type ontology:common_name }
[]
common name
Q18581903 Q4706925
SYSTEM
Rob Cooke, Alan Hyde Gardner, 2nd Baron Gardner
Q18581903 Q4706925
(c(Q502895),P463,Q172771)
action filter_type
action find_reverse
entity Q172771
relation P463
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P463', 'Q172771']
SELECT DISTINCT ?m WHERE { ?m property:P463 resource:Q172771 . ?m rdf:type ontology:Q502895 }
Rob Cooke Alan Hyde Gardner, 2nd Baron Gardner
Rob Cooke and Alan Hyde Gardner, 2nd Baron Gardner are members of that military branch
Rob Cooke Alan Hyde Gardner, 2nd Baron Gardner
action filter_type
action find_reverse
entity Royal Navy
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Royal Navy']
SELECT DISTINCT ?m WHERE { ?m property:member_of resource:Royal_Navy . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18581903 Q4706925
P21
Q290
USER
Which sexes do those people have ?
(Q18581903,P21,c(Q290)) (Q4706925,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q18581903', 'P21', {'concept': 'Q290'}] ['Q4706925', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . ?d property:P21 ?l . VALUES ( ?d ) { ( resource:Q18581903 ) ( resource:Q4706925 ) } }
Rob Cooke Alan Hyde Gardner, 2nd Baron Gardner
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rob Cooke', 'gender', {'concept': 'sex'}] ['Alan Hyde Gardner, 2nd Baron Gardner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . ?d property:gender ?l . VALUES ( ?d ) { ( resource:Rob_Cooke ) ( resource:Alan_Hyde_Gardner,_2nd_Baron_Gardner ) } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q18581903,P21,c(Q290)) (Q4706925,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWER] and [ANSWER]
['Q18581903', 'P21', {'concept': 'Q290'}] ['Q4706925', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . ?d property:P21 ?l . VALUES ( ?d ) { ( resource:Q18581903 ) ( resource:Q4706925 ) } }
male male
Those people have a male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rob Cooke', 'gender', {'concept': 'sex'}] ['Alan Hyde Gardner, 2nd Baron Gardner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . ?d property:gender ?l . VALUES ( ?d ) { ( resource:Rob_Cooke ) ( resource:Alan_Hyde_Gardner,_2nd_Baron_Gardner ) } }
[]