Simple Question (Direct)
Simple Question
Q3089623
P19
Q20667921
USER
Where was Frédéric Berthet born ?
(Q3089623,P19,c(Q20667921))
action filter_type
action find
entity Q3089623
relation P19
type Q20667921
['Q3089623', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3089623 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Frédéric Berthet
action filter_type
action find
entity Frédéric Berthet
relation place of birth
type type of french administrative division
['Frédéric Berthet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Frédéric_Berthet property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48958
SYSTEM
Neuilly-sur-Seine
Q48958
(Q3089623,P19,c(Q20667921))
action filter_type
action find
entity Q3089623
relation P19
type Q20667921
Frédéric Berthet was born in [ANSWER]
['Q3089623', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3089623 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
Frédéric Berthet was born in Neuilly-sur-Seine
Neuilly-sur-Seine
action filter_type
action find
entity Frédéric Berthet
relation place of birth
type type of french administrative division
['Frédéric Berthet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Frédéric_Berthet property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3089623
P21
Q290
USER
Which sex does that person have ?
(Q48958,P21,c(Q290))
action filter_type
action find
entity Q3089623
relation P21
type Q290
['Q48958', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3089623 property:P21 ?u . ?u rdf:type ontology:Q290 }
Frédéric Berthet
action filter_type
action find
entity Frédéric Berthet
relation gender
type sex
['Neuilly-sur-Seine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Frédéric_Berthet property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q48958,P21,c(Q290))
action filter_type
action find
entity Q3089623
relation P21
type Q290
That person has a [ANSWER]
['Q48958', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3089623 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Frédéric Berthet
relation gender
type sex
['Neuilly-sur-Seine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Frédéric_Berthet property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48958
P1376
Q20667921
USER
What have Neuilly-sur-Seine as their capital ?
(Q48958,P1376,c(Q20667921))
action filter_type
action find
entity Q48958
relation P1376
type Q20667921
['Q48958', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q48958 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
action filter_type
action find
entity Neuilly-sur-Seine
relation capital of
type type of french administrative division
['Neuilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Neuilly-sur-Seine property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1524987 Q1524959
SYSTEM
canton of Neuilly-sur-Seine-Nord, canton of Neuilly-sur-Seine-Sud
Q1524987 Q1524959
(Q48958,P1376,c(Q20667921))
action filter_type
action find
entity Q48958
relation P1376
type Q20667921
[ANSWERS] have Neuilly-sur-Seine as their capital
['Q48958', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q48958 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
canton of Neuilly-sur-Seine-Nord canton of Neuilly-sur-Seine-Sud
Canton of Neuilly-sur-Seine-Nord and canton of Neuilly-sur-Seine-Sud have Neuilly-sur-Seine as their capital
canton of Neuilly-sur-Seine-Nord canton of Neuilly-sur-Seine-Sud
action filter_type
action find
entity Neuilly-sur-Seine
relation capital of
type type of french administrative division
['Neuilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Neuilly-sur-Seine property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18101
Q20667921
USER
And also tell me about Ussel?
(Q18101,P1376,c(Q20667921))
action filter_type
action find
entity Q18101
relation P1376
type Q20667921
['Q18101', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q18101 property:P1376 ?g . ?g rdf:type ontology:Q20667921 }
Ussel
action filter_type
action find
entity Ussel
relation capital of
type type of french administrative division
['Ussel', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Ussel property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1308191 Q1493404
SYSTEM
canton of Ussel-Est, canton of Ussel-Ouest
Q1308191 Q1493404
(Q18101,P1376,c(Q20667921))
action filter_type
action find
entity Q18101
relation P1376
type Q20667921
[ANSWERS]
['Q18101', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q18101 property:P1376 ?g . ?g rdf:type ontology:Q20667921 }
canton of Ussel-Est canton of Ussel-Ouest
canton of Ussel-Est canton of Ussel-Ouest
action filter_type
action find
entity Ussel
relation capital of
type type of french administrative division
['Ussel', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Ussel property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1224401
P1376
Q20667921
USER
Are Sarcy the capital of those ones ?
(Q1224401,P1376,Q1308191) (Q1224401,P1376,Q1493404)
action is_in
entity prev_answer
action find
entity Q1224401
relation P1376
['Q1224401', 'P1376', 'Q1308191'] ['Q1224401', 'P1376', 'Q1493404']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1308191 ) ( resource:Q1493404 ) } . resource:Q1224401 property:P1376 ?g }
Sarcy
action is_in
entity prev_answer
action find
entity Sarcy
relation capital of
['Sarcy', 'capital of', 'canton of Ussel-Est'] ['Sarcy', 'capital of', 'canton of Ussel-Ouest']
ASK WHERE { VALUES ( ?g ) { ( resource:canton_of_Ussel-Est ) ( resource:canton_of_Ussel-Ouest ) } . resource:Sarcy property:capital_of ?g }
[]
type of french administrative division
SYSTEM
NO
(Q1224401,P1376,Q1308191) (Q1224401,P1376,Q1493404)
action is_in
entity prev_answer
action find
entity Q1224401
relation P1376
[ANSWER]
['Q1224401', 'P1376', 'Q1308191'] ['Q1224401', 'P1376', 'Q1493404']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1308191 ) ( resource:Q1493404 ) } . resource:Q1224401 property:P1376 ?g }
No
action is_in
entity prev_answer
action find
entity Sarcy
relation capital of
['Sarcy', 'capital of', 'canton of Ussel-Est'] ['Sarcy', 'capital of', 'canton of Ussel-Ouest']
ASK WHERE { VALUES ( ?g ) { ( resource:canton_of_Ussel-Est ) ( resource:canton_of_Ussel-Ouest ) } . resource:Sarcy property:capital_of ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524987
P36
Q20667921
USER
Which french administrative division is associated to canton of Neuilly-sur-Seine-Nord as the capital ?
(Q1524987,P36,c(Q20667921))
action filter_type
action find
entity Q1524987
relation P36
type Q20667921
['Q1524987', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q1524987 property:P36 ?q . ?q rdf:type ontology:Q20667921 }
canton of Neuilly-sur-Seine-Nord
action filter_type
action find
entity canton of Neuilly-sur-Seine-Nord
relation capital
type type of french administrative division
['canton of Neuilly-sur-Seine-Nord', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:canton_of_Neuilly-sur-Seine-Nord property:capital ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48958
SYSTEM
Neuilly-sur-Seine
Q48958
(Q1524987,P36,c(Q20667921))
action filter_type
action find
entity Q1524987
relation P36
type Q20667921
[ANSWER] is associated to canton of [ANSWER]-Nord as the capital
['Q1524987', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q1524987 property:P36 ?q . ?q rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
Neuilly-sur-Seine is associated to canton of Neuilly-sur-Seine-Nord as the capital
Neuilly-sur-Seine
action filter_type
action find
entity canton of Neuilly-sur-Seine-Nord
relation capital
type type of french administrative division
['canton of Neuilly-sur-Seine-Nord', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:canton_of_Neuilly-sur-Seine-Nord property:capital ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48958
P706
Q2385804
USER
Which educational institution has its location as that french administrative division ?
(c(Q2385804),P706,Q48958)
action filter_type
action find_reverse
entity Q48958
relation P706
type Q2385804
[{'concept': 'Q2385804'}, 'P706', 'Q48958']
SELECT DISTINCT ?n WHERE { ?n property:P706 resource:Q48958 . ?n rdf:type ontology:Q2385804 }
Neuilly-sur-Seine
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation located on terrain feature
type educational institution
[{'concept': 'educational institution'}, 'located on terrain feature', 'Neuilly-sur-Seine']
SELECT DISTINCT ?n WHERE { ?n property:located_on_terrain_feature resource:Neuilly-sur-Seine . ?n rdf:type ontology:educational_institution }
[]
educational institution
Q3152816
SYSTEM
Institution Notre-Dame de Sainte-Croix
Q3152816
(c(Q2385804),P706,Q48958)
action filter_type
action find_reverse
entity Q48958
relation P706
type Q2385804
[ANSWER] has its location as that french administrative division
[{'concept': 'Q2385804'}, 'P706', 'Q48958']
SELECT DISTINCT ?n WHERE { ?n property:P706 resource:Q48958 . ?n rdf:type ontology:Q2385804 }
Institution Notre-Dame de Sainte-Croix
Institution Notre-Dame de Sainte-Croix has its location as that french administrative division
Institution Notre-Dame de Sainte-Croix
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation located on terrain feature
type educational institution
[{'concept': 'educational institution'}, 'located on terrain feature', 'Neuilly-sur-Seine']
SELECT DISTINCT ?n WHERE { ?n property:located_on_terrain_feature resource:Neuilly-sur-Seine . ?n rdf:type ontology:educational_institution }
[]