Simple Question (Direct)
Simple Question
Q105013
P21
Q290
USER
Which sex does Frederick William I of Prussia possess ?
(Q105013,P21,c(Q290))
action filter_type
action find
entity Q105013
relation P21
type Q290
['Q105013', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q105013 property:P21 ?d . ?d rdf:type ontology:Q290 }
Frederick William I of Prussia
action filter_type
action find
entity Frederick William I of Prussia
relation gender
type sex
['Frederick William I of Prussia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Frederick_William_I_of_Prussia property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q105013,P21,c(Q290))
action filter_type
action find
entity Q105013
relation P21
type Q290
Frederick William I of Prussia possesses un [ANSWER]
['Q105013', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q105013 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Frederick William I of Prussia possesses un male
male
action filter_type
action find
entity Frederick William I of Prussia
relation gender
type sex
['Frederick William I of Prussia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Frederick_William_I_of_Prussia property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q105013
P88
Q1107656
USER
What did that person commission ?
(c(Q1107656),P88,Q6581097)
action filter_type
action find_reverse
entity Q105013
relation P88
type Q1107656
[{'concept': 'Q1107656'}, 'P88', 'Q6581097']
SELECT DISTINCT ?e WHERE { ?e property:P88 resource:Q105013 . ?e rdf:type ontology:Q1107656 }
Frederick William I of Prussia
action filter_type
action find_reverse
entity Frederick William I of Prussia
relation commissioned by
type garden
[{'concept': 'garden'}, 'commissioned by', 'male']
SELECT DISTINCT ?e WHERE { ?e property:commissioned_by resource:Frederick_William_I_of_Prussia . ?e rdf:type ontology:garden }
[]
garden
Q19575149
SYSTEM
Marlygarten (Sanssouci)
Q19575149
(c(Q1107656),P88,Q6581097)
action filter_type
action find_reverse
entity Q105013
relation P88
type Q1107656
That person commissioned by [ANSWER]
[{'concept': 'Q1107656'}, 'P88', 'Q6581097']
SELECT DISTINCT ?e WHERE { ?e property:P88 resource:Q105013 . ?e rdf:type ontology:Q1107656 }
Marlygarten (Sanssouci)
That person commissioned by Marlygarten (Sanssouci)
Marlygarten (Sanssouci)
action filter_type
action find_reverse
entity Frederick William I of Prussia
relation commissioned by
type garden
[{'concept': 'garden'}, 'commissioned by', 'male']
SELECT DISTINCT ?e WHERE { ?e property:commissioned_by resource:Frederick_William_I_of_Prussia . ?e rdf:type ontology:garden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105013
P1038
Q502895
USER
Who are a relative of Frederick William I of Prussia ?
(c(Q502895),P1038,Q105013)
action filter_type
action find_reverse
entity Q105013
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q105013']
SELECT DISTINCT ?f WHERE { ?f property:P1038 resource:Q105013 . ?f rdf:type ontology:Q502895 }
Frederick William I of Prussia
action filter_type
action find_reverse
entity Frederick William I of Prussia
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Frederick William I of Prussia']
SELECT DISTINCT ?f WHERE { ?f property:relative resource:Frederick_William_I_of_Prussia . ?f rdf:type ontology:common_name }
[]
common name
Q130805 Q57224 Q131981
SYSTEM
George I of Great Britain, Sophia of Hanover, George II of Great Britain
Q213797 Q65304 Q1463282 Q131981 Q470056 Q161131 Q57224 Q130805
(c(Q502895),P1038,Q105013)
action filter_type
action find_reverse
entity Q105013
relation P1038
type Q502895
A relative of Frederick William I of Prussia are Frederick [ANSWERS]
[{'concept': 'Q502895'}, 'P1038', 'Q105013']
SELECT DISTINCT ?f WHERE { ?f property:P1038 resource:Q105013 . ?f rdf:type ontology:Q502895 }
Frederick, Margrave of Brandenburg-Bayreuth Éléonore Desmier d'Olbreuse Margrave Frederick William of Brandenburg-Schwedt George II of Great Britain Margrave Albert Frederick of Brandenburg-Schwedt Sophia Dorothea of Hanover Sophia of Hanover George I of Great Britain
A relative of Frederick William I of Prussia are Frederick George I of Great Britain, Sophia of Hanover and George II of Great Britain
George I of Great Britain Sophia of Hanover George II of Great Britain
action filter_type
action find_reverse
entity Frederick William I of Prussia
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Frederick William I of Prussia']
SELECT DISTINCT ?f WHERE { ?f property:relative resource:Frederick_William_I_of_Prussia . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57224
P53
Q8436
USER
What dynasty does that person belong to ?
(Q57224,P53,c(Q8436))
action filter_type
action find
entity Q57224
relation P53
type Q8436
['Q57224', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q8436 . resource:Q57224 property:P53 ?n }
Sophia of Hanover
action filter_type
action find
entity Sophia of Hanover
relation noble family
type family
['Sophia of Hanover', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:family . resource:Sophia_of_Hanover property:noble_family ?n }
[]
family
Clarification for simple ques.
Q57224
SYSTEM
Did you mean Sophia of Hanover ?
Q130805 Q57224 Q131981
(Q130805,P53,c(Q8436)) (Q57224,P53,c(Q8436)) (Q131981,P53,c(Q8436))
[ANSWER]
['Q130805', 'P53', {'concept': 'Q8436'}] ['Q57224', 'P53', {'concept': 'Q8436'}] ['Q131981', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q8436 . resource:Q57224 property:P53 ?n }
George I of Great Britain Sophia of Hanover George II of Great Britain
Did you mean Sophia of Hanover ?
Sophia of Hanover
['George I of Great Britain', 'noble family', {'concept': 'family'}] ['Sophia of Hanover', 'noble family', {'concept': 'family'}] ['George II of Great Britain', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:family . resource:Sophia_of_Hanover property:noble_family ?n }
[]
Simple Question (Coreferenced)
USER
Yes
(Q57224,P53,c(Q8436))
['Q57224', 'P53', {'concept': 'Q8436'}]
['Sophia of Hanover', 'noble family', {'concept': 'family'}]
[]
Q131621
SYSTEM
House of Wittelsbach
Q131621
(Q57224,P53,c(Q8436))
action filter_type
action find
entity Q57224
relation P53
type Q8436
That person belongs to [ANSWER]
['Q57224', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q8436 . resource:Q57224 property:P53 ?n }
House of Wittelsbach
That person belongs to House of Wittelsbach
House of Wittelsbach
action filter_type
action find
entity Sophia of Hanover
relation noble family
type family
['Sophia of Hanover', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:family . resource:Sophia_of_Hanover property:noble_family ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q131621 Q12347980
P53
Q502895
USER
Does František Staněk belong to that family ?
(Q12347980,P53,Q131621)
action is_in
entity Q12347980
action find
entity Q131621
relation P53
['Q12347980', 'P53', 'Q131621']
ASK WHERE { resource:Q131621 property:P53 resource:Q12347980 }
House of Wittelsbach František Staněk
action is_in
entity František Staněk
action find
entity House of Wittelsbach
relation noble family
['František Staněk', 'noble family', 'House of Wittelsbach']
ASK WHERE { resource:House_of_Wittelsbach property:noble_family resource:František_Staněk }
[]
common name
SYSTEM
NO
(Q12347980,P53,Q131621)
action is_in
entity Q12347980
action find
entity Q131621
relation P53
[ANSWER]
['Q12347980', 'P53', 'Q131621']
ASK WHERE { resource:Q131621 property:P53 resource:Q12347980 }
No
action is_in
entity František Staněk
action find
entity House of Wittelsbach
relation noble family
['František Staněk', 'noble family', 'House of Wittelsbach']
ASK WHERE { resource:House_of_Wittelsbach property:noble_family resource:František_Staněk }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q130805
P9
Q502895
USER
Who have George I of Great Britain as thier sibling ?
(Q130805,P9,c(Q502895))
action filter_type
action find
entity Q130805
relation P9
type Q502895
['Q130805', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q130805 property:P9 ?o . ?o rdf:type ontology:Q502895 }
George I of Great Britain
action filter_type
action find
entity George I of Great Britain
relation sister
type common name
['George I of Great Britain', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:George_I_of_Great_Britain property:sister ?o . ?o rdf:type ontology:common_name }
[]
common name
Q57674 Q74001
SYSTEM
Sophia Charlotte of Hanover, Sophia von Kielmansegg, Countess of Darlington
Q57674 Q74001
(Q130805,P9,c(Q502895))
action filter_type
action find
entity Q130805
relation P9
type Q502895
[ANSWERS]
['Q130805', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q130805 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Sophia Charlotte of Hanover Sophia von Kielmansegg, Countess of Darlington
Sophia Charlotte of Hanover and Sophia von Kielmansegg, Countess of Darlington have George I of Great Britain as thier sibling
Sophia Charlotte of Hanover Sophia von Kielmansegg, Countess of Darlington
action filter_type
action find
entity George I of Great Britain
relation sister
type common name
['George I of Great Britain', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:George_I_of_Great_Britain property:sister ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q655521
P9
Q502895
USER
Are those ones a sister of Ernest Augustus, Duke of York and Albany ?
(Q655521,P9,Q57674) (Q655521,P9,Q74001)
action is_in
entity prev_answer
action find
entity Q655521
relation P9
['Q655521', 'P9', 'Q57674'] ['Q655521', 'P9', 'Q74001']
ASK WHERE { resource:Q655521 property:P9 ?s . VALUES ( ?s ) { ( resource:Q57674 ) ( resource:Q74001 ) } }
Ernest Augustus, Duke of York and Albany
action is_in
entity prev_answer
action find
entity Ernest Augustus, Duke of York and Albany
relation sister
['Ernest Augustus, Duke of York and Albany', 'sister', 'Sophia Charlotte of Hanover'] ['Ernest Augustus, Duke of York and Albany', 'sister', 'Sophia von Kielmansegg, Countess of Darlington']
ASK WHERE { resource:Ernest_Augustus,_Duke_of_York_and_Albany property:sister ?s . VALUES ( ?s ) { ( resource:Sophia_Charlotte_of_Hanover ) ( resource:Sophia_von_Kielmansegg,_Countess_of_Darlington ) } }
[]
common name
SYSTEM
YES
(Q655521,P9,Q57674) (Q655521,P9,Q74001)
action is_in
entity prev_answer
action find
entity Q655521
relation P9
[ANSWER]
['Q655521', 'P9', 'Q57674'] ['Q655521', 'P9', 'Q74001']
ASK WHERE { resource:Q655521 property:P9 ?s . VALUES ( ?s ) { ( resource:Q57674 ) ( resource:Q74001 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ernest Augustus, Duke of York and Albany
relation sister
['Ernest Augustus, Duke of York and Albany', 'sister', 'Sophia Charlotte of Hanover'] ['Ernest Augustus, Duke of York and Albany', 'sister', 'Sophia von Kielmansegg, Countess of Darlington']
ASK WHERE { resource:Ernest_Augustus,_Duke_of_York_and_Albany property:sister ?s . VALUES ( ?s ) { ( resource:Sophia_Charlotte_of_Hanover ) ( resource:Sophia_von_Kielmansegg,_Countess_of_Darlington ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q105013 Q6283480
P40
Q502895
USER
Is Joseph Glover a successor of Frederick William I of Prussia ?
(Q105013,P40,Q6283480)
action is_in
entity Q6283480
action find
entity Q105013
relation P40
['Q105013', 'P40', 'Q6283480']
ASK WHERE { resource:Q105013 property:P40 resource:Q6283480 }
Frederick William I of Prussia Joseph Glover
action is_in
entity Joseph Glover
action find
entity Frederick William I of Prussia
relation child
['Frederick William I of Prussia', 'child', 'Joseph Glover']
ASK WHERE { resource:Frederick_William_I_of_Prussia property:child resource:Joseph_Glover }
[]
common name
SYSTEM
NO
(Q105013,P40,Q6283480)
action is_in
entity Q6283480
action find
entity Q105013
relation P40
[ANSWER]
['Q105013', 'P40', 'Q6283480']
ASK WHERE { resource:Q105013 property:P40 resource:Q6283480 }
No
action is_in
entity Joseph Glover
action find
entity Frederick William I of Prussia
relation child
['Frederick William I of Prussia', 'child', 'Joseph Glover']
ASK WHERE { resource:Frederick_William_I_of_Prussia property:child resource:Joseph_Glover }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105013
P7
Q502895
USER
Which person had Frederick William I of Prussia as brother ?
action filter_type
action find_reverse
entity Q105013
relation P7
type Q502895
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P7 resource:Q105013 }
Frederick William I of Prussia
action filter_type
action find_reverse
entity Frederick William I of Prussia
relation brother
type common name
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:brother resource:Frederick_William_I_of_Prussia }
[]
common name
Q269405
SYSTEM
Princess Luise Dorothea of Prussia
Q269405
action filter_type
action find_reverse
entity Q105013
relation P7
type Q502895
[ANSWER] had Frederick William I of Prussia as brother
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P7 resource:Q105013 }
Princess Luise Dorothea of Prussia
Princess Luise Dorothea of Prussia had Frederick William I of Prussia as brother
Princess Luise Dorothea of Prussia
action filter_type
action find_reverse
entity Frederick William I of Prussia
relation brother
type common name
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:brother resource:Frederick_William_I_of_Prussia }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q269405 Q52932
P26
Q502895
USER
Does Frederick I of Sweden have that one as spouse ?
(Q52932,P26,Q269405)
action is_in
entity Q52932
action find
entity Q269405
relation P26
['Q52932', 'P26', 'Q269405']
ASK WHERE { resource:Q269405 property:P26 resource:Q52932 }
Princess Luise Dorothea of Prussia Frederick I of Sweden
action is_in
entity Frederick I of Sweden
action find
entity Princess Luise Dorothea of Prussia
relation spouse
['Frederick I of Sweden', 'spouse', 'Princess Luise Dorothea of Prussia']
ASK WHERE { resource:Princess_Luise_Dorothea_of_Prussia property:spouse resource:Frederick_I_of_Sweden }
[]
common name
SYSTEM
YES
(Q52932,P26,Q269405)
action is_in
entity Q52932
action find
entity Q269405
relation P26
[ANSWER]
['Q52932', 'P26', 'Q269405']
ASK WHERE { resource:Q269405 property:P26 resource:Q52932 }
Yes
action is_in
entity Frederick I of Sweden
action find
entity Princess Luise Dorothea of Prussia
relation spouse
['Frederick I of Sweden', 'spouse', 'Princess Luise Dorothea of Prussia']
ASK WHERE { resource:Princess_Luise_Dorothea_of_Prussia property:spouse resource:Frederick_I_of_Sweden }
[]