Simple Question (Direct)
Simple Question
Q89687
P7
Q502895
USER
Who has Karl Woermann as their brother ?
(Q89687,P7,c(Q502895))
action filter_type
action find
entity Q89687
relation P7
type Q502895
['Q89687', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q89687 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Karl Woermann
action filter_type
action find
entity Karl Woermann
relation brother
type common name
['Karl Woermann', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Karl_Woermann property:brother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q75083
SYSTEM
Adolph Woermann
Q75083
(Q89687,P7,c(Q502895))
action filter_type
action find
entity Q89687
relation P7
type Q502895
[ANSWER] has Karl Woermann as their brother
['Q89687', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q89687 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Adolph Woermann
Adolph Woermann has Karl Woermann as their brother
Adolph Woermann
action filter_type
action find
entity Karl Woermann
relation brother
type common name
['Karl Woermann', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Karl_Woermann property:brother ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q75083
P102
Q7210356
USER
Which party does that person belong to ?
(Q75083,P102,c(Q7210356))
action filter_type
action find
entity Q75083
relation P102
type Q7210356
['Q75083', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q75083 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Adolph Woermann
action filter_type
action find
entity Adolph Woermann
relation member of political party
type political organization
['Adolph Woermann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Adolph_Woermann property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q694299
SYSTEM
National Liberal Party
Q694299
(Q75083,P102,c(Q7210356))
action filter_type
action find
entity Q75083
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q75083', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q75083 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
National Liberal Party
That person belongs to National Liberal Party
National Liberal Party
action filter_type
action find
entity Adolph Woermann
relation member of political party
type political organization
['Adolph Woermann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Adolph_Woermann property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q75083
P40
Q502895
USER
Which person is an offspring of Adolph Woermann ?
(Q75083,P40,c(Q502895))
action filter_type
action find
entity Q75083
relation P40
type Q502895
['Q75083', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q75083 property:P40 ?f }
Adolph Woermann
action filter_type
action find
entity Adolph Woermann
relation child
type common name
['Adolph Woermann', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Adolph_Woermann property:child ?f }
[]
common name
Q1593355
SYSTEM
Hedwig Jaenichen-Woermann
Q1593355
(Q75083,P40,c(Q502895))
action filter_type
action find
entity Q75083
relation P40
type Q502895
[ANSWER] is an offspring of Adolph Woermann
['Q75083', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q75083 property:P40 ?f }
Hedwig Jaenichen-Woermann
Hedwig Jaenichen-Woermann is an offspring of Adolph Woermann
Hedwig Jaenichen-Woermann
action filter_type
action find
entity Adolph Woermann
relation child
type common name
['Adolph Woermann', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Adolph_Woermann property:child ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12285259
Q502895
USER
And how about Lucius Septimius Severus?
(Q12285259,P40,c(Q502895))
action filter_type
action find
entity Q12285259
relation P40
type Q502895
['Q12285259', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q12285259 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Lucius Septimius Severus
action filter_type
action find
entity Lucius Septimius Severus
relation child
type common name
['Lucius Septimius Severus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Lucius_Septimius_Severus property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1236655
SYSTEM
Publius Septimius Geta
Q1236655
(Q12285259,P40,c(Q502895))
action filter_type
action find
entity Q12285259
relation P40
type Q502895
[ANSWER]
['Q12285259', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q12285259 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Publius Septimius Geta
Publius Septimius Geta
action filter_type
action find
entity Lucius Septimius Severus
relation child
type common name
['Lucius Septimius Severus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Lucius_Septimius_Severus property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1236655
P2348
Q3024240
USER
Which former country did that person belong to ?
(Q1236655,P2348,c(Q3024240))
action filter_type
action find
entity Q1236655
relation P2348
type Q3024240
['Q1236655', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?d WHERE { resource:Q1236655 property:P2348 ?d . ?d rdf:type ontology:Q3024240 }
Publius Septimius Geta
action filter_type
action find
entity Publius Septimius Geta
relation period
type former country
['Publius Septimius Geta', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?d WHERE { resource:Publius_Septimius_Geta property:period ?d . ?d rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q1236655,P2348,c(Q3024240))
action filter_type
action find
entity Q1236655
relation P2348
type Q3024240
That person belonged to the [ANSWER]
['Q1236655', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?d WHERE { resource:Q1236655 property:P2348 ?d . ?d rdf:type ontology:Q3024240 }
Roman Empire
That person belonged to the Roman Empire
Roman Empire
action filter_type
action find
entity Publius Septimius Geta
relation period
type former country
['Publius Septimius Geta', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?d WHERE { resource:Publius_Septimius_Geta property:period ?d . ?d rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1236655
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q2277)
action filter_type
action find_reverse
entity Q1236655
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2277']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P22 resource:Q1236655 }
Publius Septimius Geta
action filter_type
action find_reverse
entity Publius Septimius Geta
relation father
type common name
[{'concept': 'common name'}, 'father', 'Roman Empire']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:father resource:Publius_Septimius_Geta }
[]
common name
Q537421 Q1442 Q12293587
SYSTEM
Publius Septimius Geta, Septimius Severus, Septimia Octavilla
Q537421 Q1442 Q12293587
(c(Q502895),P22,Q2277)
action filter_type
action find_reverse
entity Q1236655
relation P22
type Q502895
[ANSWERS] have that one as father
[{'concept': 'Q502895'}, 'P22', 'Q2277']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P22 resource:Q1236655 }
Publius Septimius Geta Septimius Severus Septimia Octavilla
Publius Septimius Geta, Septimius Severus and Septimia Octavilla have that one as father
Publius Septimius Geta Septimius Severus Septimia Octavilla
action filter_type
action find_reverse
entity Publius Septimius Geta
relation father
type common name
[{'concept': 'common name'}, 'father', 'Roman Empire']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:father resource:Publius_Septimius_Geta }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1442
P26
Q502895
USER
Who is married to that one ?
(Q1442,P26,c(Q502895))
action filter_type
action find
entity Q1442
relation P26
type Q502895
['Q1442', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1442 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Septimius Severus
action filter_type
action find
entity Septimius Severus
relation spouse
type common name
['Septimius Severus', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Septimius_Severus property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q12293587
SYSTEM
Did you mean Septimia Octavilla ?
Q537421 Q1442 Q12293587
(Q537421,P26,c(Q502895)) (Q1442,P26,c(Q502895)) (Q12293587,P26,c(Q502895))
[ANSWER]
['Q537421', 'P26', {'concept': 'Q502895'}] ['Q1442', 'P26', {'concept': 'Q502895'}] ['Q12293587', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1442 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Publius Septimius Geta Septimius Severus Septimia Octavilla
Did you mean Septimia Octavilla ?
Septimia Octavilla
['Publius Septimius Geta', 'spouse', {'concept': 'common name'}] ['Septimius Severus', 'spouse', {'concept': 'common name'}] ['Septimia Octavilla', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Septimius_Severus property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Septimius Severus. Could you tell me the answer for that?
(Q1442,P26,c(Q502895))
Q1442
['Q1442', 'P26', {'concept': 'Q502895'}]
['Septimius Severus', 'spouse', {'concept': 'common name'}]
[]
Q229246
SYSTEM
Julia Domna
Q229246
(Q1442,P26,c(Q502895))
action filter_type
action find
entity Q1442
relation P26
type Q502895
[ANSWER] is married to that one
['Q1442', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1442 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Julia Domna
Julia Domna is married to that one
Julia Domna
action filter_type
action find
entity Septimius Severus
relation spouse
type common name
['Septimius Severus', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Septimius_Severus property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q229246 Q837855
P2348
Q3024240
USER
Did that person occur Qi ?
(Q229246,P2348,Q837855)
action is_in
entity Q837855
action find
entity Q229246
relation P2348
['Q229246', 'P2348', 'Q837855']
ASK WHERE { resource:Q229246 property:P2348 resource:Q837855 }
Julia Domna Qi
action is_in
entity Qi
action find
entity Julia Domna
relation period
['Julia Domna', 'period', 'Qi']
ASK WHERE { resource:Julia_Domna property:period resource:Qi }
[]
former country
SYSTEM
NO
(Q229246,P2348,Q837855)
action is_in
entity Q837855
action find
entity Q229246
relation P2348
[ANSWER]
['Q229246', 'P2348', 'Q837855']
ASK WHERE { resource:Q229246 property:P2348 resource:Q837855 }
No
action is_in
entity Qi
action find
entity Julia Domna
relation period
['Julia Domna', 'period', 'Qi']
ASK WHERE { resource:Julia_Domna property:period resource:Qi }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1236655 Q1442 Q5322059
P40
Q502895
USER
Does Publius Septimius Geta have Septimius Severus and E. Merrill Root as an offspring ?
(Q1236655,P40,Q1442) (Q1236655,P40,Q5322059)
action is_in
entity Q1236655
action intersection
action find_reverse
entity Q1442
relation P40
action find_reverse
entity Q5322059
relation P40
['Q1236655', 'P40', 'Q1442'] ['Q1236655', 'P40', 'Q5322059']
ASK WHERE { resource:Q1236655 property:P40 resource:Q5322059 . resource:Q1236655 property:P40 resource:Q1442 }
Publius Septimius Geta Septimius Severus E. Merrill Root
action is_in
entity Publius Septimius Geta
action intersection
action find_reverse
entity Septimius Severus
relation child
action find_reverse
entity E. Merrill Root
relation child
['Publius Septimius Geta', 'child', 'Septimius Severus'] ['Publius Septimius Geta', 'child', 'E. Merrill Root']
ASK WHERE { resource:Publius_Septimius_Geta property:child resource:E._Merrill_Root . resource:Publius_Septimius_Geta property:child resource:Septimius_Severus }
[]
common name
SYSTEM
YES and NO respectively
(Q1236655,P40,Q1442) (Q1236655,P40,Q5322059)
action is_in
entity Q1236655
action intersection
action find_reverse
entity Q1442
relation P40
action find_reverse
entity Q5322059
relation P40
[ANSWER]
['Q1236655', 'P40', 'Q1442'] ['Q1236655', 'P40', 'Q5322059']
ASK WHERE { resource:Q1236655 property:P40 resource:Q5322059 . resource:Q1236655 property:P40 resource:Q1442 }
YES and NO respectively
action is_in
entity Publius Septimius Geta
action intersection
action find_reverse
entity Septimius Severus
relation child
action find_reverse
entity E. Merrill Root
relation child
['Publius Septimius Geta', 'child', 'Septimius Severus'] ['Publius Septimius Geta', 'child', 'E. Merrill Root']
ASK WHERE { resource:Publius_Septimius_Geta property:child resource:E._Merrill_Root . resource:Publius_Septimius_Geta property:child resource:Septimius_Severus }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1442 Q26698077
P39
Q12737077
USER
Was mayor of Castellanos de Zapardiel a position for which Septimius Severus was appointed ?
(Q1442,P39,Q26698077)
action is_in
entity Q26698077
action find
entity Q1442
relation P39
['Q1442', 'P39', 'Q26698077']
ASK WHERE { resource:Q1442 property:P39 resource:Q26698077 }
Septimius Severus mayor of Castellanos de Zapardiel
action is_in
entity mayor of Castellanos de Zapardiel
action find
entity Septimius Severus
relation position held
['Septimius Severus', 'position held', 'mayor of Castellanos de Zapardiel']
ASK WHERE { resource:Septimius_Severus property:position_held resource:mayor_of_Castellanos_de_Zapardiel }
[]
occupation
SYSTEM
NO
(Q1442,P39,Q26698077)
action is_in
entity Q26698077
action find
entity Q1442
relation P39
[ANSWER]
['Q1442', 'P39', 'Q26698077']
ASK WHERE { resource:Q1442 property:P39 resource:Q26698077 }
No
action is_in
entity mayor of Castellanos de Zapardiel
action find
entity Septimius Severus
relation position held
['Septimius Severus', 'position held', 'mayor of Castellanos de Zapardiel']
ASK WHERE { resource:Septimius_Severus property:position_held resource:mayor_of_Castellanos_de_Zapardiel }
[]