Simple Question (Direct)
Simple Question
Q1600474
P102
Q7278
USER
Which political party is Heinz Klever a member of ?
(Q1600474,P102,c(Q7278))
action filter_type
action find
entity Q1600474
relation P102
type Q7278
['Q1600474', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q1600474 property:P102 ?y . ?y rdf:type ontology:Q7278 }
Heinz Klever
action filter_type
action find
entity Heinz Klever
relation member of political party
type political party
['Heinz Klever', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Heinz_Klever property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q1600474,P102,c(Q7278))
action filter_type
action find
entity Q1600474
relation P102
type Q7278
Party [ANSWER] is Heinz Klever a member of
['Q1600474', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { resource:Q1600474 property:P102 ?y . ?y rdf:type ontology:Q7278 }
Christian Democratic Union
Party Christian Democratic Union is Heinz Klever a member of
Christian Democratic Union
action filter_type
action find
entity Heinz Klever
relation member of political party
type political party
['Heinz Klever', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { resource:Heinz_Klever property:member_of_political_party ?y . ?y rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1600474
P39
Q12737077
USER
What was the position for which Heinz Klever was appointed ?
(Q1600474,P39,c(Q12737077))
action filter_type
action find
entity Q1600474
relation P39
type Q12737077
['Q1600474', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q1600474 property:P39 ?n }
Heinz Klever
action filter_type
action find
entity Heinz Klever
relation position held
type occupation
['Heinz Klever', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Heinz_Klever property:position_held ?n }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1600474,P39,c(Q12737077))
action filter_type
action find
entity Q1600474
relation P39
type Q12737077
[ANSWER]
['Q1600474', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q1600474 property:P39 ?n }
mayor
Mayor
mayor
action filter_type
action find
entity Heinz Klever
relation position held
type occupation
['Heinz Klever', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Heinz_Klever property:position_held ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5420635
Q12737077
USER
And also tell me about Marcus Tittius Frugi?
(Q5420635,P39,c(Q12737077))
action filter_type
action find
entity Q5420635
relation P39
type Q12737077
['Q5420635', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5420635 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Marcus Tittius Frugi
action filter_type
action find
entity Marcus Tittius Frugi
relation position held
type occupation
['Marcus Tittius Frugi', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Marcus_Tittius_Frugi property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q20056508 Q26203875
SYSTEM
Ancient Roman senator, consul of the Roman Empire
Q20056508 Q26203875
(Q5420635,P39,c(Q12737077))
action filter_type
action find
entity Q5420635
relation P39
type Q12737077
[ANSWERS]
['Q5420635', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5420635 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Ancient Roman senator consul of the Roman Empire
Ancient Roman senator consul of the Roman Empire
action filter_type
action find
entity Marcus Tittius Frugi
relation position held
type occupation
['Marcus Tittius Frugi', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Marcus_Tittius_Frugi property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q378099
P39
Q502895
USER
Did Tit Estacili Sisenna Taure hold the position of those occupations ?
(Q378099,P39,Q20056508) (Q378099,P39,Q26203875)
action is_in
entity prev_answer
action find
entity Q378099
relation P39
['Q378099', 'P39', 'Q20056508'] ['Q378099', 'P39', 'Q26203875']
ASK WHERE { VALUES ( ?e ) { ( resource:Q20056508 ) ( resource:Q26203875 ) } . resource:Q378099 property:P39 ?e }
Tit Estacili Sisenna Taure
action is_in
entity prev_answer
action find
entity Tit Estacili Sisenna Taure
relation position held
['Tit Estacili Sisenna Taure', 'position held', 'Ancient Roman senator'] ['Tit Estacili Sisenna Taure', 'position held', 'consul of the Roman Empire']
ASK WHERE { VALUES ( ?e ) { ( resource:Ancient_Roman_senator ) ( resource:consul_of_the_Roman_Empire ) } . resource:Tit_Estacili_Sisenna_Taure property:position_held ?e }
[]
common name
SYSTEM
YES
(Q378099,P39,Q20056508) (Q378099,P39,Q26203875)
action is_in
entity prev_answer
action find
entity Q378099
relation P39
[ANSWER]
['Q378099', 'P39', 'Q20056508'] ['Q378099', 'P39', 'Q26203875']
ASK WHERE { VALUES ( ?e ) { ( resource:Q20056508 ) ( resource:Q26203875 ) } . resource:Q378099 property:P39 ?e }
Yes
action is_in
entity prev_answer
action find
entity Tit Estacili Sisenna Taure
relation position held
['Tit Estacili Sisenna Taure', 'position held', 'Ancient Roman senator'] ['Tit Estacili Sisenna Taure', 'position held', 'consul of the Roman Empire']
ASK WHERE { VALUES ( ?e ) { ( resource:Ancient_Roman_senator ) ( resource:consul_of_the_Roman_Empire ) } . resource:Tit_Estacili_Sisenna_Taure property:position_held ?e }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49762 Q7364933 Q567
P488
Q502895
USER
Is Ronald Hickling and Angela Merkel a chairperson of Christian Democratic Union ?
(Q49762,P488,Q7364933) (Q49762,P488,Q567)
action is_in
entity Q49762
action intersection
action find_reverse
entity Q7364933
relation P488
action find_reverse
entity Q567
relation P488
['Q49762', 'P488', 'Q7364933'] ['Q49762', 'P488', 'Q567']
ASK WHERE { resource:Q49762 property:P488 resource:Q567 . resource:Q49762 property:P488 resource:Q7364933 }
Christian Democratic Union Ronald Hickling Angela Merkel
action is_in
entity Christian Democratic Union
action intersection
action find_reverse
entity Ronald Hickling
relation chairperson
action find_reverse
entity Angela Merkel
relation chairperson
['Christian Democratic Union', 'chairperson', 'Ronald Hickling'] ['Christian Democratic Union', 'chairperson', 'Angela Merkel']
ASK WHERE { resource:Christian_Democratic_Union property:chairperson resource:Angela_Merkel . resource:Christian_Democratic_Union property:chairperson resource:Ronald_Hickling }
[]
common name
SYSTEM
NO and YES respectively
(Q49762,P488,Q7364933) (Q49762,P488,Q567)
action is_in
entity Q49762
action intersection
action find_reverse
entity Q7364933
relation P488
action find_reverse
entity Q567
relation P488
[ANSWER]
['Q49762', 'P488', 'Q7364933'] ['Q49762', 'P488', 'Q567']
ASK WHERE { resource:Q49762 property:P488 resource:Q567 . resource:Q49762 property:P488 resource:Q7364933 }
NO and YES respectively
action is_in
entity Christian Democratic Union
action intersection
action find_reverse
entity Ronald Hickling
relation chairperson
action find_reverse
entity Angela Merkel
relation chairperson
['Christian Democratic Union', 'chairperson', 'Ronald Hickling'] ['Christian Democratic Union', 'chairperson', 'Angela Merkel']
ASK WHERE { resource:Christian_Democratic_Union property:chairperson resource:Angela_Merkel . resource:Christian_Democratic_Union property:chairperson resource:Ronald_Hickling }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20056508 Q1747689
P17
Q1048835
USER
Does Ancient Roman senator belong to Ancient Rome ?
(Q20056508,P17,Q1747689)
action is_in
entity Q1747689
action find
entity Q20056508
relation P17
['Q20056508', 'P17', 'Q1747689']
ASK WHERE { resource:Q20056508 property:P17 resource:Q1747689 }
Ancient Roman senator Ancient Rome
action is_in
entity Ancient Rome
action find
entity Ancient Roman senator
relation country
['Ancient Roman senator', 'country', 'Ancient Rome']
ASK WHERE { resource:Ancient_Roman_senator property:country resource:Ancient_Rome }
[]
political territorial entity
SYSTEM
YES
(Q20056508,P17,Q1747689)
action is_in
entity Q1747689
action find
entity Q20056508
relation P17
[ANSWER]
['Q20056508', 'P17', 'Q1747689']
ASK WHERE { resource:Q20056508 property:P17 resource:Q1747689 }
Yes
action is_in
entity Ancient Rome
action find
entity Ancient Roman senator
relation country
['Ancient Roman senator', 'country', 'Ancient Rome']
ASK WHERE { resource:Ancient_Roman_senator property:country resource:Ancient_Rome }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1600474 Q4114228
P27
Q1048835
USER
Is Heinz Klever an inhabitant of Vodiane ?
(Q1600474,P27,Q4114228)
action is_in
entity Q4114228
action find
entity Q1600474
relation P27
['Q1600474', 'P27', 'Q4114228']
ASK WHERE { resource:Q1600474 property:P27 resource:Q4114228 }
Heinz Klever Vodiane
action is_in
entity Vodiane
action find
entity Heinz Klever
relation country of citizenship
['Heinz Klever', 'country of citizenship', 'Vodiane']
ASK WHERE { resource:Heinz_Klever property:country_of_citizenship resource:Vodiane }
[]
political territorial entity
SYSTEM
NO
(Q1600474,P27,Q4114228)
action is_in
entity Q4114228
action find
entity Q1600474
relation P27
[ANSWER]
['Q1600474', 'P27', 'Q4114228']
ASK WHERE { resource:Q1600474 property:P27 resource:Q4114228 }
No
action is_in
entity Vodiane
action find
entity Heinz Klever
relation country of citizenship
['Heinz Klever', 'country of citizenship', 'Vodiane']
ASK WHERE { resource:Heinz_Klever property:country_of_citizenship resource:Vodiane }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q924212 Q378099
P22
Q502895
USER
Which people were the father of Tit Estacili Sisenna Taure or Rostislav III de Kiev ?
OR((Q378099,P22,c(Q502895)), (Q924212,P22,c(Q502895)))
action filter_type
action union
action find
entity Q378099
relation P22
action find
entity Q924212
relation P22
type Q502895
{'OR': [['Q378099', 'P22', {'concept': 'Q502895'}], ['Q924212', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q924212 property:P22 ?w } UNION { resource:Q378099 property:P22 ?w } } . ?w rdf:type ontology:Q502895 }
Rostislav III de Kiev Tit Estacili Sisenna Taure
action filter_type
action union
action find
entity Tit Estacili Sisenna Taure
relation father
action find
entity Rostislav III de Kiev
relation father
type common name
{'OR': [['Tit Estacili Sisenna Taure', 'father', {'concept': 'common name'}], ['Rostislav III de Kiev', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Rostislav_III_de_Kiev property:father ?w } UNION { resource:Tit_Estacili_Sisenna_Taure property:father ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q497107 Q2331658
SYSTEM
Mstislav III of Kiev, Titus Statilius Taurus
Q497107 Q2331658
OR((Q378099,P22,c(Q502895)), (Q924212,P22,c(Q502895)))
action filter_type
action union
action find
entity Q378099
relation P22
action find
entity Q924212
relation P22
type Q502895
[ANSWERS] were the father of Tit Estacili Sisenna Taure or Rostislav III de Kiev
{'OR': [['Q378099', 'P22', {'concept': 'Q502895'}], ['Q924212', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q924212 property:P22 ?w } UNION { resource:Q378099 property:P22 ?w } } . ?w rdf:type ontology:Q502895 }
Mstislav III of Kiev Titus Statilius Taurus
Mstislav III of Kiev and Titus Statilius Taurus were the father of Tit Estacili Sisenna Taure or Rostislav III de Kiev
Mstislav III of Kiev Titus Statilius Taurus
action filter_type
action union
action find
entity Tit Estacili Sisenna Taure
relation father
action find
entity Rostislav III de Kiev
relation father
type common name
{'OR': [['Tit Estacili Sisenna Taure', 'father', {'concept': 'common name'}], ['Rostislav III de Kiev', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Rostislav_III_de_Kiev property:father ?w } UNION { resource:Tit_Estacili_Sisenna_Taure property:father ?w } } . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q540409 Q5420635
P2348
Q3024240
USER
Which former countries did Marcus Tittius Frugi and Marcus Larcius Magnus Pompeius Silo take place ?
AND((Q5420635,P2348,c(Q3024240)), (Q540409,P2348,c(Q3024240)))
action filter_type
action intersection
action find
entity Q5420635
relation P2348
action find
entity Q540409
relation P2348
type Q3024240
{'AND': [['Q5420635', 'P2348', {'concept': 'Q3024240'}], ['Q540409', 'P2348', {'concept': 'Q3024240'}]]}
SELECT DISTINCT ?c WHERE { resource:Q5420635 property:P2348 ?c . resource:Q540409 property:P2348 ?c . ?c rdf:type ontology:Q3024240 }
Marcus Larcius Magnus Pompeius Silo Marcus Tittius Frugi
action filter_type
action intersection
action find
entity Marcus Tittius Frugi
relation period
action find
entity Marcus Larcius Magnus Pompeius Silo
relation period
type former country
{'AND': [['Marcus Tittius Frugi', 'period', {'concept': 'former country'}], ['Marcus Larcius Magnus Pompeius Silo', 'period', {'concept': 'former country'}]]}
SELECT DISTINCT ?c WHERE { resource:Marcus_Tittius_Frugi property:period ?c . resource:Marcus_Larcius_Magnus_Pompeius_Silo property:period ?c . ?c rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
AND((Q5420635,P2348,c(Q3024240)), (Q540409,P2348,c(Q3024240)))
action filter_type
action intersection
action find
entity Q5420635
relation P2348
action find
entity Q540409
relation P2348
type Q3024240
Marcus Tittius Frugi and Marcus Larcius Magnus Pompeius Silo took the [ANSWER] place
{'AND': [['Q5420635', 'P2348', {'concept': 'Q3024240'}], ['Q540409', 'P2348', {'concept': 'Q3024240'}]]}
SELECT DISTINCT ?c WHERE { resource:Q5420635 property:P2348 ?c . resource:Q540409 property:P2348 ?c . ?c rdf:type ontology:Q3024240 }
Roman Empire
Marcus Tittius Frugi and Marcus Larcius Magnus Pompeius Silo took the Roman Empire place
Roman Empire
action filter_type
action intersection
action find
entity Marcus Tittius Frugi
relation period
action find
entity Marcus Larcius Magnus Pompeius Silo
relation period
type former country
{'AND': [['Marcus Tittius Frugi', 'period', {'concept': 'former country'}], ['Marcus Larcius Magnus Pompeius Silo', 'period', {'concept': 'former country'}]]}
SELECT DISTINCT ?c WHERE { resource:Marcus_Tittius_Frugi property:period ?c . resource:Marcus_Larcius_Magnus_Pompeius_Silo property:period ?c . ?c rdf:type ontology:former_country }
[]