Simple Question (Direct)
Simple Question
Q241238
P7
Q502895
USER
Who have Princess Frederica Charlotte of Prussia as their brother ?
(Q241238,P7,c(Q502895))
action filter_type
action find
entity Q241238
relation P7
type Q502895
['Q241238', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q241238 property:P7 ?z . ?z rdf:type ontology:Q502895 }
Princess Frederica Charlotte of Prussia
action filter_type
action find
entity Princess Frederica Charlotte of Prussia
relation brother
type common name
['Princess Frederica Charlotte of Prussia', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Princess_Frederica_Charlotte_of_Prussia property:brother ?z . ?z rdf:type ontology:common_name }
[]
common name
Q37134 Q62022 Q65053
SYSTEM
Frederick William III of Prussia, Prince Wilhelm of Prussia, Friedrich Wilhelm, Count Brandenburg
Q62022 Q115282 Q2643503 Q675258 Q1555570 Q65053 Q37134
(Q241238,P7,c(Q502895))
action filter_type
action find
entity Q241238
relation P7
type Q502895
[ANSWERS]
['Q241238', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q241238 property:P7 ?z . ?z rdf:type ontology:Q502895 }
Prince Wilhelm of Prussia Hendrik van Pruisen Alexander Mark Prince Louis Charles of Prussia Gustav Adolf Ingenheim Friedrich Wilhelm, Count Brandenburg Frederick William III of Prussia
Frederick William III of Prussia, Prince Wilhelm of Prussia and Friedrich Wilhelm, Count Brandenburg have Princess Frederica Charlotte of Prussia as their brother
Frederick William III of Prussia Prince Wilhelm of Prussia Friedrich Wilhelm, Count Brandenburg
action filter_type
action find
entity Princess Frederica Charlotte of Prussia
relation brother
type common name
['Princess Frederica Charlotte of Prussia', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Princess_Frederica_Charlotte_of_Prussia property:brother ?z . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q37134
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q37134)
action filter_type
action find_reverse
entity Q37134
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q37134']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q37134 . ?g rdf:type ontology:Q502895 }
Frederick William III of Prussia
action filter_type
action find_reverse
entity Frederick William III of Prussia
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederick William III of Prussia']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Frederick_William_III_of_Prussia . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q37134
SYSTEM
Did you mean Frederick William III of Prussia ?
Q37134 Q62022 Q65053
(c(Q502895),P22,Q37134) (c(Q502895),P22,Q62022) (c(Q502895),P22,Q65053)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q37134'] [{'concept': 'Q502895'}, 'P22', 'Q62022'] [{'concept': 'Q502895'}, 'P22', 'Q65053']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q37134 . ?g rdf:type ontology:Q502895 }
Frederick William III of Prussia Prince Wilhelm of Prussia Friedrich Wilhelm, Count Brandenburg
Did you mean Frederick William III of Prussia ?
Frederick William III of Prussia
[{'concept': 'common name'}, 'father', 'Frederick William III of Prussia'] [{'concept': 'common name'}, 'father', 'Prince Wilhelm of Prussia'] [{'concept': 'common name'}, 'father', 'Friedrich Wilhelm, Count Brandenburg']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Frederick_William_III_of_Prussia . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q37134)
[{'concept': 'Q502895'}, 'P22', 'Q37134']
[{'concept': 'common name'}, 'father', 'Frederick William III of Prussia']
[]
Q57180 Q150652 Q51028
SYSTEM
Frederick William IV of Prussia, Wilhelm I of Germany, Prince Albert of Prussia
Q60607 Q150652 Q57207 Q186549 Q442587 Q57180 Q51028
(c(Q502895),P22,Q37134)
action filter_type
action find_reverse
entity Q37134
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q37134']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q37134 . ?g rdf:type ontology:Q502895 }
Princess Louise of Prussia Wilhelm I of Germany Alexandra Feodorovna Princess Alexandrine of Prussia Prince Charles of Prussia Frederick William IV of Prussia Prince Albert of Prussia
Frederick William IV of Prussia, Wilhelm I of Germany and Prince Albert of Prussia have that one as a father
Frederick William IV of Prussia Wilhelm I of Germany Prince Albert of Prussia
action filter_type
action find_reverse
entity Frederick William III of Prussia
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederick William III of Prussia']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Frederick_William_III_of_Prussia . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q57180 Q150652 Q51028
P40
Q502895
USER
Whose child are Frederick William IV of Prussia, Wilhelm I of Germany and Prince Albert of Prussia ?
(c(Q502895),P40,Q57180) (c(Q502895),P40,Q150652) (c(Q502895),P40,Q51028)
action union
action filter_type
action find_reverse
entity Q57180
relation P40
type Q502895
action filter_type
action find_reverse
entity Q150652
relation P40
type Q502895
action filter_type
action find_reverse
entity Q51028
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q57180'] [{'concept': 'Q502895'}, 'P40', 'Q150652'] [{'concept': 'Q502895'}, 'P40', 'Q51028']
SELECT DISTINCT ?w WHERE { ?w property:P40 ?p . VALUES ( ?p ) { ( resource:Q150652 ) ( resource:Q57180 ) } }
Frederick William IV of Prussia Wilhelm I of Germany Prince Albert of Prussia
action union
action filter_type
action find_reverse
entity Frederick William IV of Prussia
relation child
type common name
action filter_type
action find_reverse
entity Wilhelm I of Germany
relation child
type common name
action filter_type
action find_reverse
entity Prince Albert of Prussia
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frederick William IV of Prussia'] [{'concept': 'common name'}, 'child', 'Wilhelm I of Germany'] [{'concept': 'common name'}, 'child', 'Prince Albert of Prussia']
SELECT DISTINCT ?w WHERE { ?w property:child ?p . VALUES ( ?p ) { ( resource:Wilhelm_I_of_Germany ) ( resource:Frederick_William_IV_of_Prussia ) } }
[]
common name
Q37134 Q37134 Q37134
SYSTEM
Frederick William III of Prussia
Q37134 Q156723 Q37134 Q156723 Q37134 Q156723
(c(Q502895),P40,Q57180) (c(Q502895),P40,Q150652) (c(Q502895),P40,Q51028)
action union
action filter_type
action find_reverse
entity Q57180
relation P40
type Q502895
action filter_type
action find_reverse
entity Q150652
relation P40
type Q502895
action filter_type
action find_reverse
entity Q51028
relation P40
type Q502895
And [ANSWER], [ANSWER] and [ANSWER] are Frederick William IV of Prussia, Wilhelm I of Germany and Prince Albert of Prussia
[{'concept': 'Q502895'}, 'P40', 'Q57180'] [{'concept': 'Q502895'}, 'P40', 'Q150652'] [{'concept': 'Q502895'}, 'P40', 'Q51028']
SELECT DISTINCT ?w WHERE { ?w property:P40 ?p . VALUES ( ?p ) { ( resource:Q150652 ) ( resource:Q57180 ) } }
Frederick William III of Prussia Louise of Mecklenburg-Strelitz Frederick William III of Prussia Louise of Mecklenburg-Strelitz Frederick William III of Prussia Louise of Mecklenburg-Strelitz
And Frederick William III of Prussia, Frederick William III of Prussia and Frederick William III of Prussia are Frederick William IV of Prussia, Wilhelm I of Germany and Prince Albert of Prussia
Frederick William III of Prussia Frederick William III of Prussia Frederick William III of Prussia
action union
action filter_type
action find_reverse
entity Frederick William IV of Prussia
relation child
type common name
action filter_type
action find_reverse
entity Wilhelm I of Germany
relation child
type common name
action filter_type
action find_reverse
entity Prince Albert of Prussia
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frederick William IV of Prussia'] [{'concept': 'common name'}, 'child', 'Wilhelm I of Germany'] [{'concept': 'common name'}, 'child', 'Prince Albert of Prussia']
SELECT DISTINCT ?w WHERE { ?w property:child ?p . VALUES ( ?p ) { ( resource:Wilhelm_I_of_Germany ) ( resource:Frederick_William_IV_of_Prussia ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37134
P140
Q874405
USER
Which social group is the religion of that person ?
(Q37134,P140,c(Q874405)) (Q37134,P140,c(Q874405)) (Q37134,P140,c(Q874405))
action filter_type
action find
entity Q37134
relation P140
type Q874405
['Q37134', 'P140', {'concept': 'Q874405'}] ['Q37134', 'P140', {'concept': 'Q874405'}] ['Q37134', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q37134 property:P140 ?z . ?z rdf:type ontology:Q874405 }
Frederick William III of Prussia
action filter_type
action find
entity Frederick William III of Prussia
relation religion
type social group
['Frederick William III of Prussia', 'religion', {'concept': 'social group'}] ['Frederick William III of Prussia', 'religion', {'concept': 'social group'}] ['Frederick William III of Prussia', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Frederick_William_III_of_Prussia property:religion ?z . ?z rdf:type ontology:social_group }
[]
social group
Q101849
SYSTEM
Calvinism
Q101849
(Q37134,P140,c(Q874405)) (Q37134,P140,c(Q874405)) (Q37134,P140,c(Q874405))
action filter_type
action find
entity Q37134
relation P140
type Q874405
[ANSWER] is the religion of that person
['Q37134', 'P140', {'concept': 'Q874405'}] ['Q37134', 'P140', {'concept': 'Q874405'}] ['Q37134', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q37134 property:P140 ?z . ?z rdf:type ontology:Q874405 }
Calvinism
Calvinism is the religion of that person
Calvinism
action filter_type
action find
entity Frederick William III of Prussia
relation religion
type social group
['Frederick William III of Prussia', 'religion', {'concept': 'social group'}] ['Frederick William III of Prussia', 'religion', {'concept': 'social group'}] ['Frederick William III of Prussia', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Frederick_William_III_of_Prussia property:religion ?z . ?z rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q101849 Q6522023
P138
Q502895
USER
Is Len Wickwar Calvinism named after ?
(Q101849,P138,Q6522023)
action is_in
entity Q6522023
action find
entity Q101849
relation P138
['Q101849', 'P138', 'Q6522023']
ASK WHERE { resource:Q101849 property:P138 resource:Q6522023 }
Calvinism Len Wickwar
action is_in
entity Len Wickwar
action find
entity Calvinism
relation named after
['Calvinism', 'named after', 'Len Wickwar']
ASK WHERE { resource:Calvinism property:named_after resource:Len_Wickwar }
[]
common name
SYSTEM
NO
(Q101849,P138,Q6522023)
action is_in
entity Q6522023
action find
entity Q101849
relation P138
[ANSWER]
['Q101849', 'P138', 'Q6522023']
ASK WHERE { resource:Q101849 property:P138 resource:Q6522023 }
No
action is_in
entity Len Wickwar
action find
entity Calvinism
relation named after
['Calvinism', 'named after', 'Len Wickwar']
ASK WHERE { resource:Calvinism property:named_after resource:Len_Wickwar }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q51028 Q8602
P27
Q1048835
USER
Does Prince Albert of Prussia belong to Westerwaldkreis ?
(Q51028,P27,Q8602)
action is_in
entity Q8602
action find
entity Q51028
relation P27
['Q51028', 'P27', 'Q8602']
ASK WHERE { resource:Q51028 property:P27 resource:Q8602 }
Prince Albert of Prussia Westerwaldkreis
action is_in
entity Westerwaldkreis
action find
entity Prince Albert of Prussia
relation country of citizenship
['Prince Albert of Prussia', 'country of citizenship', 'Westerwaldkreis']
ASK WHERE { resource:Prince_Albert_of_Prussia property:country_of_citizenship resource:Westerwaldkreis }
[]
political territorial entity
SYSTEM
NO
(Q51028,P27,Q8602)
action is_in
entity Q8602
action find
entity Q51028
relation P27
[ANSWER]
['Q51028', 'P27', 'Q8602']
ASK WHERE { resource:Q51028 property:P27 resource:Q8602 }
No
action is_in
entity Westerwaldkreis
action find
entity Prince Albert of Prussia
relation country of citizenship
['Prince Albert of Prussia', 'country of citizenship', 'Westerwaldkreis']
ASK WHERE { resource:Prince_Albert_of_Prussia property:country_of_citizenship resource:Westerwaldkreis }
[]