Simple Question (Direct)
Simple Question
Q1158483
P17
Q15617994
USER
Which administrative territory is Attignéville located in ?
(Q1158483,P17,c(Q15617994))
action filter_type
action find
entity Q1158483
relation P17
type Q15617994
['Q1158483', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1158483 property:P17 ?o }
Attignéville
action filter_type
action find
entity Attignéville
relation country
type designation for an administrative territorial entity
['Attignéville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Attignéville property:country ?o }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1158483,P17,c(Q15617994))
action filter_type
action find
entity Q1158483
relation P17
type Q15617994
Attignéville is located in [ANSWER]
['Q1158483', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1158483 property:P17 ?o }
France
Attignéville is located in France
France
action filter_type
action find
entity Attignéville
relation country
type designation for an administrative territorial entity
['Attignéville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Attignéville property:country ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1158483
P19
Q502895
USER
Who was born at Attignéville ?
(c(Q502895),P19,Q1158483)
action filter_type
action find_reverse
entity Q1158483
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1158483']
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q1158483 . ?r rdf:type ontology:Q502895 }
Attignéville
action filter_type
action find_reverse
entity Attignéville
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Attignéville']
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Attignéville . ?r rdf:type ontology:common_name }
[]
common name
Q2959909
SYSTEM
Charles Nicolas d'Hennezel de Valleroy
Q2959909
(c(Q502895),P19,Q1158483)
action filter_type
action find_reverse
entity Q1158483
relation P19
type Q502895
[ANSWER] was born at Attignéville
[{'concept': 'Q502895'}, 'P19', 'Q1158483']
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q1158483 . ?r rdf:type ontology:Q502895 }
Charles Nicolas d'Hennezel de Valleroy
Charles Nicolas d'Hennezel de Valleroy was born at Attignéville
Charles Nicolas d'Hennezel de Valleroy
action filter_type
action find_reverse
entity Attignéville
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Attignéville']
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Attignéville . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P137
Q811430
USER
Which constructions are the administrator of France ?
(c(Q811430),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q142 . ?t rdf:type ontology:Q811430 }
France
action filter_type
action find_reverse
entity France
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'France']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:France . ?t rdf:type ontology:construction }
[]
construction
Q653784 Q578060 Q554046
SYSTEM
Embassy of France, Ottawa, Longwood House, Embassy of France, Berlin
Q653784 Q578060 Q554046
(c(Q811430),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q811430
[ANSWERS]
[{'concept': 'Q811430'}, 'P137', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q142 . ?t rdf:type ontology:Q811430 }
Embassy of France, Ottawa Longwood House Embassy of France, Berlin
Embassy of France, Ottawa, Longwood House and Embassy of France, Berlin are the administrator of France
Embassy of France, Ottawa Longwood House Embassy of France, Berlin
action filter_type
action find_reverse
entity France
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'France']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:France . ?t rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q653784 Q578060 Q554046
P17
Q1048835
USER
Which political territories are those constructions a part of ?
(Q653784,P17,c(Q1048835)) (Q578060,P17,c(Q1048835)) (Q554046,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q653784', 'P17', {'concept': 'Q1048835'}] ['Q578060', 'P17', {'concept': 'Q1048835'}] ['Q554046', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { ?n property:P17 ?r . ?r rdf:type ontology:Q1048835 . VALUES ( ?n ) { ( resource:Q653784 ) ( resource:Q578060 ) ( resource:Q554046 ) } }
Embassy of France, Ottawa Longwood House Embassy of France, Berlin
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Embassy of France, Ottawa', 'country', {'concept': 'political territorial entity'}] ['Longwood House', 'country', {'concept': 'political territorial entity'}] ['Embassy of France, Berlin', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { ?n property:country ?r . ?r rdf:type ontology:political_territorial_entity . VALUES ( ?n ) { ( resource:Embassy_of_France,_Ottawa ) ( resource:Longwood_House ) ( resource:Embassy_of_France,_Berlin ) } }
[]
political territorial entity
Q16 Q192184 Q183
SYSTEM
Canada, Saint Helena, Ascension and Tristan da Cunha, Germany
Q16 Q192184 Q183
(Q653784,P17,c(Q1048835)) (Q578060,P17,c(Q1048835)) (Q554046,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
[ANSWERS] are those constructions a part of
['Q653784', 'P17', {'concept': 'Q1048835'}] ['Q578060', 'P17', {'concept': 'Q1048835'}] ['Q554046', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { ?n property:P17 ?r . ?r rdf:type ontology:Q1048835 . VALUES ( ?n ) { ( resource:Q653784 ) ( resource:Q578060 ) ( resource:Q554046 ) } }
Canada Saint Helena, Ascension and Tristan da Cunha Germany
Canada, Saint Helena, Ascension and Tristan da Cunha and Germany are those constructions a part of
Canada Saint Helena, Ascension and Tristan da Cunha Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Embassy of France, Ottawa', 'country', {'concept': 'political territorial entity'}] ['Longwood House', 'country', {'concept': 'political territorial entity'}] ['Embassy of France, Berlin', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { ?n property:country ?r . ?r rdf:type ontology:political_territorial_entity . VALUES ( ?n ) { ( resource:Embassy_of_France,_Ottawa ) ( resource:Longwood_House ) ( resource:Embassy_of_France,_Berlin ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q192184 Q183
P30
Q2221906
USER
Which geographic locations are Canada, Saint Helena, Ascension and Tristan da Cunha and Germany located in ?
(Q16,P30,c(Q2221906)) (Q192184,P30,c(Q2221906)) (Q183,P30,c(Q2221906))
action union
action filter_type
action find
entity Q16
relation P30
type Q2221906
action filter_type
action find
entity Q192184
relation P30
type Q2221906
action filter_type
action find
entity Q183
relation P30
type Q2221906
['Q16', 'P30', {'concept': 'Q2221906'}] ['Q192184', 'P30', {'concept': 'Q2221906'}] ['Q183', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { { resource:Q16 property:P30 ?r . ?r rdf:type ontology:Q2221906 } UNION { resource:Q192184 property:P30 ?r . ?r rdf:type ontology:Q2221906 } }
Canada Saint Helena, Ascension and Tristan da Cunha Germany
action union
action filter_type
action find
entity Canada
relation continent
type geographic location
action filter_type
action find
entity Saint Helena, Ascension and Tristan da Cunha
relation continent
type geographic location
action filter_type
action find
entity Germany
relation continent
type geographic location
['Canada', 'continent', {'concept': 'geographic location'}] ['Saint Helena, Ascension and Tristan da Cunha', 'continent', {'concept': 'geographic location'}] ['Germany', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { { resource:Canada property:continent ?r . ?r rdf:type ontology:geographic_location } UNION { resource:Saint_Helena,_Ascension_and_Tristan_da_Cunha property:continent ?r . ?r rdf:type ontology:geographic_location } }
[]
geographic location
Q49 Q15 Q46
SYSTEM
North America, Africa, Europe
Q49 Q15 Q46
(Q16,P30,c(Q2221906)) (Q192184,P30,c(Q2221906)) (Q183,P30,c(Q2221906))
action union
action filter_type
action find
entity Q16
relation P30
type Q2221906
action filter_type
action find
entity Q192184
relation P30
type Q2221906
action filter_type
action find
entity Q183
relation P30
type Q2221906
[ANSWERS] are Canada, Saint Helena, Ascension and Tristan da Cunha and Germany located in
['Q16', 'P30', {'concept': 'Q2221906'}] ['Q192184', 'P30', {'concept': 'Q2221906'}] ['Q183', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { { resource:Q16 property:P30 ?r . ?r rdf:type ontology:Q2221906 } UNION { resource:Q192184 property:P30 ?r . ?r rdf:type ontology:Q2221906 } }
North America Africa Europe
North America, Africa and Europe are Canada, Saint Helena, Ascension and Tristan da Cunha and Germany located in
North America Africa Europe
action union
action filter_type
action find
entity Canada
relation continent
type geographic location
action filter_type
action find
entity Saint Helena, Ascension and Tristan da Cunha
relation continent
type geographic location
action filter_type
action find
entity Germany
relation continent
type geographic location
['Canada', 'continent', {'concept': 'geographic location'}] ['Saint Helena, Ascension and Tristan da Cunha', 'continent', {'concept': 'geographic location'}] ['Germany', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { { resource:Canada property:continent ?r . ?r rdf:type ontology:geographic_location } UNION { resource:Saint_Helena,_Ascension_and_Tristan_da_Cunha property:continent ?r . ?r rdf:type ontology:geographic_location } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46
P706
Q82794
USER
Which geographic region is that geographic location located on ?
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82794 . resource:Q46 property:P706 ?r }
Europe
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_region . resource:Europe property:located_on_terrain_feature ?r }
[]
geographic region
Clarification for simple ques.
Q49
SYSTEM
Did you mean North America ?
Q49 Q15 Q46
(Q49,P706,c(Q82794)) (Q15,P706,c(Q82794)) (Q46,P706,c(Q82794))
[ANSWER]
['Q49', 'P706', {'concept': 'Q82794'}] ['Q15', 'P706', {'concept': 'Q82794'}] ['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82794 . resource:Q46 property:P706 ?r }
North America Africa Europe
Did you mean North America ?
North America
['North America', 'located on terrain feature', {'concept': 'geographic region'}] ['Africa', 'located on terrain feature', {'concept': 'geographic region'}] ['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_region . resource:Europe property:located_on_terrain_feature ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant Europe. Could you tell me the answer for that?
(Q46,P706,c(Q82794))
Q46
['Q46', 'P706', {'concept': 'Q82794'}]
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
[]
Q39061
SYSTEM
Northern Hemisphere
Q39061
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
That geographic location is located in [ANSWER]
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82794 . resource:Q46 property:P706 ?r }
Northern Hemisphere
That geographic location is located in Northern Hemisphere
Northern Hemisphere
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_region . resource:Europe property:located_on_terrain_feature ?r }
[]