Simple Question (Direct)
Simple Question
Q766388
P9
Q502895
USER
Who are Augusta Dorothea of Brunswick-Wolfenbüttel a sibling of ?
(Q766388,P9,c(Q502895))
action filter_type
action find
entity Q766388
relation P9
type Q502895
['Q766388', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q766388 property:P9 ?f }
Augusta Dorothea of Brunswick-Wolfenbüttel
action filter_type
action find
entity Augusta Dorothea of Brunswick-Wolfenbüttel
relation sister
type common name
['Augusta Dorothea of Brunswick-Wolfenbüttel', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Augusta_Dorothea_of_Brunswick-Wolfenbüttel property:sister ?f }
[]
common name
Q450887 Q10954252 Q1606153
SYSTEM
Elisabeth Eleonore of Brunswick-Wolfenbüttel, Ana Sofia de Brunswick-Wolfenbüttel, Henriette Christine von Braunschweig-Wolfenbüttel
Q450887 Q10954252 Q1606153
(Q766388,P9,c(Q502895))
action filter_type
action find
entity Q766388
relation P9
type Q502895
[ANSWERS] are Augusta Dorothea of Brunswick-Wolfenbüttel a sibling of
['Q766388', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q766388 property:P9 ?f }
Elisabeth Eleonore of Brunswick-Wolfenbüttel Ana Sofia de Brunswick-Wolfenbüttel Henriette Christine von Braunschweig-Wolfenbüttel
Elisabeth Eleonore of Brunswick-Wolfenbüttel, Ana Sofia de Brunswick-Wolfenbüttel and Henriette Christine von Braunschweig-Wolfenbüttel are Augusta Dorothea of Brunswick-Wolfenbüttel a sibling of
Elisabeth Eleonore of Brunswick-Wolfenbüttel Ana Sofia de Brunswick-Wolfenbüttel Henriette Christine von Braunschweig-Wolfenbüttel
action filter_type
action find
entity Augusta Dorothea of Brunswick-Wolfenbüttel
relation sister
type common name
['Augusta Dorothea of Brunswick-Wolfenbüttel', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Augusta_Dorothea_of_Brunswick-Wolfenbüttel property:sister ?f }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q450887 Q10954252 Q1606153
P21
Q290
USER
Which sexes do Elisabeth Eleonore of Brunswick-Wolfenbüttel, Ana Sofia de Brunswick-Wolfenbüttel and Henriette Christine von Braunschweig-Wolfenbüttel have ?
(Q450887,P21,c(Q290)) (Q10954252,P21,c(Q290)) (Q1606153,P21,c(Q290))
action union
action filter_type
action find
entity Q450887
relation P21
type Q290
action filter_type
action find
entity Q10954252
relation P21
type Q290
action filter_type
action find
entity Q1606153
relation P21
type Q290
['Q450887', 'P21', {'concept': 'Q290'}] ['Q10954252', 'P21', {'concept': 'Q290'}] ['Q1606153', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?y ) { ( resource:Q450887 ) ( resource:Q10954252 ) } . ?y property:P21 ?h }
Elisabeth Eleonore of Brunswick-Wolfenbüttel Ana Sofia de Brunswick-Wolfenbüttel Henriette Christine von Braunschweig-Wolfenbüttel
action union
action filter_type
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation gender
type sex
action filter_type
action find
entity Ana Sofia de Brunswick-Wolfenbüttel
relation gender
type sex
action filter_type
action find
entity Henriette Christine von Braunschweig-Wolfenbüttel
relation gender
type sex
['Elisabeth Eleonore of Brunswick-Wolfenbüttel', 'gender', {'concept': 'sex'}] ['Ana Sofia de Brunswick-Wolfenbüttel', 'gender', {'concept': 'sex'}] ['Henriette Christine von Braunschweig-Wolfenbüttel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?y ) { ( resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel ) ( resource:Ana_Sofia_de_Brunswick-Wolfenbüttel ) } . ?y property:gender ?h }
[]
sex
Q6581072 Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072 Q6581072
(Q450887,P21,c(Q290)) (Q10954252,P21,c(Q290)) (Q1606153,P21,c(Q290))
action union
action filter_type
action find
entity Q450887
relation P21
type Q290
action filter_type
action find
entity Q10954252
relation P21
type Q290
action filter_type
action find
entity Q1606153
relation P21
type Q290
Elisabeth Eleonore of Brunswick-Wolfenbüttel , Ana Sofia de Brunswick-Wolfenbüttel and Henriette Christine von Braunschweig-Wolfenbüttel have been [ANSWER], [ANSWER] and [ANSWER]
['Q450887', 'P21', {'concept': 'Q290'}] ['Q10954252', 'P21', {'concept': 'Q290'}] ['Q1606153', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?y ) { ( resource:Q450887 ) ( resource:Q10954252 ) } . ?y property:P21 ?h }
female female female
Elisabeth Eleonore of Brunswick-Wolfenbüttel , Ana Sofia de Brunswick-Wolfenbüttel and Henriette Christine von Braunschweig-Wolfenbüttel have been female, female and female
female female female
action union
action filter_type
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation gender
type sex
action filter_type
action find
entity Ana Sofia de Brunswick-Wolfenbüttel
relation gender
type sex
action filter_type
action find
entity Henriette Christine von Braunschweig-Wolfenbüttel
relation gender
type sex
['Elisabeth Eleonore of Brunswick-Wolfenbüttel', 'gender', {'concept': 'sex'}] ['Ana Sofia de Brunswick-Wolfenbüttel', 'gender', {'concept': 'sex'}] ['Henriette Christine von Braunschweig-Wolfenbüttel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?y ) { ( resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel ) ( resource:Ana_Sofia_de_Brunswick-Wolfenbüttel ) } . ?y property:gender ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q450887
P26
Q502895
USER
Which person has Elisabeth Eleonore of Brunswick-Wolfenbüttel as spouse ?
(c(Q502895),P26,Q450887)
action filter_type
action find
entity Q450887
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q450887']
SELECT DISTINCT ?z WHERE { resource:Q450887 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Elisabeth Eleonore of Brunswick-Wolfenbüttel
action filter_type
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elisabeth Eleonore of Brunswick-Wolfenbüttel']
SELECT DISTINCT ?z WHERE { resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q63240
SYSTEM
Bernhard I, Duke of Saxe-Meiningen
Q63240
(c(Q502895),P26,Q450887)
action filter_type
action find
entity Q450887
relation P26
type Q502895
[ANSWER] has Elisabeth Eleonore of Brunswick-Wolfenbüttel as spouse
[{'concept': 'Q502895'}, 'P26', 'Q450887']
SELECT DISTINCT ?z WHERE { resource:Q450887 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Bernhard I, Duke of Saxe-Meiningen
Bernhard I, Duke of Saxe-Meiningen has Elisabeth Eleonore of Brunswick-Wolfenbüttel as spouse
Bernhard I, Duke of Saxe-Meiningen
action filter_type
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elisabeth Eleonore of Brunswick-Wolfenbüttel']
SELECT DISTINCT ?z WHERE { resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q450887
P40
Q502895
USER
Who is a child of Elisabeth Eleonore of Brunswick-Wolfenbüttel ?
(Q450887,P40,c(Q502895))
action filter_type
action find
entity Q450887
relation P40
type Q502895
['Q450887', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q450887 property:P40 ?c }
Elisabeth Eleonore of Brunswick-Wolfenbüttel
action filter_type
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation child
type common name
['Elisabeth Eleonore of Brunswick-Wolfenbüttel', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel property:child ?c }
[]
common name
Q65025
SYSTEM
Anton Ulrich, Duke of Saxe-Meiningen
Q65025
(Q450887,P40,c(Q502895))
action filter_type
action find
entity Q450887
relation P40
type Q502895
A child of Elisabeth Eleonore of Brunswick-Wolfenbüttel is born [ANSWER]
['Q450887', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q450887 property:P40 ?c }
Anton Ulrich, Duke of Saxe-Meiningen
A child of Elisabeth Eleonore of Brunswick-Wolfenbüttel is born Anton Ulrich, Duke of Saxe-Meiningen
Anton Ulrich, Duke of Saxe-Meiningen
action filter_type
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation child
type common name
['Elisabeth Eleonore of Brunswick-Wolfenbüttel', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel property:child ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65025
P25
Q502895
USER
Who was the mother of that one ?
(Q65025,P25,c(Q502895))
action filter_type
action find
entity Q65025
relation P25
type Q502895
['Q65025', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q65025 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Anton Ulrich, Duke of Saxe-Meiningen
action filter_type
action find
entity Anton Ulrich, Duke of Saxe-Meiningen
relation mother
type common name
['Anton Ulrich, Duke of Saxe-Meiningen', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Anton_Ulrich,_Duke_of_Saxe-Meiningen property:mother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q450887
SYSTEM
Elisabeth Eleonore of Brunswick-Wolfenbüttel
Q450887
(Q65025,P25,c(Q502895))
action filter_type
action find
entity Q65025
relation P25
type Q502895
The mother of that one was Princess [ANSWER]
['Q65025', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q65025 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Elisabeth Eleonore of Brunswick-Wolfenbüttel
The mother of that one was Princess Elisabeth Eleonore of Brunswick-Wolfenbüttel
Elisabeth Eleonore of Brunswick-Wolfenbüttel
action filter_type
action find
entity Anton Ulrich, Duke of Saxe-Meiningen
relation mother
type common name
['Anton Ulrich, Duke of Saxe-Meiningen', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Anton_Ulrich,_Duke_of_Saxe-Meiningen property:mother ?r . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7760442 Q450887
P161 P9
Q502895
USER
Which people are the sisters of Elisabeth Eleonore of Brunswick-Wolfenbüttel or starred in The Return of the Condor Heroes ?
OR((Q450887,P9,c(Q502895)), (Q7760442,P161,c(Q502895)))
action filter_type
action union
action find
entity Q450887
relation P9
action find
entity Q7760442
relation P161
type Q502895
{'OR': [['Q450887', 'P9', {'concept': 'Q502895'}], ['Q7760442', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q450887 property:P9 ?k } UNION { resource:Q7760442 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
The Return of the Condor Heroes Elisabeth Eleonore of Brunswick-Wolfenbüttel
action filter_type
action union
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation sister
action find
entity The Return of the Condor Heroes
relation cast member
type common name
{'OR': [['Elisabeth Eleonore of Brunswick-Wolfenbüttel', 'sister', {'concept': 'common name'}], ['The Return of the Condor Heroes', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel property:sister ?k } UNION { resource:The_Return_of_the_Condor_Heroes property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q7486830 Q18650993 Q18711190 Q9053317 Q9127112 Q9387721 Q1140116 Q9217118 Q1041593 Q13423443
SYSTEM
Some of them are Katie Chan, Sam Kam, Mak Chi-wan, Michael Tao, Suen Kwai Hing, He Guilin, Kenneth Tsang, Peggy Lam, Kent Tong, Chan Dick Hak
Q18650993 Q1059801 Q9094059 Q10360837 Q704291 Q7216163 Q9217118 Q18711207 Q18711222 Q4848969 Q3828155 Q11117136 Q3272503 Q7486830 Q1606153 Q1140148 Q11064302 Q850718 Q18711210 Q10954252 Q9322081 Q18711188 Q1652508 Q9357253 Q11134621 Q7702115 Q9217509 Q2225156 Q667260 Q9309203 Q13423447 Q9367474 Q13423443 Q589762 Q9182355 Q9369465 Q1041593 Q706219 Q696708 Q701984 Q9127112 Q15929579 Q9329666 Q9053317 Q6852646 Q15909558 Q1652742 Q11180487 Q15924853 Q9120986 Q877102 Q9476613 Q7190025 Q9387721 Q699562 Q766388 Q6886118 Q7212623 Q5336671 Q11098421 Q860948 Q15920884 Q9361701 Q557277 Q15911227 Q1140116 Q707229 Q16766 Q18711190 Q9383566 Q712097 Q10357116 Q18711195
OR((Q450887,P9,c(Q502895)), (Q7760442,P161,c(Q502895)))
action filter_type
action union
action find
entity Q450887
relation P9
action find
entity Q7760442
relation P161
type Q502895
[ANSWERS] are the sisters of Elisabeth Eleonore of Brunswick-Wolfenbüttel or starred in The Return of the Condor Heroes
{'OR': [['Q450887', 'P9', {'concept': 'Q502895'}], ['Q7760442', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q450887 property:P9 ?k } UNION { resource:Q7760442 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Sam Kam Benz Hui Regina Tsang Yeung Chak Lam Francis Ng Rainbow Ching Peggy Lam Ma Shung Tak Cheung Lui Bak Man-biu Lawrence Ng Sylvia Lai Albert Au Katie Chan Henriette Christine von Braunschweig-Wolfenbüttel Susanna Kwan Annie Liew Philip Chan Isabella Kau Ana Sofia de Brunswick-Wolfenbüttel Chun Wong Lee Shu-Gaai Susanna Au-Yeung Kwong Chor Fai Kong Ngai Teresa Cheung Oscar Lam wai-kin Wilson Lam Simon Yam Danny Poon Cheng Fan Sang Chan On Ying Chan Dick Hak Helena Law Cheung Ying Choi Idy Chan Kent Tong Carina Lau Lau Dan Carrie Ng Suen Kwai Hing Wong Man-yi Amy Wu Michael Tao Lau Siu-ming Law Lai Kuen Yue Chi Ming Lung Tin-Sang Raymond Wong Ying-wah Lisa Lui Felix Lok Mak Ho Wai Fung Chi-Fung He Guilin Ha Yu Augusta Dorothea of Brunswick-Wolfenbüttel Mo-Lin Yu Ai Wai Eddy Ko Lee Lung Kei Bryan Leung Wong Oi-Ming Kwan Ching Shih Kien Chan Yau Hau Kenneth Tsang Ng Man-tat Andy Lau Mak Chi-wan Sheung Kwun Yuk Alex Man Tony Leung Hung-Wah Chu Siu Bo
Katie Chan, Sam Kam, Mak Chi-wan, Michael Tao, Suen Kwai Hing, He Guilin, Kenneth Tsang, Peggy Lam, Kent Tong and Chan Dick Hak are the sisters of Elisabeth Eleonore of Brunswick-Wolfenbüttel or starred in The Return of the Condor Heroes
Katie Chan Sam Kam Mak Chi-wan Michael Tao Suen Kwai Hing He Guilin Kenneth Tsang Peggy Lam Kent Tong Chan Dick Hak
action filter_type
action union
action find
entity Elisabeth Eleonore of Brunswick-Wolfenbüttel
relation sister
action find
entity The Return of the Condor Heroes
relation cast member
type common name
{'OR': [['Elisabeth Eleonore of Brunswick-Wolfenbüttel', 'sister', {'concept': 'common name'}], ['The Return of the Condor Heroes', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Elisabeth_Eleonore_of_Brunswick-Wolfenbüttel property:sister ?k } UNION { resource:The_Return_of_the_Condor_Heroes property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7760442
P161
Q15416
USER
Do The Return of the Condor Heroes have those people as actor ?
(Q7760442,P161,Q7486830) (Q7760442,P161,Q18650993) (Q7760442,P161,Q18711190) (Q7760442,P161,Q9053317) (Q7760442,P161,Q9127112) (Q7760442,P161,Q9387721) (Q7760442,P161,Q1140116) (Q7760442,P161,Q9217118) (Q7760442,P161,Q1041593) (Q7760442,P161,Q13423443)
action is_in
entity prev_answer
action find
entity Q7760442
relation P161
['Q7760442', 'P161', 'Q7486830'] ['Q7760442', 'P161', 'Q18650993'] ['Q7760442', 'P161', 'Q18711190'] ['Q7760442', 'P161', 'Q9053317'] ['Q7760442', 'P161', 'Q9127112'] ['Q7760442', 'P161', 'Q9387721'] ['Q7760442', 'P161', 'Q1140116'] ['Q7760442', 'P161', 'Q9217118'] ['Q7760442', 'P161', 'Q1041593'] ['Q7760442', 'P161', 'Q13423443']
ASK WHERE { resource:Q7760442 property:P161 ?l . VALUES ( ?l ) { ( resource:Q18650993 ) ( resource:Q1059801 ) ( resource:Q9094059 ) } }
The Return of the Condor Heroes
action is_in
entity prev_answer
action find
entity The Return of the Condor Heroes
relation cast member
['The Return of the Condor Heroes', 'cast member', 'Katie Chan'] ['The Return of the Condor Heroes', 'cast member', 'Sam Kam'] ['The Return of the Condor Heroes', 'cast member', 'Mak Chi-wan'] ['The Return of the Condor Heroes', 'cast member', 'Michael Tao'] ['The Return of the Condor Heroes', 'cast member', 'Suen Kwai Hing'] ['The Return of the Condor Heroes', 'cast member', 'He Guilin'] ['The Return of the Condor Heroes', 'cast member', 'Kenneth Tsang'] ['The Return of the Condor Heroes', 'cast member', 'Peggy Lam'] ['The Return of the Condor Heroes', 'cast member', 'Kent Tong'] ['The Return of the Condor Heroes', 'cast member', 'Chan Dick Hak']
ASK WHERE { resource:The_Return_of_the_Condor_Heroes property:cast_member ?l . VALUES ( ?l ) { ( resource:Sam_Kam ) ( resource:Benz_Hui ) ( resource:Regina_Tsang ) } }
[]
television program
SYSTEM
YES
(Q7760442,P161,Q7486830) (Q7760442,P161,Q18650993) (Q7760442,P161,Q18711190) (Q7760442,P161,Q9053317) (Q7760442,P161,Q9127112) (Q7760442,P161,Q9387721) (Q7760442,P161,Q1140116) (Q7760442,P161,Q9217118) (Q7760442,P161,Q1041593) (Q7760442,P161,Q13423443)
action is_in
entity prev_answer
action find
entity Q7760442
relation P161
[ANSWER]
['Q7760442', 'P161', 'Q7486830'] ['Q7760442', 'P161', 'Q18650993'] ['Q7760442', 'P161', 'Q18711190'] ['Q7760442', 'P161', 'Q9053317'] ['Q7760442', 'P161', 'Q9127112'] ['Q7760442', 'P161', 'Q9387721'] ['Q7760442', 'P161', 'Q1140116'] ['Q7760442', 'P161', 'Q9217118'] ['Q7760442', 'P161', 'Q1041593'] ['Q7760442', 'P161', 'Q13423443']
ASK WHERE { resource:Q7760442 property:P161 ?l . VALUES ( ?l ) { ( resource:Q18650993 ) ( resource:Q1059801 ) ( resource:Q9094059 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Return of the Condor Heroes
relation cast member
['The Return of the Condor Heroes', 'cast member', 'Katie Chan'] ['The Return of the Condor Heroes', 'cast member', 'Sam Kam'] ['The Return of the Condor Heroes', 'cast member', 'Mak Chi-wan'] ['The Return of the Condor Heroes', 'cast member', 'Michael Tao'] ['The Return of the Condor Heroes', 'cast member', 'Suen Kwai Hing'] ['The Return of the Condor Heroes', 'cast member', 'He Guilin'] ['The Return of the Condor Heroes', 'cast member', 'Kenneth Tsang'] ['The Return of the Condor Heroes', 'cast member', 'Peggy Lam'] ['The Return of the Condor Heroes', 'cast member', 'Kent Tong'] ['The Return of the Condor Heroes', 'cast member', 'Chan Dick Hak']
ASK WHERE { resource:The_Return_of_the_Condor_Heroes property:cast_member ?l . VALUES ( ?l ) { ( resource:Sam_Kam ) ( resource:Benz_Hui ) ( resource:Regina_Tsang ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q65025
P27 P22
Q502895
USER
Which people have Anton Ulrich, Duke of Saxe-Meiningen as father and are a citizen of Germany ?
AND((c(Q502895),P22,Q65025), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q65025
relation P22
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q65025'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q65025 . ?q property:P27 resource:Q183 . ?q rdf:type ontology:Q502895 }
Germany Anton Ulrich, Duke of Saxe-Meiningen
action filter_type
action intersection
action find_reverse
entity Anton Ulrich, Duke of Saxe-Meiningen
relation father
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Anton Ulrich, Duke of Saxe-Meiningen'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?q WHERE { ?q property:father resource:Anton_Ulrich,_Duke_of_Saxe-Meiningen . ?q property:country_of_citizenship resource:Germany . ?q rdf:type ontology:common_name }
[]
common name
Q213846 Q96849 Q215880 Q63603
SYSTEM
Charles William, Duke of Saxe-Meiningen, Princess Louise of Saxe-Meiningen, George I, Duke of Saxe-Meiningen, Princess Charlotte of Saxe-Meiningen
Q213846 Q96849 Q215880 Q63603
AND((c(Q502895),P22,Q65025), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q65025
relation P22
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] have Anton Ulrich, Duke of Saxe-Meiningen as father and are a citizen of Germany
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q65025'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q65025 . ?q property:P27 resource:Q183 . ?q rdf:type ontology:Q502895 }
Charles William, Duke of Saxe-Meiningen Princess Louise of Saxe-Meiningen George I, Duke of Saxe-Meiningen Princess Charlotte of Saxe-Meiningen
Charles William, Duke of Saxe-Meiningen, Princess Louise of Saxe-Meiningen, George I, Duke of Saxe-Meiningen and Princess Charlotte of Saxe-Meiningen have Anton Ulrich, Duke of Saxe-Meiningen as father and are a citizen of Germany
Charles William, Duke of Saxe-Meiningen Princess Louise of Saxe-Meiningen George I, Duke of Saxe-Meiningen Princess Charlotte of Saxe-Meiningen
action filter_type
action intersection
action find_reverse
entity Anton Ulrich, Duke of Saxe-Meiningen
relation father
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Anton Ulrich, Duke of Saxe-Meiningen'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?q WHERE { ?q property:father resource:Anton_Ulrich,_Duke_of_Saxe-Meiningen . ?q property:country_of_citizenship resource:Germany . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres had their voice dubbing done by max number of people ?
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?z ) WHERE { ?a property:P725 ?s . ?a rdf:type ontology:Q15961987 . ?s rdf:type ontology:Q502895 } GROUP BY ?a } } . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?h ) WHERE { ?l property:P725 ?m . ?l rdf:type ontology:Q15961987 . ?m rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?h = ?f ) }
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?z ) WHERE { ?a property:voice_actor ?s . ?a rdf:type ontology:television_genre . ?s rdf:type ontology:common_name } GROUP BY ?a } } . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?h ) WHERE { ?l property:voice_actor ?m . ?l rdf:type ontology:television_genre . ?m rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?h = ?f ) }
[]
common name television genre
Q22773153
SYSTEM
Milo Murphy's Law
Q22773153
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?z ) WHERE { ?a property:P725 ?s . ?a rdf:type ontology:Q15961987 . ?s rdf:type ontology:Q502895 } GROUP BY ?a } } . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?h ) WHERE { ?l property:P725 ?m . ?l rdf:type ontology:Q15961987 . ?m rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?h = ?f ) }
Milo Murphy's Law
Milo Murphy's Law had their voice dubbing done by max number of people
Milo Murphy's Law
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?z ) WHERE { ?a property:voice_actor ?s . ?a rdf:type ontology:television_genre . ?s rdf:type ontology:common_name } GROUP BY ?a } } . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?h ) WHERE { ?l property:voice_actor ?m . ?l rdf:type ontology:television_genre . ?m rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?h = ?f ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q63603
P26 P21
Q502895
USER
Which people are the life partner of Princess Charlotte of Saxe-Meiningen and have the gender as male ?
AND((c(Q502895),P26,Q63603), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q63603
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q63603'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P26 resource:Q63603 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male Princess Charlotte of Saxe-Meiningen
action filter_type
action intersection
action find_reverse
entity Princess Charlotte of Saxe-Meiningen
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Princess Charlotte of Saxe-Meiningen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:spouse resource:Princess_Charlotte_of_Saxe-Meiningen . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q213698
SYSTEM
Ernest II, Duke of Saxe-Gotha-Altenburg
Q213698
AND((c(Q502895),P26,Q63603), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q63603
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the life partner of Princess Charlotte of Saxe-Meiningen and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q63603'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P26 resource:Q63603 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Ernest II, Duke of Saxe-Gotha-Altenburg
Ernest II, Duke of Saxe-Gotha-Altenburg is the life partner of Princess Charlotte of Saxe-Meiningen and have the gender as male
Ernest II, Duke of Saxe-Gotha-Altenburg
action filter_type
action intersection
action find_reverse
entity Princess Charlotte of Saxe-Meiningen
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Princess Charlotte of Saxe-Meiningen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:spouse resource:Princess_Charlotte_of_Saxe-Meiningen . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]