Simple Question (Direct)
Simple Question
Q57440
P19
Q56061
USER
Which administrative territory was Charles I of Württemberg born at ?
(Q57440,P19,c(Q56061))
action filter_type
action find
entity Q57440
relation P19
type Q56061
['Q57440', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q57440 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Charles I of Württemberg
action filter_type
action find
entity Charles I of Württemberg
relation place of birth
type administrative territorial entity
['Charles I of Württemberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Charles_I_of_Württemberg property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1022
SYSTEM
Stuttgart
Q1022
(Q57440,P19,c(Q56061))
action filter_type
action find
entity Q57440
relation P19
type Q56061
Charles I of Württemberg was born in [ANSWER]
['Q57440', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q57440 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Stuttgart
Charles I of Württemberg was born in Stuttgart
Stuttgart
action filter_type
action find
entity Charles I of Württemberg
relation place of birth
type administrative territorial entity
['Charles I of Württemberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Charles_I_of_Württemberg property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57440
P26
Q502895
USER
Which person is married to that one ?
(c(Q502895),P26,Q1022)
action filter_type
action find
entity Q57440
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1022']
SELECT DISTINCT ?p WHERE { resource:Q57440 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Charles I of Württemberg
action filter_type
action find
entity Charles I of Württemberg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Stuttgart']
SELECT DISTINCT ?p WHERE { resource:Charles_I_of_Württemberg property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q234926
SYSTEM
Olga Nikolaevna of Russia
Q234926
(c(Q502895),P26,Q1022)
action filter_type
action find
entity Q57440
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q1022']
SELECT DISTINCT ?p WHERE { resource:Q57440 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Olga Nikolaevna of Russia
Olga Nikolaevna of Russia is married to that one
Olga Nikolaevna of Russia
action filter_type
action find
entity Charles I of Württemberg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Stuttgart']
SELECT DISTINCT ?p WHERE { resource:Charles_I_of_Württemberg property:spouse ?p . ?p rdf:type ontology:common_name }
[]