Simple Question (Direct)
Simple Question
Q3242110
P7
Q502895
USER
Which people are the brothers of Lioubov Blok ?
(Q3242110,P7,c(Q502895))
action filter_type
action find
entity Q3242110
relation P7
type Q502895
['Q3242110', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3242110 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Lioubov Blok
action filter_type
action find
entity Lioubov Blok
relation brother
type common name
['Lioubov Blok', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Lioubov_Blok property:brother ?s . ?s rdf:type ontology:common_name }
[]
common name
Q4290365 Q15720339
SYSTEM
Vasily Mendeleev, Vladimir Mendeleev
Q4290365 Q15720339
(Q3242110,P7,c(Q502895))
action filter_type
action find
entity Q3242110
relation P7
type Q502895
[ANSWERS] are the brothers of Lioubov Blok
['Q3242110', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3242110 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Vasily Mendeleev Vladimir Mendeleev
Vasily Mendeleev and Vladimir Mendeleev are the brothers of Lioubov Blok
Vasily Mendeleev Vladimir Mendeleev
action filter_type
action find
entity Lioubov Blok
relation brother
type common name
['Lioubov Blok', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Lioubov_Blok property:brother ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3242110
P9
Q502895
USER
Who are Lioubov Blok a sister of ?
(c(Q502895),P9,Q3242110)
action filter_type
action find_reverse
entity Q3242110
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q3242110']
SELECT DISTINCT ?r WHERE { ?r property:P9 resource:Q3242110 . ?r rdf:type ontology:Q502895 }
Lioubov Blok
action filter_type
action find_reverse
entity Lioubov Blok
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Lioubov Blok']
SELECT DISTINCT ?r WHERE { ?r property:sister resource:Lioubov_Blok . ?r rdf:type ontology:common_name }
[]
common name
Q4290365 Q15720339
SYSTEM
Vasily Mendeleev, Vladimir Mendeleev
Q4290365 Q15720339
(c(Q502895),P9,Q3242110)
action filter_type
action find_reverse
entity Q3242110
relation P9
type Q502895
Lioubov Blok a sister of are the [ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q3242110']
SELECT DISTINCT ?r WHERE { ?r property:P9 resource:Q3242110 . ?r rdf:type ontology:Q502895 }
Vasily Mendeleev Vladimir Mendeleev
Lioubov Blok a sister of are the Vasily Mendeleev and Vladimir Mendeleev
Vasily Mendeleev Vladimir Mendeleev
action filter_type
action find_reverse
entity Lioubov Blok
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Lioubov Blok']
SELECT DISTINCT ?r WHERE { ?r property:sister resource:Lioubov_Blok . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4290365
P21
Q290
USER
What is the sex of that person ?
(Q4290365,P21,c(Q290))
action filter_type
action find
entity Q4290365
relation P21
type Q290
['Q4290365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4290365 property:P21 ?z . ?z rdf:type ontology:Q290 }
Vasily Mendeleev
action filter_type
action find
entity Vasily Mendeleev
relation gender
type sex
['Vasily Mendeleev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Vasily_Mendeleev property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q15720339
SYSTEM
Did you mean Vladimir Mendeleev ?
Q4290365 Q15720339
(Q4290365,P21,c(Q290)) (Q15720339,P21,c(Q290))
[ANSWER]
['Q4290365', 'P21', {'concept': 'Q290'}] ['Q15720339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4290365 property:P21 ?z . ?z rdf:type ontology:Q290 }
Vasily Mendeleev Vladimir Mendeleev
Did you mean Vladimir Mendeleev ?
Vladimir Mendeleev
['Vasily Mendeleev', 'gender', {'concept': 'sex'}] ['Vladimir Mendeleev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Vasily_Mendeleev property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Vasily Mendeleev. Could you tell me the answer for that?
(Q4290365,P21,c(Q290))
Q4290365
['Q4290365', 'P21', {'concept': 'Q290'}]
['Vasily Mendeleev', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q4290365,P21,c(Q290))
action filter_type
action find
entity Q4290365
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q4290365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4290365 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Vasily Mendeleev
relation gender
type sex
['Vasily Mendeleev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Vasily_Mendeleev property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7650683 Q4290365
P22
Q502895
USER
Which people were the father of Vasily Mendeleev or Suzan Sabancı Dinçer ?
OR((Q4290365,P22,c(Q502895)), (Q7650683,P22,c(Q502895)))
action filter_type
action union
action find
entity Q4290365
relation P22
action find
entity Q7650683
relation P22
type Q502895
{'OR': [['Q4290365', 'P22', {'concept': 'Q502895'}], ['Q7650683', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . { ?d property:P22 ?r . VALUES ( ?d ) { ( resource:Q4290365 ) ( resource:Q7650683 ) } } }
Suzan Sabancı Dinçer Vasily Mendeleev
action filter_type
action union
action find
entity Vasily Mendeleev
relation father
action find
entity Suzan Sabancı Dinçer
relation father
type common name
{'OR': [['Vasily Mendeleev', 'father', {'concept': 'common name'}], ['Suzan Sabancı Dinçer', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . { ?d property:father ?r . VALUES ( ?d ) { ( resource:Vasily_Mendeleev ) ( resource:Suzan_Sabancı_Dinçer ) } } }
[]
common name
Q9106 Q5395312
SYSTEM
Dimitri Mendeléyev, Erol Sabancı
Q9106 Q5395312
OR((Q4290365,P22,c(Q502895)), (Q7650683,P22,c(Q502895)))
action filter_type
action union
action find
entity Q4290365
relation P22
action find
entity Q7650683
relation P22
type Q502895
[ANSWERS] were the father of Vasily Mendeleev or Suzan Sabancı Dinçer
{'OR': [['Q4290365', 'P22', {'concept': 'Q502895'}], ['Q7650683', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . { ?d property:P22 ?r . VALUES ( ?d ) { ( resource:Q4290365 ) ( resource:Q7650683 ) } } }
Dimitri Mendeléyev Erol Sabancı
Dimitri Mendeléyev and Erol Sabancı were the father of Vasily Mendeleev or Suzan Sabancı Dinçer
Dimitri Mendeléyev Erol Sabancı
action filter_type
action union
action find
entity Vasily Mendeleev
relation father
action find
entity Suzan Sabancı Dinçer
relation father
type common name
{'OR': [['Vasily Mendeleev', 'father', {'concept': 'common name'}], ['Suzan Sabancı Dinçer', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . { ?d property:father ?r . VALUES ( ?d ) { ( resource:Vasily_Mendeleev ) ( resource:Suzan_Sabancı_Dinçer ) } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9106 Q5395312
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q9106,P106,c(Q12737077)) (Q5395312,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q9106', 'P106', {'concept': 'Q12737077'}] ['Q5395312', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . VALUES ( ?d ) { ( resource:Q9106 ) ( resource:Q5395312 ) } . ?d property:P106 ?w }
Dimitri Mendeléyev Erol Sabancı
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Dimitri Mendeléyev', 'occupation', {'concept': 'occupation'}] ['Erol Sabancı', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . VALUES ( ?d ) { ( resource:Dimitri_Mendeléyev ) ( resource:Erol_Sabancı ) } . ?d property:occupation ?w }
[]
occupation
Q1622272 Q806798 Q169470
SYSTEM
university teacher, banker, physicist
Q169470 Q188094 Q1622272 Q593644 Q806798 Q43845
(Q9106,P106,c(Q12737077)) (Q5395312,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The [ANSWERS] have those people as his/her 's career
['Q9106', 'P106', {'concept': 'Q12737077'}] ['Q5395312', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . VALUES ( ?d ) { ( resource:Q9106 ) ( resource:Q5395312 ) } . ?d property:P106 ?w }
physicist economist university teacher chemist banker businessperson
The university teacher, banker and physicist have those people as his/her 's career
university teacher banker physicist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Dimitri Mendeléyev', 'occupation', {'concept': 'occupation'}] ['Erol Sabancı', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . VALUES ( ?d ) { ( resource:Dimitri_Mendeléyev ) ( resource:Erol_Sabancı ) } . ?d property:occupation ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q169470
P425
Q336
USER
Who has that one as the associated field of occupation ?
(Q169470,P425,c(Q336))
action filter_type
action find
entity Q169470
relation P425
type Q336
['Q169470', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q336 . resource:Q169470 property:P425 ?m }
physicist
action filter_type
action find
entity physicist
relation field of this occupation
type science
['physicist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:science . resource:physicist property:field_of_this_occupation ?m }
[]
science
Clarification for simple ques.
Q806798
SYSTEM
Did you mean banker ?
Q1622272 Q806798 Q169470
(Q1622272,P425,c(Q336)) (Q806798,P425,c(Q336)) (Q169470,P425,c(Q336))
[ANSWER]
['Q1622272', 'P425', {'concept': 'Q336'}] ['Q806798', 'P425', {'concept': 'Q336'}] ['Q169470', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q336 . resource:Q169470 property:P425 ?m }
university teacher banker physicist
Did you mean banker ?
banker
['university teacher', 'field of this occupation', {'concept': 'science'}] ['banker', 'field of this occupation', {'concept': 'science'}] ['physicist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:science . resource:physicist property:field_of_this_occupation ?m }
[]
Simple Question (Coreferenced)
USER
No, I meant physicist. Could you tell me the answer for that?
(Q169470,P425,c(Q336))
Q169470
['Q169470', 'P425', {'concept': 'Q336'}]
['physicist', 'field of this occupation', {'concept': 'science'}]
[]
Q413
SYSTEM
physics
Q413
(Q169470,P425,c(Q336))
action filter_type
action find
entity Q169470
relation P425
type Q336
[ANSWER] has that one as the associated field of occupation
['Q169470', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q336 . resource:Q169470 property:P425 ?m }
physics
Physics has that one as the associated field of occupation
physics
action filter_type
action find
entity physicist
relation field of this occupation
type science
['physicist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:science . resource:physicist property:field_of_this_occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q11204
USER
Which legislature governs Germany ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?w WHERE { resource:Q183 property:P194 ?w . ?w rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?w WHERE { resource:Germany property:legislative_body ?w . ?w rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
[ANSWER] governs Germany
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?w WHERE { resource:Q183 property:P194 ?w . ?w rdf:type ontology:Q11204 }
Bundesrat
Bundesrat governs Germany
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?w WHERE { resource:Germany property:legislative_body ?w . ?w rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9106
P138
Q17444909
USER
Which astronomical object type has Dimitri Mendeléyev as its namesake ?
(c(Q17444909),P138,Q9106)
action filter_type
action find_reverse
entity Q9106
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q9106']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q9106 . ?k rdf:type ontology:Q17444909 }
Dimitri Mendeléyev
action filter_type
action find_reverse
entity Dimitri Mendeléyev
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Dimitri Mendeléyev']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Dimitri_Mendeléyev . ?k rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q512077
SYSTEM
2769 Mendeleev
Q512077
(c(Q17444909),P138,Q9106)
action filter_type
action find_reverse
entity Q9106
relation P138
type Q17444909
8 [ANSWER] has Dimitri Mendeléyev as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q9106']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q9106 . ?k rdf:type ontology:Q17444909 }
2769 Mendeleev
8 2769 Mendeleev has Dimitri Mendeléyev as its namesake
2769 Mendeleev
action filter_type
action find_reverse
entity Dimitri Mendeléyev
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Dimitri Mendeléyev']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Dimitri_Mendeléyev . ?k rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q512077
P61
Q502895
USER
Which person discovered or invented that astronomical object type ?
(Q512077,P61,c(Q502895))
action filter_type
action find
entity Q512077
relation P61
type Q502895
['Q512077', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q512077 property:P61 ?v . ?v rdf:type ontology:Q502895 }
2769 Mendeleev
action filter_type
action find
entity 2769 Mendeleev
relation discoverer or inventor
type common name
['2769 Mendeleev', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:2769_Mendeleev property:discoverer_or_inventor ?v . ?v rdf:type ontology:common_name }
[]
common name
Q318611
SYSTEM
Nikolai Chernykh
Q318611
(Q512077,P61,c(Q502895))
action filter_type
action find
entity Q512077
relation P61
type Q502895
[ANSWER] discovered or invented that astronomical object type
['Q512077', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q512077 property:P61 ?v . ?v rdf:type ontology:Q502895 }
Nikolai Chernykh
Nikolai Chernykh discovered or invented that astronomical object type
Nikolai Chernykh
action filter_type
action find
entity 2769 Mendeleev
relation discoverer or inventor
type common name
['2769 Mendeleev', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:2769_Mendeleev property:discoverer_or_inventor ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q318611 Q7696187
P27
Q15617994
USER
Is Telegino, Oryol Oblast the native country of that person ?
(Q318611,P27,Q7696187)
action is_in
entity Q7696187
action find
entity Q318611
relation P27
['Q318611', 'P27', 'Q7696187']
ASK WHERE { resource:Q318611 property:P27 resource:Q7696187 }
Nikolai Chernykh Telegino, Oryol Oblast
action is_in
entity Telegino, Oryol Oblast
action find
entity Nikolai Chernykh
relation country of citizenship
['Nikolai Chernykh', 'country of citizenship', 'Telegino, Oryol Oblast']
ASK WHERE { resource:Nikolai_Chernykh property:country_of_citizenship resource:Telegino,_Oryol_Oblast }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q318611,P27,Q7696187)
action is_in
entity Q7696187
action find
entity Q318611
relation P27
[ANSWER]
['Q318611', 'P27', 'Q7696187']
ASK WHERE { resource:Q318611 property:P27 resource:Q7696187 }
No
action is_in
entity Telegino, Oryol Oblast
action find
entity Nikolai Chernykh
relation country of citizenship
['Nikolai Chernykh', 'country of citizenship', 'Telegino, Oryol Oblast']
ASK WHERE { resource:Nikolai_Chernykh property:country_of_citizenship resource:Telegino,_Oryol_Oblast }
[]