Simple Question (Direct)
Simple Question
Q2080016
P21
Q290
USER
Which sex does Petr Křička belong to ?
(Q2080016,P21,c(Q290))
action filter_type
action find
entity Q2080016
relation P21
type Q290
['Q2080016', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2080016 property:P21 ?e . ?e rdf:type ontology:Q290 }
Petr Křička
action filter_type
action find
entity Petr Křička
relation gender
type sex
['Petr Křička', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Petr_Křička property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2080016,P21,c(Q290))
action filter_type
action find
entity Q2080016
relation P21
type Q290
Petr Křička belongs to [ANSWER]
['Q2080016', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2080016 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Petr Křička belongs to male
male
action filter_type
action find
entity Petr Křička
relation gender
type sex
['Petr Křička', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Petr_Křička property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2080016
P7
Q502895
USER
Who is Petr Křička a sibling of ?
(Q2080016,P7,c(Q502895))
action filter_type
action find
entity Q2080016
relation P7
type Q502895
['Q2080016', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2080016 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Petr Křička
action filter_type
action find
entity Petr Křička
relation brother
type common name
['Petr Křička', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Petr_Křička property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q705308
SYSTEM
Jaroslav Křička
Q705308
(Q2080016,P7,c(Q502895))
action filter_type
action find
entity Q2080016
relation P7
type Q502895
Petr Křička is a sibling of [ANSWER] of
['Q2080016', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2080016 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Jaroslav Křička
Petr Křička is a sibling of Jaroslav Křička of
Jaroslav Křička
action filter_type
action find
entity Petr Křička
relation brother
type common name
['Petr Křička', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Petr_Křička property:brother ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4666620
Q502895
USER
And how about Abel Smith?
(Q4666620,P7,c(Q502895))
action filter_type
action find
entity Q4666620
relation P7
type Q502895
['Q4666620', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4666620 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Abel Smith
action filter_type
action find
entity Abel Smith
relation brother
type common name
['Abel Smith', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Abel_Smith property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q15458169 Q7412657 Q5544616
SYSTEM
John Smith, Samuel Smith, George Smith
Q7412657 Q7349866 Q15458169 Q5544616
(Q4666620,P7,c(Q502895))
action filter_type
action find
entity Q4666620
relation P7
type Q502895
[ANSWERS]
['Q4666620', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4666620 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Samuel Smith Robert Smith, 1st Baron Carrington John Smith George Smith
John Smith Samuel Smith George Smith
action filter_type
action find
entity Abel Smith
relation brother
type common name
['Abel Smith', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Abel_Smith property:brother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15458169 Q7412657 Q5544616
P7
Q502895
USER
Which people had those ones as brother ?
(c(Q502895),P7,Q15458169) (c(Q502895),P7,Q7412657) (c(Q502895),P7,Q5544616)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q15458169'] [{'concept': 'Q502895'}, 'P7', 'Q7412657'] [{'concept': 'Q502895'}, 'P7', 'Q5544616']
SELECT DISTINCT ?q WHERE { ?y property:P7 ?q . VALUES ( ?y ) { ( resource:Q7412657 ) ( resource:Q7349866 ) ( resource:Q15458169 ) } . ?q rdf:type ontology:Q502895 }
John Smith Samuel Smith George Smith
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Smith'] [{'concept': 'common name'}, 'brother', 'Samuel Smith'] [{'concept': 'common name'}, 'brother', 'George Smith']
SELECT DISTINCT ?q WHERE { ?y property:brother ?q . VALUES ( ?y ) { ( resource:Samuel_Smith ) ( resource:Robert_Smith,_1st_Baron_Carrington ) ( resource:John_Smith ) } . ?q rdf:type ontology:common_name }
[]
common name
Q15458169 Q15458169 Q7412657
SYSTEM
Samuel Smith for 3rd, John Smith for 1st, 2nd
Q4666620 Q7349866 Q5544616 Q7412657 Q4666620 Q7349866 Q5544616 Q15458169 Q4666620 Q7349866 Q15458169 Q7412657
(c(Q502895),P7,Q15458169) (c(Q502895),P7,Q7412657) (c(Q502895),P7,Q5544616)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q15458169'] [{'concept': 'Q502895'}, 'P7', 'Q7412657'] [{'concept': 'Q502895'}, 'P7', 'Q5544616']
SELECT DISTINCT ?q WHERE { ?y property:P7 ?q . VALUES ( ?y ) { ( resource:Q7412657 ) ( resource:Q7349866 ) ( resource:Q15458169 ) } . ?q rdf:type ontology:Q502895 }
Abel Smith Robert Smith, 1st Baron Carrington George Smith Samuel Smith Abel Smith Robert Smith, 1st Baron Carrington George Smith John Smith Abel Smith Robert Smith, 1st Baron Carrington John Smith Samuel Smith
John Smith, John Smith and Samuel Smith had those ones as brother
John Smith John Smith Samuel Smith
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Smith'] [{'concept': 'common name'}, 'brother', 'Samuel Smith'] [{'concept': 'common name'}, 'brother', 'George Smith']
SELECT DISTINCT ?q WHERE { ?y property:brother ?q . VALUES ( ?y ) { ( resource:Samuel_Smith ) ( resource:Robert_Smith,_1st_Baron_Carrington ) ( resource:John_Smith ) } . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15458169
P102
Q7210356
USER
Which party is John Smith affiliated with ?
(Q15458169,P102,c(Q7210356))
action filter_type
action find
entity Q15458169
relation P102
type Q7210356
['Q15458169', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q15458169 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
John Smith
action filter_type
action find
entity John Smith
relation member of political party
type political organization
['John Smith', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:John_Smith property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q15458169,P102,c(Q7210356))
action filter_type
action find
entity Q15458169
relation P102
type Q7210356
John Smith is affiliated with [ANSWER]
['Q15458169', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q15458169 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Conservative Party
John Smith is affiliated with Conservative Party
Conservative Party
action filter_type
action find
entity John Smith
relation member of political party
type political organization
['John Smith', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:John_Smith property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15458169
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q9626)
action filter_type
action find_reverse
entity Q15458169
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q9626']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q15458169 . ?l rdf:type ontology:Q502895 }
John Smith
action filter_type
action find_reverse
entity John Smith
relation child
type common name
[{'concept': 'common name'}, 'child', 'Conservative Party']
SELECT DISTINCT ?l WHERE { ?l property:child resource:John_Smith . ?l rdf:type ontology:common_name }
[]
common name
Q4666619
SYSTEM
Abel Smith
Q4666619
(c(Q502895),P40,Q9626)
action filter_type
action find_reverse
entity Q15458169
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q9626']
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q15458169 . ?l rdf:type ontology:Q502895 }
Abel Smith
Abel Smith has that one as an offspring
Abel Smith
action filter_type
action find_reverse
entity John Smith
relation child
type common name
[{'concept': 'common name'}, 'child', 'Conservative Party']
SELECT DISTINCT ?l WHERE { ?l property:child resource:John_Smith . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4666619 Q3281514
P40
Q502895
USER
Is Malanda Dem a successor of Abel Smith ?
(Q4666619,P40,Q3281514)
action is_in
entity Q3281514
action find
entity Q4666619
relation P40
['Q4666619', 'P40', 'Q3281514']
ASK WHERE { resource:Q4666619 property:P40 resource:Q3281514 }
Abel Smith Malanda Dem
action is_in
entity Malanda Dem
action find
entity Abel Smith
relation child
['Abel Smith', 'child', 'Malanda Dem']
ASK WHERE { resource:Abel_Smith property:child resource:Malanda_Dem }
[]
common name
SYSTEM
NO
(Q4666619,P40,Q3281514)
action is_in
entity Q3281514
action find
entity Q4666619
relation P40
[ANSWER]
['Q4666619', 'P40', 'Q3281514']
ASK WHERE { resource:Q4666619 property:P40 resource:Q3281514 }
No
action is_in
entity Malanda Dem
action find
entity Abel Smith
relation child
['Abel Smith', 'child', 'Malanda Dem']
ASK WHERE { resource:Abel_Smith property:child resource:Malanda_Dem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4666619
P39
Q12737077
USER
Which occupation was a position for which Abel Smith was appointed ?
action filter_type
action find
entity Q4666619
relation P39
type Q12737077
SELECT DISTINCT ?l WHERE { resource:Q4666619 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Abel Smith
action filter_type
action find
entity Abel Smith
relation position held
type occupation
SELECT DISTINCT ?l WHERE { resource:Abel_Smith property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q18015642
SYSTEM
Member of Parliament in the Parliament of Great Britain
Q18015642
action filter_type
action find
entity Q4666619
relation P39
type Q12737077
The [ANSWER] was a position for which Abel Smith was appointed
SELECT DISTINCT ?l WHERE { resource:Q4666619 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain
The Member of Parliament in the Parliament of Great Britain was a position for which Abel Smith was appointed
Member of Parliament in the Parliament of Great Britain
action filter_type
action find
entity Abel Smith
relation position held
type occupation
SELECT DISTINCT ?l WHERE { resource:Abel_Smith property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4666619
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q18015642)
action filter_type
action find_reverse
entity Q4666619
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q18015642']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P22 resource:Q4666619 }
Abel Smith
action filter_type
action find_reverse
entity Abel Smith
relation father
type common name
[{'concept': 'common name'}, 'father', 'Member of Parliament in the Parliament of Great Britain']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:father resource:Abel_Smith }
[]
common name
Q15458169 Q7412657 Q5544616
SYSTEM
John Smith, Samuel Smith, George Smith
Q7412657 Q7349866 Q4666620 Q5544616 Q15458169
(c(Q502895),P22,Q18015642)
action filter_type
action find_reverse
entity Q4666619
relation P22
type Q502895
[ANSWERS] have that one as father
[{'concept': 'Q502895'}, 'P22', 'Q18015642']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P22 resource:Q4666619 }
Samuel Smith Robert Smith, 1st Baron Carrington Abel Smith George Smith John Smith
John Smith, Samuel Smith and George Smith have that one as father
John Smith Samuel Smith George Smith
action filter_type
action find_reverse
entity Abel Smith
relation father
type common name
[{'concept': 'common name'}, 'father', 'Member of Parliament in the Parliament of Great Britain']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:father resource:Abel_Smith }
[]