Simple Question (Direct)
Simple Question
Q2929665
P58
Q502895
USER
Who wrote the screenplay for Bécassine ?
(Q2929665,P58,c(Q502895))
action filter_type
action find
entity Q2929665
relation P58
type Q502895
['Q2929665', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2929665 property:P58 ?v . ?v rdf:type ontology:Q502895 }
Bécassine
action filter_type
action find
entity Bécassine
relation screenwriter
type common name
['Bécassine', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bécassine property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
common name
Q963719
SYSTEM
Jean Nohain
Q963719
(Q2929665,P58,c(Q502895))
action filter_type
action find
entity Q2929665
relation P58
type Q502895
De [ANSWER] wrote the screenplay for Bécassine
['Q2929665', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2929665 property:P58 ?v . ?v rdf:type ontology:Q502895 }
Jean Nohain
De Jean Nohain wrote the screenplay for Bécassine
Jean Nohain
action filter_type
action find
entity Bécassine
relation screenwriter
type common name
['Bécassine', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bécassine property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2929665
P495
Q15617994
USER
Which administrative territory is the country of origin of Bécassine ?
(Q2929665,P495,c(Q15617994))
action filter_type
action find
entity Q2929665
relation P495
type Q15617994
['Q2929665', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2929665 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Bécassine
action filter_type
action find
entity Bécassine
relation country of origin
type designation for an administrative territorial entity
['Bécassine', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bécassine property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2929665,P495,c(Q15617994))
action filter_type
action find
entity Q2929665
relation P495
type Q15617994
[ANSWER] is the country of origin of Bécassine
['Q2929665', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2929665 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
France
France is the country of origin of Bécassine
France
action filter_type
action find
entity Bécassine
relation country of origin
type designation for an administrative territorial entity
['Bécassine', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bécassine property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7289955
Q15617994
USER
And also tell me about Ramones Maniacs?
(Q7289955,P495,c(Q15617994))
action filter_type
action find
entity Q7289955
relation P495
type Q15617994
['Q7289955', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7289955 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
Ramones Maniacs
action filter_type
action find
entity Ramones Maniacs
relation country of origin
type designation for an administrative territorial entity
['Ramones Maniacs', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ramones_Maniacs property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7289955,P495,c(Q15617994))
action filter_type
action find
entity Q7289955
relation P495
type Q15617994
[ANSWER]
['Q7289955', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7289955 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Ramones Maniacs
relation country of origin
type designation for an administrative territorial entity
['Ramones Maniacs', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ramones_Maniacs property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P276
Q198
USER
What are located at France ?
(c(Q198),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q198
[{'concept': 'Q198'}, 'P276', 'Q142']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q198 . ?s property:P276 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation location
type war
[{'concept': 'war'}, 'location', 'France']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:war . ?s property:location resource:France }
[]
war
Q1021160 Q17507684
SYSTEM
Armagnac–Burgundian Civil War, military intervention against ISIL
Q1021160 Q17507684
(c(Q198),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q198
[ANSWERS] are located at France
[{'concept': 'Q198'}, 'P276', 'Q142']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q198 . ?s property:P276 resource:Q142 }
Armagnac–Burgundian Civil War military intervention against ISIL
Armagnac–Burgundian Civil War and military intervention against ISIL are located at France
Armagnac–Burgundian Civil War military intervention against ISIL
action filter_type
action find_reverse
entity France
relation location
type war
[{'concept': 'war'}, 'location', 'France']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:war . ?s property:location resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1021160 Q17507684
P361
Q350604
USER
Which armed conflicts are those wars a component of ?
(Q1021160,P361,c(Q350604)) (Q17507684,P361,c(Q350604))
action filter_type
action find
entity prev_answer
relation P361
type Q350604
['Q1021160', 'P361', {'concept': 'Q350604'}] ['Q17507684', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q350604 . ?s property:P361 ?b . VALUES ( ?s ) { ( resource:Q1021160 ) ( resource:Q17507684 ) } }
Armagnac–Burgundian Civil War military intervention against ISIL
action filter_type
action find
entity prev_answer
relation part of
type armed conflict
['Armagnac–Burgundian Civil War', 'part of', {'concept': 'armed conflict'}] ['military intervention against ISIL', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:armed_conflict . ?s property:part_of ?b . VALUES ( ?s ) { ( resource:Armagnac–Burgundian_Civil_War ) ( resource:military_intervention_against_ISIL ) } }
[]
armed conflict
Q12551 Q185729
SYSTEM
Hundred Years' War, War on Terror
Q12551 Q185729
(Q1021160,P361,c(Q350604)) (Q17507684,P361,c(Q350604))
action filter_type
action find
entity prev_answer
relation P361
type Q350604
[ANSWERS] are those wars a component of
['Q1021160', 'P361', {'concept': 'Q350604'}] ['Q17507684', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q350604 . ?s property:P361 ?b . VALUES ( ?s ) { ( resource:Q1021160 ) ( resource:Q17507684 ) } }
Hundred Years' War War on Terror
Hundred Years' War and War on Terror are those wars a component of
Hundred Years' War War on Terror
action filter_type
action find
entity prev_answer
relation part of
type armed conflict
['Armagnac–Burgundian Civil War', 'part of', {'concept': 'armed conflict'}] ['military intervention against ISIL', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:armed_conflict . ?s property:part_of ?b . VALUES ( ?s ) { ( resource:Armagnac–Burgundian_Civil_War ) ( resource:military_intervention_against_ISIL ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P36
Q56061
USER
Which administrative territories are known as the capital of United States of America ?
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P36 ?n . ?n rdf:type ontology:Q56061 }
United States of America
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P36 ?n . ?n rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are known as the capital of United States of America
New York City Washington, D.C.
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P163
Q14660
USER
Which flag is associated with United States of America ?
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q14660 . resource:Q30 property:P163 ?m }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:flag . resource:United_States_of_America property:flag ?m }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The [ANSWER] is associated with United States of America
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q14660 . resource:Q30 property:P163 ?m }
flag of the United States of America
The flag of the United States of America is associated with United States of America
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:flag . resource:United_States_of_America property:flag ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P30
Q2221906
USER
Which geographic locations are that administrative territory situated in ?
(Q42537,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q42537', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['flag of the United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q42537,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
That administrative territory are situated in [ANSWERS]
['Q42537', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
North America Oceania
That administrative territory are situated in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['flag of the United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q49 Q538
P30
Q56061
USER
Which administrative territories have their location in North America and Oceania ?
(c(Q56061),P30,Q49) (c(Q56061),P30,Q538)
action union
action filter_type
action find_reverse
entity Q49
relation P30
type Q56061
action filter_type
action find_reverse
entity Q538
relation P30
type Q56061
[{'concept': 'Q56061'}, 'P30', 'Q49'] [{'concept': 'Q56061'}, 'P30', 'Q538']
SELECT DISTINCT ?z WHERE { VALUES ( ?r ) { ( resource:Q49 ) ( resource:Q538 ) } . ?z property:P30 ?r }
North America Oceania
action union
action filter_type
action find_reverse
entity North America
relation continent
type administrative territorial entity
action filter_type
action find_reverse
entity Oceania
relation continent
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'continent', 'North America'] [{'concept': 'administrative territorial entity'}, 'continent', 'Oceania']
SELECT DISTINCT ?z WHERE { VALUES ( ?r ) { ( resource:North_America ) ( resource:Oceania ) } . ?z property:continent ?r }
[]
administrative territorial entity
Q458 Q65 Q62
SYSTEM
European Union, Los Angeles, San Francisco
Q44016 Q975 Q6346 Q1297 Q24639 Q5917 Q12439 Q720087 Q120783 Q458 Q26180 Q7359247 Q2019662 Q5876178 Q659823 Q1062635 Q11703 Q172 Q100 Q54140 Q1183 Q485172 Q25528 Q931178 Q6154758 Q223308 Q25396 Q65 Q62 Q767364 Q2775275 Q88 Q79539 Q1002908 Q79990 Q200028 Q233467 Q206687 Q212289 Q16641 Q37100 Q207756 Q16635 Q16644
(c(Q56061),P30,Q49) (c(Q56061),P30,Q538)
action union
action filter_type
action find_reverse
entity Q49
relation P30
type Q56061
action filter_type
action find_reverse
entity Q538
relation P30
type Q56061
[ANSWERS] have their location in North America and Oceania
[{'concept': 'Q56061'}, 'P30', 'Q49'] [{'concept': 'Q56061'}, 'P30', 'Q538']
SELECT DISTINCT ?z WHERE { VALUES ( ?r ) { ( resource:Q49 ) ( resource:Q538 ) } . ?z property:P30 ?r }
Markham San Antonio Indianapolis Chicago Vancouver Huntington Beach Detroit Petaluma Salem European Union Sint Eustatius Rogers Foggy Bottom Hodgson, Manitoba Conway Chapala United States Virgin Islands Toronto Boston Salem Puerto Rico Ann Arbor Saba Salem Túxpam de Rodríguez Cano New Amsterdam Bonaire Los Angeles San Francisco Keene Ajijic Alexandria Columbiana Sunland Park Christchurch Hamilton Gisborne, New Zealand Nelson Palmerston North American Samoa Auckland Tauranga Guam Northern Mariana Islands
European Union, Los Angeles and San Francisco have their location in North America and Oceania
European Union Los Angeles San Francisco
action union
action filter_type
action find_reverse
entity North America
relation continent
type administrative territorial entity
action filter_type
action find_reverse
entity Oceania
relation continent
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'continent', 'North America'] [{'concept': 'administrative territorial entity'}, 'continent', 'Oceania']
SELECT DISTINCT ?z WHERE { VALUES ( ?r ) { ( resource:North_America ) ( resource:Oceania ) } . ?z property:continent ?r }
[]