Simple Question (Direct)
Simple Question
Q1360797
P39
Q12737077
USER
Which occupations were the positions occupied by Ernst von Bredow ?
(Q1360797,P39,c(Q12737077))
action filter_type
action find
entity Q1360797
relation P39
type Q12737077
['Q1360797', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1360797 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Ernst von Bredow
action filter_type
action find
entity Ernst von Bredow
relation position held
type occupation
['Ernst von Bredow', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ernst_von_Bredow property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q18627724 Q17854096
SYSTEM
Member of the Prussian House of Representatives, member of the Reichstag of the German Empire
Q18627724 Q17854096
(Q1360797,P39,c(Q12737077))
action filter_type
action find
entity Q1360797
relation P39
type Q12737077
[ANSWERS]
['Q1360797', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1360797 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Member of the Prussian House of Representatives member of the Reichstag of the German Empire
Member of the Prussian House of Representatives member of the Reichstag of the German Empire
action filter_type
action find
entity Ernst von Bredow
relation position held
type occupation
['Ernst von Bredow', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ernst_von_Bredow property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1360797
P102
Q7210356
USER
Which party does Ernst von Bredow belong to ?
(Q1360797,P102,c(Q7210356))
action filter_type
action find
entity Q1360797
relation P102
type Q7210356
['Q1360797', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q1360797 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Ernst von Bredow
action filter_type
action find
entity Ernst von Bredow
relation member of political party
type political organization
['Ernst von Bredow', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Ernst_von_Bredow property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q458791
SYSTEM
German Conservative Party
Q458791
(Q1360797,P102,c(Q7210356))
action filter_type
action find
entity Q1360797
relation P102
type Q7210356
[ANSWER]
['Q1360797', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q1360797 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
German Conservative Party
German Conservative Party
action filter_type
action find
entity Ernst von Bredow
relation member of political party
type political organization
['Ernst von Bredow', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Ernst_von_Bredow property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11880880
Q7210356
USER
And how about Maria Kaisa Aula?
(Q11880880,P102,c(Q7210356))
action filter_type
action find
entity Q11880880
relation P102
type Q7210356
['Q11880880', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q11880880 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Maria Kaisa Aula
action filter_type
action find
entity Maria Kaisa Aula
relation member of political party
type political organization
['Maria Kaisa Aula', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Maria_Kaisa_Aula property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q506591
SYSTEM
Centre Party
Q506591
(Q11880880,P102,c(Q7210356))
action filter_type
action find
entity Q11880880
relation P102
type Q7210356
[ANSWER]
['Q11880880', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q11880880 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Centre Party
Centre Party
action filter_type
action find
entity Maria Kaisa Aula
relation member of political party
type political organization
['Maria Kaisa Aula', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Maria_Kaisa_Aula property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458791
P17
Q3024240
USER
Which former country does German Conservative Party belong to ?
(Q458791,P17,c(Q3024240))
action filter_type
action find
entity Q458791
relation P17
type Q3024240
['Q458791', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ?j WHERE { resource:Q458791 property:P17 ?j . ?j rdf:type ontology:Q3024240 }
German Conservative Party
action filter_type
action find
entity German Conservative Party
relation country
type former country
['German Conservative Party', 'country', {'concept': 'former country'}]
SELECT DISTINCT ?j WHERE { resource:German_Conservative_Party property:country ?j . ?j rdf:type ontology:former_country }
[]
former country
Q43287
SYSTEM
German Empire
Q43287
(Q458791,P17,c(Q3024240))
action filter_type
action find
entity Q458791
relation P17
type Q3024240
[ANSWER]
['Q458791', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ?j WHERE { resource:Q458791 property:P17 ?j . ?j rdf:type ontology:Q3024240 }
German Empire
German Empire
action filter_type
action find
entity German Conservative Party
relation country
type former country
['German Conservative Party', 'country', {'concept': 'former country'}]
SELECT DISTINCT ?j WHERE { resource:German_Conservative_Party property:country ?j . ?j rdf:type ontology:former_country }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q182428
Q3024240
USER
And what about Silistra?
(Q182428,P17,c(Q3024240))
action filter_type
action find
entity Q182428
relation P17
type Q3024240
['Q182428', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ?h WHERE { resource:Q182428 property:P17 ?h . ?h rdf:type ontology:Q3024240 }
Silistra
action filter_type
action find
entity Silistra
relation country
type former country
['Silistra', 'country', {'concept': 'former country'}]
SELECT DISTINCT ?h WHERE { resource:Silistra property:country ?h . ?h rdf:type ontology:former_country }
[]
former country
Q2277 Q12560 Q420759
SYSTEM
Roman Empire, Ottoman Empire, Second Bulgarian Empire
Q420759 Q12560 Q203817 Q2277 Q12544
(Q182428,P17,c(Q3024240))
action filter_type
action find
entity Q182428
relation P17
type Q3024240
[ANSWERS]
['Q182428', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ?h WHERE { resource:Q182428 property:P17 ?h . ?h rdf:type ontology:Q3024240 }
Second Bulgarian Empire Ottoman Empire First Bulgarian Empire Roman Empire Byzantine Empire
Roman Empire Ottoman Empire Second Bulgarian Empire
action filter_type
action find
entity Silistra
relation country
type former country
['Silistra', 'country', {'concept': 'former country'}]
SELECT DISTINCT ?h WHERE { resource:Silistra property:country ?h . ?h rdf:type ontology:former_country }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q182428
P17
Q56061
USER
Are Silistra present in those former countries ?
(Q182428,P17,Q2277) (Q182428,P17,Q12560) (Q182428,P17,Q420759)
action is_in
entity prev_answer
action find
entity Q182428
relation P17
['Q182428', 'P17', 'Q2277'] ['Q182428', 'P17', 'Q12560'] ['Q182428', 'P17', 'Q420759']
ASK WHERE { VALUES ( ?w ) { ( resource:Q420759 ) ( resource:Q12560 ) ( resource:Q203817 ) } . resource:Q182428 property:P17 ?w }
Silistra
action is_in
entity prev_answer
action find
entity Silistra
relation country
['Silistra', 'country', 'Roman Empire'] ['Silistra', 'country', 'Ottoman Empire'] ['Silistra', 'country', 'Second Bulgarian Empire']
ASK WHERE { VALUES ( ?w ) { ( resource:Second_Bulgarian_Empire ) ( resource:Ottoman_Empire ) ( resource:First_Bulgarian_Empire ) } . resource:Silistra property:country ?w }
[]
administrative territorial entity
SYSTEM
YES
(Q182428,P17,Q2277) (Q182428,P17,Q12560) (Q182428,P17,Q420759)
action is_in
entity prev_answer
action find
entity Q182428
relation P17
[ANSWER]
['Q182428', 'P17', 'Q2277'] ['Q182428', 'P17', 'Q12560'] ['Q182428', 'P17', 'Q420759']
ASK WHERE { VALUES ( ?w ) { ( resource:Q420759 ) ( resource:Q12560 ) ( resource:Q203817 ) } . resource:Q182428 property:P17 ?w }
Yes
action is_in
entity prev_answer
action find
entity Silistra
relation country
['Silistra', 'country', 'Roman Empire'] ['Silistra', 'country', 'Ottoman Empire'] ['Silistra', 'country', 'Second Bulgarian Empire']
ASK WHERE { VALUES ( ?w ) { ( resource:Second_Bulgarian_Empire ) ( resource:Ottoman_Empire ) ( resource:First_Bulgarian_Empire ) } . resource:Silistra property:country ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2277 Q16869 Q5827592
P36
Q56061
USER
Does Roman Empire have Constantinople and Rashk-e Minu as its administrative centre ?
(Q2277,P36,Q16869) (Q2277,P36,Q5827592)
action is_in
entity Q2277
action intersection
action find_reverse
entity Q16869
relation P36
action find_reverse
entity Q5827592
relation P36
['Q2277', 'P36', 'Q16869'] ['Q2277', 'P36', 'Q5827592']
ASK WHERE { resource:Q2277 property:P36 resource:Q16869 . resource:Q2277 property:P36 resource:Q5827592 }
Roman Empire Constantinople Rashk-e Minu
action is_in
entity Roman Empire
action intersection
action find_reverse
entity Constantinople
relation capital
action find_reverse
entity Rashk-e Minu
relation capital
['Roman Empire', 'capital', 'Constantinople'] ['Roman Empire', 'capital', 'Rashk-e Minu']
ASK WHERE { resource:Roman_Empire property:capital resource:Constantinople . resource:Roman_Empire property:capital resource:Rashk-e_Minu }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q2277,P36,Q16869) (Q2277,P36,Q5827592)
action is_in
entity Q2277
action intersection
action find_reverse
entity Q16869
relation P36
action find_reverse
entity Q5827592
relation P36
[ANSWER]
['Q2277', 'P36', 'Q16869'] ['Q2277', 'P36', 'Q5827592']
ASK WHERE { resource:Q2277 property:P36 resource:Q16869 . resource:Q2277 property:P36 resource:Q5827592 }
YES and NO respectively
action is_in
entity Roman Empire
action intersection
action find_reverse
entity Constantinople
relation capital
action find_reverse
entity Rashk-e Minu
relation capital
['Roman Empire', 'capital', 'Constantinople'] ['Roman Empire', 'capital', 'Rashk-e Minu']
ASK WHERE { resource:Roman_Empire property:capital resource:Constantinople . resource:Roman_Empire property:capital resource:Rashk-e_Minu }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2277
P495
Q2424752
USER
Which products have Roman Empire as their place of origin ?
(c(Q2424752),P495,Q2277)
action filter_type
action find_reverse
entity Q2277
relation P495
type Q2424752
[{'concept': 'Q2424752'}, 'P495', 'Q2277']
SELECT DISTINCT ?r WHERE { ?r property:P495 resource:Q2277 . ?r rdf:type ontology:Q2424752 }
Roman Empire
action filter_type
action find_reverse
entity Roman Empire
relation country of origin
type product
[{'concept': 'product'}, 'country of origin', 'Roman Empire']
SELECT DISTINCT ?r WHERE { ?r property:country_of_origin resource:Roman_Empire . ?r rdf:type ontology:product }
[]
product
Q5519964 Q7200291
SYSTEM
Game pie, Placenta cake
Q5519964 Q7200291
(c(Q2424752),P495,Q2277)
action filter_type
action find_reverse
entity Q2277
relation P495
type Q2424752
[ANSWERS]
[{'concept': 'Q2424752'}, 'P495', 'Q2277']
SELECT DISTINCT ?r WHERE { ?r property:P495 resource:Q2277 . ?r rdf:type ontology:Q2424752 }
Game pie Placenta cake
Game pie Placenta cake
action filter_type
action find_reverse
entity Roman Empire
relation country of origin
type product
[{'concept': 'product'}, 'country of origin', 'Roman Empire']
SELECT DISTINCT ?r WHERE { ?r property:country_of_origin resource:Roman_Empire . ?r rdf:type ontology:product }
[]