Simple Question (Direct)
Simple Question
Q273971
P40
Q502895
USER
Which person is an offspring of Natalia Brasova ?
(Q273971,P40,c(Q502895))
action filter_type
action find
entity Q273971
relation P40
type Q502895
['Q273971', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q273971 property:P40 ?z }
Natalia Brasova
action filter_type
action find
entity Natalia Brasova
relation child
type common name
['Natalia Brasova', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Natalia_Brasova property:child ?z }
[]
common name
Q667007
SYSTEM
George Mikhailovich, Count Brasov
Q667007
(Q273971,P40,c(Q502895))
action filter_type
action find
entity Q273971
relation P40
type Q502895
[ANSWER] is an offspring of Natalia Brasova
['Q273971', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q273971 property:P40 ?z }
George Mikhailovich, Count Brasov
George Mikhailovich, Count Brasov is an offspring of Natalia Brasova
George Mikhailovich, Count Brasov
action filter_type
action find
entity Natalia Brasova
relation child
type common name
['Natalia Brasova', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Natalia_Brasova property:child ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q667007
P22
Q502895
USER
Who was the father of that one ?
(Q667007,P22,c(Q502895))
action filter_type
action find
entity Q667007
relation P22
type Q502895
['Q667007', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q667007 property:P22 ?e . ?e rdf:type ontology:Q502895 }
George Mikhailovich, Count Brasov
action filter_type
action find
entity George Mikhailovich, Count Brasov
relation father
type common name
['George Mikhailovich, Count Brasov', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:George_Mikhailovich,_Count_Brasov property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q154444
SYSTEM
Grand Duke Michael Alexandrovich of Russia
Q154444
(Q667007,P22,c(Q502895))
action filter_type
action find
entity Q667007
relation P22
type Q502895
The father of that one was the [ANSWER]
['Q667007', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q667007 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Grand Duke Michael Alexandrovich of Russia
The father of that one was the Grand Duke Michael Alexandrovich of Russia
Grand Duke Michael Alexandrovich of Russia
action filter_type
action find
entity George Mikhailovich, Count Brasov
relation father
type common name
['George Mikhailovich, Count Brasov', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:George_Mikhailovich,_Count_Brasov property:father ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q154444 Q538252
P40
Q502895
USER
Does Gerrit Smith Miller have that one as a child ?
(Q538252,P40,Q154444)
action is_in
entity Q538252
action find
entity Q154444
relation P40
['Q538252', 'P40', 'Q154444']
ASK WHERE { resource:Q154444 property:P40 resource:Q538252 }
Grand Duke Michael Alexandrovich of Russia Gerrit Smith Miller
action is_in
entity Gerrit Smith Miller
action find
entity Grand Duke Michael Alexandrovich of Russia
relation child
['Gerrit Smith Miller', 'child', 'Grand Duke Michael Alexandrovich of Russia']
ASK WHERE { resource:Grand_Duke_Michael_Alexandrovich_of_Russia property:child resource:Gerrit_Smith_Miller }
[]
common name
SYSTEM
NO
(Q538252,P40,Q154444)
action is_in
entity Q538252
action find
entity Q154444
relation P40
[ANSWER]
['Q538252', 'P40', 'Q154444']
ASK WHERE { resource:Q154444 property:P40 resource:Q538252 }
No
action is_in
entity Gerrit Smith Miller
action find
entity Grand Duke Michael Alexandrovich of Russia
relation child
['Gerrit Smith Miller', 'child', 'Grand Duke Michael Alexandrovich of Russia']
ASK WHERE { resource:Grand_Duke_Michael_Alexandrovich_of_Russia property:child resource:Gerrit_Smith_Miller }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154444
P35
Q7188
USER
Which government is headed by Grand Duke Michael Alexandrovich of Russia ?
action filter_type
action find_reverse
entity Q154444
relation P35
type Q7188
SELECT DISTINCT ?f WHERE { ?f property:P35 resource:Q154444 . ?f rdf:type ontology:Q7188 }
Grand Duke Michael Alexandrovich of Russia
action filter_type
action find_reverse
entity Grand Duke Michael Alexandrovich of Russia
relation head of state
type government
SELECT DISTINCT ?f WHERE { ?f property:head_of_state resource:Grand_Duke_Michael_Alexandrovich_of_Russia . ?f rdf:type ontology:government }
[]
government
Q239543
SYSTEM
Russian Provisional Government
Q239543
action filter_type
action find_reverse
entity Q154444
relation P35
type Q7188
The [ANSWER] is headed by Grand Duke Michael Alexandrovich of Russia
SELECT DISTINCT ?f WHERE { ?f property:P35 resource:Q154444 . ?f rdf:type ontology:Q7188 }
Russian Provisional Government
The Russian Provisional Government is headed by Grand Duke Michael Alexandrovich of Russia
Russian Provisional Government
action filter_type
action find_reverse
entity Grand Duke Michael Alexandrovich of Russia
relation head of state
type government
SELECT DISTINCT ?f WHERE { ?f property:head_of_state resource:Grand_Duke_Michael_Alexandrovich_of_Russia . ?f rdf:type ontology:government }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154444
P7
Q502895
USER
Who are Grand Duke Michael Alexandrovich of Russia a brother of ?
(c(Q502895),P7,Q154444)
action filter_type
action find_reverse
entity Q154444
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q154444']
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q154444 . ?e rdf:type ontology:Q502895 }
Grand Duke Michael Alexandrovich of Russia
action filter_type
action find_reverse
entity Grand Duke Michael Alexandrovich of Russia
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Grand Duke Michael Alexandrovich of Russia']
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Grand_Duke_Michael_Alexandrovich_of_Russia . ?e rdf:type ontology:common_name }
[]
common name
Q40787 Q165113 Q170293
SYSTEM
Nicholas II of Russia, Grand Duchess Xenia Alexandrovna of Russia, Grand Duke George Alexandrovich of Russia
Q619068 Q170293 Q163176 Q165113 Q40787
(c(Q502895),P7,Q154444)
action filter_type
action find_reverse
entity Q154444
relation P7
type Q502895
Grand Duke Michael Alexandrovich of Russia a brother of are Emperor [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q154444']
SELECT DISTINCT ?e WHERE { ?e property:P7 resource:Q154444 . ?e rdf:type ontology:Q502895 }
Grand Duke Alexander Alexandrovich of Russia Grand Duke George Alexandrovich of Russia Grand Duchess Olga Alexandrovna of Russia Grand Duchess Xenia Alexandrovna of Russia Nicholas II of Russia
Grand Duke Michael Alexandrovich of Russia a brother of are Emperor Nicholas II of Russia, Grand Duchess Xenia Alexandrovna of Russia and Grand Duke George Alexandrovich of Russia
Nicholas II of Russia Grand Duchess Xenia Alexandrovna of Russia Grand Duke George Alexandrovich of Russia
action filter_type
action find_reverse
entity Grand Duke Michael Alexandrovich of Russia
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Grand Duke Michael Alexandrovich of Russia']
SELECT DISTINCT ?e WHERE { ?e property:brother resource:Grand_Duke_Michael_Alexandrovich_of_Russia . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154444
P509
Q2057971
USER
How did Grand Duke Michael Alexandrovich of Russia die ?
(Q154444,P509,c(Q2057971))
action filter_type
action find
entity Q154444
relation P509
type Q2057971
['Q154444', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { resource:Q154444 property:P509 ?t . ?t rdf:type ontology:Q2057971 }
Grand Duke Michael Alexandrovich of Russia
action filter_type
action find
entity Grand Duke Michael Alexandrovich of Russia
relation cause of death
type health problem
['Grand Duke Michael Alexandrovich of Russia', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { resource:Grand_Duke_Michael_Alexandrovich_of_Russia property:cause_of_death ?t . ?t rdf:type ontology:health_problem }
[]
health problem
Q2140674
SYSTEM
ballistic trauma
Q2140674
(Q154444,P509,c(Q2057971))
action filter_type
action find
entity Q154444
relation P509
type Q2057971
Grand Duke Michael Alexandrovich of Russia died from [ANSWER]
['Q154444', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { resource:Q154444 property:P509 ?t . ?t rdf:type ontology:Q2057971 }
ballistic trauma
Grand Duke Michael Alexandrovich of Russia died from ballistic trauma
ballistic trauma
action filter_type
action find
entity Grand Duke Michael Alexandrovich of Russia
relation cause of death
type health problem
['Grand Duke Michael Alexandrovich of Russia', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { resource:Grand_Duke_Michael_Alexandrovich_of_Russia property:cause_of_death ?t . ?t rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q154444
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q2140674)
action filter_type
action find
entity Q154444
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2140674']
SELECT DISTINCT ?h WHERE { resource:Q154444 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Grand Duke Michael Alexandrovich of Russia
action filter_type
action find
entity Grand Duke Michael Alexandrovich of Russia
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'ballistic trauma']
SELECT DISTINCT ?h WHERE { resource:Grand_Duke_Michael_Alexandrovich_of_Russia property:spouse ?h . ?h rdf:type ontology:common_name }
[]
common name
Q273971
SYSTEM
Natalia Brasova
Q273971
(c(Q502895),P26,Q2140674)
action filter_type
action find
entity Q154444
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2140674']
SELECT DISTINCT ?h WHERE { resource:Q154444 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Natalia Brasova
Natalia Brasova has that one as spouse
Natalia Brasova
action filter_type
action find
entity Grand Duke Michael Alexandrovich of Russia
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'ballistic trauma']
SELECT DISTINCT ?h WHERE { resource:Grand_Duke_Michael_Alexandrovich_of_Russia property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q273971
P19
Q56061
USER
Where was that person born ?
(Q273971,P19,c(Q56061))
action filter_type
action find
entity Q273971
relation P19
type Q56061
['Q273971', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q273971 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Natalia Brasova
action filter_type
action find
entity Natalia Brasova
relation place of birth
type administrative territorial entity
['Natalia Brasova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Natalia_Brasova property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q273971,P19,c(Q56061))
action filter_type
action find
entity Q273971
relation P19
type Q56061
That person was born in [ANSWER]
['Q273971', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q273971 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Moscow
That person was born in Moscow
Moscow
action filter_type
action find
entity Natalia Brasova
relation place of birth
type administrative territorial entity
['Natalia Brasova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Natalia_Brasova property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P355
Q43229
USER
Which organization has that administrative territory as its subsidiary ?
(c(Q43229),P355,Q649)
action filter_type
action find_reverse
entity Q649
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q649']
SELECT DISTINCT ?n WHERE { ?n property:P355 resource:Q649 . ?n rdf:type ontology:Q43229 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Moscow']
SELECT DISTINCT ?n WHERE { ?n property:subsidiary resource:Moscow . ?n rdf:type ontology:organization }
[]
organization
Q17142365
SYSTEM
Infobip
Q17142365
(c(Q43229),P355,Q649)
action filter_type
action find_reverse
entity Q649
relation P355
type Q43229
[ANSWER] has that administrative territory as its subsidiary
[{'concept': 'Q43229'}, 'P355', 'Q649']
SELECT DISTINCT ?n WHERE { ?n property:P355 resource:Q649 . ?n rdf:type ontology:Q43229 }
Infobip
Infobip has that administrative territory as its subsidiary
Infobip
action filter_type
action find_reverse
entity Moscow
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Moscow']
SELECT DISTINCT ?n WHERE { ?n property:subsidiary resource:Moscow . ?n rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q496264 Q273971
P26
Q502895
USER
Which people are married to Natalia Brasova or James Stockdale ?
OR((c(Q502895),P26,Q273971), (c(Q502895),P26,Q496264))
action filter_type
action union
action find_reverse
entity Q273971
relation P26
action find_reverse
entity Q496264
relation P26
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q273971'], [{'concept': 'Q502895'}, 'P26', 'Q496264']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P26 resource:Q273971 } UNION { ?o property:P26 resource:Q496264 } } . ?o rdf:type ontology:Q502895 }
James Stockdale Natalia Brasova
action filter_type
action union
action find_reverse
entity Natalia Brasova
relation spouse
action find_reverse
entity James Stockdale
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Natalia Brasova'], [{'concept': 'common name'}, 'spouse', 'James Stockdale']]}
SELECT DISTINCT ?o WHERE { { { ?o property:spouse resource:Natalia_Brasova } UNION { ?o property:spouse resource:James_Stockdale } } . ?o rdf:type ontology:common_name }
[]
common name
Q7659534 Q154444
SYSTEM
Sybil Stockdale, Grand Duke Michael Alexandrovich of Russia
Q7659534 Q154444
OR((c(Q502895),P26,Q273971), (c(Q502895),P26,Q496264))
action filter_type
action union
action find_reverse
entity Q273971
relation P26
action find_reverse
entity Q496264
relation P26
type Q502895
[ANSWERS] are married to Natalia Brasova or James Stockdale
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q273971'], [{'concept': 'Q502895'}, 'P26', 'Q496264']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P26 resource:Q273971 } UNION { ?o property:P26 resource:Q496264 } } . ?o rdf:type ontology:Q502895 }
Sybil Stockdale Grand Duke Michael Alexandrovich of Russia
Sybil Stockdale and Grand Duke Michael Alexandrovich of Russia are married to Natalia Brasova or James Stockdale
Sybil Stockdale Grand Duke Michael Alexandrovich of Russia
action filter_type
action union
action find_reverse
entity Natalia Brasova
relation spouse
action find_reverse
entity James Stockdale
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Natalia Brasova'], [{'concept': 'common name'}, 'spouse', 'James Stockdale']]}
SELECT DISTINCT ?o WHERE { { { ?o property:spouse resource:Natalia_Brasova } UNION { ?o property:spouse resource:James_Stockdale } } . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7659534
P21
Q290
USER
What is the sex of that person ?
(Q7659534,P21,c(Q290))
action filter_type
action find
entity Q7659534
relation P21
type Q290
['Q7659534', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q7659534 property:P21 ?t }
Sybil Stockdale
action filter_type
action find
entity Sybil Stockdale
relation gender
type sex
['Sybil Stockdale', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Sybil_Stockdale property:gender ?t }
[]
sex
Clarification for simple ques.
Q154444
SYSTEM
Did you mean Grand Duke Michael Alexandrovich of Russia ?
Q7659534 Q154444
(Q7659534,P21,c(Q290)) (Q154444,P21,c(Q290))
[ANSWER]
['Q7659534', 'P21', {'concept': 'Q290'}] ['Q154444', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q7659534 property:P21 ?t }
Sybil Stockdale Grand Duke Michael Alexandrovich of Russia
Did you mean Grand Duke Michael Alexandrovich of Russia ?
Grand Duke Michael Alexandrovich of Russia
['Sybil Stockdale', 'gender', {'concept': 'sex'}] ['Grand Duke Michael Alexandrovich of Russia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Sybil_Stockdale property:gender ?t }
[]
Simple Question (Coreferenced)
USER
No, I meant Sybil Stockdale. Could you tell me the answer for that?
(Q7659534,P21,c(Q290))
Q7659534
['Q7659534', 'P21', {'concept': 'Q290'}]
['Sybil Stockdale', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q7659534,P21,c(Q290))
action filter_type
action find
entity Q7659534
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q7659534', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q7659534 property:P21 ?t }
female
The sex of that person is the female
female
action filter_type
action find
entity Sybil Stockdale
relation gender
type sex
['Sybil Stockdale', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Sybil_Stockdale property:gender ?t }
[]