Simple Question (Direct)
Simple Question
Q468676
P172
Q2472587
USER
What is the ethnicity of Rebecca Walker ?
(Q468676,P172,c(Q2472587))
action filter_type
action find
entity Q468676
relation P172
type Q2472587
['Q468676', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?m WHERE { resource:Q468676 property:P172 ?m . ?m rdf:type ontology:Q2472587 }
Rebecca Walker
action filter_type
action find
entity Rebecca Walker
relation ethnic group
type people
['Rebecca Walker', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?m WHERE { resource:Rebecca_Walker property:ethnic_group ?m . ?m rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q468676,P172,c(Q2472587))
action filter_type
action find
entity Q468676
relation P172
type Q2472587
The ethnicity of Rebecca Walker is of [ANSWER]
['Q468676', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?m WHERE { resource:Q468676 property:P172 ?m . ?m rdf:type ontology:Q2472587 }
African Americans
The ethnicity of Rebecca Walker is of African Americans
African Americans
action filter_type
action find
entity Rebecca Walker
relation ethnic group
type people
['Rebecca Walker', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?m WHERE { resource:Rebecca_Walker property:ethnic_group ?m . ?m rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q468676
P25
Q502895
USER
Who was the mother of Rebecca Walker ?
(Q468676,P25,c(Q502895))
action filter_type
action find
entity Q468676
relation P25
type Q502895
['Q468676', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q468676 property:P25 ?d . ?d rdf:type ontology:Q502895 }
Rebecca Walker
action filter_type
action find
entity Rebecca Walker
relation mother
type common name
['Rebecca Walker', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Rebecca_Walker property:mother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q215868
SYSTEM
Alice Walker
Q215868
(Q468676,P25,c(Q502895))
action filter_type
action find
entity Q468676
relation P25
type Q502895
The mother of Rebecca Walker was named [ANSWER]
['Q468676', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q468676 property:P25 ?d . ?d rdf:type ontology:Q502895 }
Alice Walker
The mother of Rebecca Walker was named Alice Walker
Alice Walker
action filter_type
action find
entity Rebecca Walker
relation mother
type common name
['Rebecca Walker', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Rebecca_Walker property:mother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q468676
P734
Q82799
USER
Who has the surname Rebecca Walker ?
(Q468676,P734,c(Q82799))
action filter_type
action find
entity Q468676
relation P734
type Q82799
['Q468676', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q468676 property:P734 ?a }
Rebecca Walker
action filter_type
action find
entity Rebecca Walker
relation family name
type name
['Rebecca Walker', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Rebecca_Walker property:family_name ?a }
[]
name
Q1158605
SYSTEM
Walker
Q1158605
(Q468676,P734,c(Q82799))
action filter_type
action find
entity Q468676
relation P734
type Q82799
[ANSWER] has the surname Rebecca [ANSWER]
['Q468676', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q468676 property:P734 ?a }
Walker
Walker has the surname Rebecca Walker
Walker
action filter_type
action find
entity Rebecca Walker
relation family name
type name
['Rebecca Walker', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Rebecca_Walker property:family_name ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3715441
Q82799
USER
And how about Dror Cohen?
(Q3715441,P734,c(Q82799))
action filter_type
action find
entity Q3715441
relation P734
type Q82799
['Q3715441', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q3715441 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Dror Cohen
action filter_type
action find
entity Dror Cohen
relation family name
type name
['Dror Cohen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Dror_Cohen property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q1158586
SYSTEM
Cohen
Q1158586
(Q3715441,P734,c(Q82799))
action filter_type
action find
entity Q3715441
relation P734
type Q82799
[ANSWER]
['Q3715441', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q3715441 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Cohen
Cohen
action filter_type
action find
entity Dror Cohen
relation family name
type name
['Dror Cohen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Dror_Cohen property:family_name ?l . ?l rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1158586 Q6047309
P407
Q34770
USER
Is Central Nahuatl the language of work for Cohen ?
(Q1158586,P407,Q6047309)
action is_in
entity Q6047309
action find
entity Q1158586
relation P407
['Q1158586', 'P407', 'Q6047309']
ASK WHERE { resource:Q1158586 property:P407 resource:Q6047309 }
Cohen Central Nahuatl
action is_in
entity Central Nahuatl
action find
entity Cohen
relation language of work or name
['Cohen', 'language of work or name', 'Central Nahuatl']
ASK WHERE { resource:Cohen property:language_of_work_or_name resource:Central_Nahuatl }
[]
language
SYSTEM
NO
(Q1158586,P407,Q6047309)
action is_in
entity Q6047309
action find
entity Q1158586
relation P407
[ANSWER]
['Q1158586', 'P407', 'Q6047309']
ASK WHERE { resource:Q1158586 property:P407 resource:Q6047309 }
No
action is_in
entity Central Nahuatl
action find
entity Cohen
relation language of work or name
['Cohen', 'language of work or name', 'Central Nahuatl']
ASK WHERE { resource:Cohen property:language_of_work_or_name resource:Central_Nahuatl }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8074839 Q468676
P27
Q15617994
USER
Which administrative territories do Rebecca Walker or Zsolt Szekeres belong to ?
OR((Q468676,P27,c(Q15617994)), (Q8074839,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q468676
relation P27
action find
entity Q8074839
relation P27
type Q15617994
{'OR': [['Q468676', 'P27', {'concept': 'Q15617994'}], ['Q8074839', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q468676 property:P27 ?r } UNION { resource:Q8074839 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Zsolt Szekeres Rebecca Walker
action filter_type
action union
action find
entity Rebecca Walker
relation country of citizenship
action find
entity Zsolt Szekeres
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rebecca Walker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zsolt Szekeres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Rebecca_Walker property:country_of_citizenship ?r } UNION { resource:Zsolt_Szekeres property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q30
SYSTEM
Hungary, United States of America
Q28 Q30
OR((Q468676,P27,c(Q15617994)), (Q8074839,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q468676
relation P27
action find
entity Q8074839
relation P27
type Q15617994
Rebecca Walker or Zsolt Szekeres belong to [ANSWERS]
{'OR': [['Q468676', 'P27', {'concept': 'Q15617994'}], ['Q8074839', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q468676 property:P27 ?r } UNION { resource:Q8074839 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Hungary United States of America
Rebecca Walker or Zsolt Szekeres belong to Hungary and United States of America
Hungary United States of America
action filter_type
action union
action find
entity Rebecca Walker
relation country of citizenship
action find
entity Zsolt Szekeres
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rebecca Walker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zsolt Szekeres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Rebecca_Walker property:country_of_citizenship ?r } UNION { resource:Zsolt_Szekeres property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1173216
P27
Q502895
USER
Are Dave Gould a citizen of those administrative territories ?
(Q1173216,P27,Q28) (Q1173216,P27,Q30)
action is_in
entity prev_answer
action find
entity Q1173216
relation P27
['Q1173216', 'P27', 'Q28'] ['Q1173216', 'P27', 'Q30']
ASK WHERE { resource:Q1173216 property:P27 ?s . VALUES ( ?s ) { ( resource:Q28 ) ( resource:Q30 ) } }
Dave Gould
action is_in
entity prev_answer
action find
entity Dave Gould
relation country of citizenship
['Dave Gould', 'country of citizenship', 'Hungary'] ['Dave Gould', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Dave_Gould property:country_of_citizenship ?s . VALUES ( ?s ) { ( resource:Hungary ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
YES
(Q1173216,P27,Q28) (Q1173216,P27,Q30)
action is_in
entity prev_answer
action find
entity Q1173216
relation P27
[ANSWER]
['Q1173216', 'P27', 'Q28'] ['Q1173216', 'P27', 'Q30']
ASK WHERE { resource:Q1173216 property:P27 ?s . VALUES ( ?s ) { ( resource:Q28 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Dave Gould
relation country of citizenship
['Dave Gould', 'country of citizenship', 'Hungary'] ['Dave Gould', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Dave_Gould property:country_of_citizenship ?s . VALUES ( ?s ) { ( resource:Hungary ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P530
Q15617994
USER
Which administrative territories have diplomatic relations with Hungary ?
(Q28,P530,c(Q15617994))
action filter_type
action find
entity Q28
relation P530
type Q15617994
['Q28', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q28 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Hungary
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Hungary property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q38
SYSTEM
Serbia, Italy
Q403 Q38
(Q28,P530,c(Q15617994))
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with Hungary
['Q28', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q28 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Serbia Italy
Serbia and Italy have diplomatic relations with Hungary
Serbia Italy
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
['Hungary', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Hungary property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q403 Q38
P17
Q15617994
USER
Which administrative territories are those ones located in ?
(Q403,P17,c(Q15617994)) (Q38,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q403', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . VALUES ( ?i ) { ( resource:Q403 ) ( resource:Q38 ) } . ?i property:P17 ?m }
Serbia Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Serbia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?i ) { ( resource:Serbia ) ( resource:Italy ) } . ?i property:country ?m }
[]
designation for an administrative territorial entity
Q403 Q38
SYSTEM
Serbia, Italy
Q403 Q38
(Q403,P17,c(Q15617994)) (Q38,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones are located in [ANSWERS]
['Q403', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . VALUES ( ?i ) { ( resource:Q403 ) ( resource:Q38 ) } . ?i property:P17 ?m }
Serbia Italy
Those ones are located in Serbia and Italy
Serbia Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Serbia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?i ) { ( resource:Serbia ) ( resource:Italy ) } . ?i property:country ?m }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q403 Q38
P463
Q874405
USER
What social groups were Serbia and Italy a member of ?
(Q403,P463,c(Q874405)) (Q38,P463,c(Q874405))
action union
action filter_type
action find
entity Q403
relation P463
type Q874405
action filter_type
action find
entity Q38
relation P463
type Q874405
['Q403', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { { resource:Q403 property:P463 ?u . ?u rdf:type ontology:Q874405 } UNION { resource:Q38 property:P463 ?u . ?u rdf:type ontology:Q874405 } }
Serbia Italy
action union
action filter_type
action find
entity Serbia
relation member of
type social group
action filter_type
action find
entity Italy
relation member of
type social group
['Serbia', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { { resource:Serbia property:member_of ?u . ?u rdf:type ontology:social_group } UNION { resource:Italy property:member_of ?u . ?u rdf:type ontology:social_group } }
[]
social group
Q7817 Q8908 Q8908
SYSTEM
World Health Organization for 1st, Council of Europe for 2nd, 3rd
Q319014 Q8908 Q653277 Q663492 Q8908 Q376150 Q41984 Q782942 Q848633 Q1374456 Q7817
(Q403,P463,c(Q874405)) (Q38,P463,c(Q874405))
action union
action filter_type
action find
entity Q403
relation P463
type Q874405
action filter_type
action find
entity Q38
relation P463
type Q874405
[ANSWERS]
['Q403', 'P463', {'concept': 'Q874405'}] ['Q38', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { { resource:Q403 property:P463 ?u . ?u rdf:type ontology:Q874405 } UNION { resource:Q38 property:P463 ?u . ?u rdf:type ontology:Q874405 } }
Central European Free Trade Agreement Council of Europe Partnership for Peace Eurocontrol Council of Europe International Telecommunication Union International Atomic Energy Agency Australia Group International Chamber of Commerce Euro-Atlantic Partnership Council World Health Organization
The World Health Organization, Council of Europe and Council of Europe were Serbia and Italy a member of
World Health Organization Council of Europe Council of Europe
action union
action filter_type
action find
entity Serbia
relation member of
type social group
action filter_type
action find
entity Italy
relation member of
type social group
['Serbia', 'member of', {'concept': 'social group'}] ['Italy', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { { resource:Serbia property:member_of ?u . ?u rdf:type ontology:social_group } UNION { resource:Italy property:member_of ?u . ?u rdf:type ontology:social_group } }
[]