Simple Question (Direct)
Simple Question
Q2515341
P106
Q12737077
USER
What does Verena Wiesmann do for a living ?
(Q2515341,P106,c(Q12737077))
action filter_type
action find
entity Q2515341
relation P106
type Q12737077
['Q2515341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q2515341 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Verena Wiesmann
action filter_type
action find
entity Verena Wiesmann
relation occupation
type occupation
['Verena Wiesmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Verena_Wiesmann property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2515341,P106,c(Q12737077))
action filter_type
action find
entity Q2515341
relation P106
type Q12737077
Verena Wiesmann does a [ANSWER] for a living
['Q2515341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q2515341 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
Verena Wiesmann does a politician for a living
politician
action filter_type
action find
entity Verena Wiesmann
relation occupation
type occupation
['Verena Wiesmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Verena_Wiesmann property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2515341
P102
Q7278
USER
Which political party is that person a member of ?
(Q82955,P102,c(Q7278))
action filter_type
action find
entity Q2515341
relation P102
type Q7278
['Q82955', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7278 . resource:Q2515341 property:P102 ?v }
Verena Wiesmann
action filter_type
action find
entity Verena Wiesmann
relation member of political party
type political party
['politician', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_party . resource:Verena_Wiesmann property:member_of_political_party ?v }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q82955,P102,c(Q7278))
action filter_type
action find
entity Q2515341
relation P102
type Q7278
[ANSWER] is that person a member of
['Q82955', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7278 . resource:Q2515341 property:P102 ?v }
Christian Democratic Union
Christian Democratic Union is that person a member of
Christian Democratic Union
action filter_type
action find
entity Verena Wiesmann
relation member of political party
type political party
['politician', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_party . resource:Verena_Wiesmann property:member_of_political_party ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2515341
P39
Q12737077
USER
What was the position held by that person ?
(Q49762,P39,c(Q12737077))
action filter_type
action find
entity Q2515341
relation P39
type Q12737077
['Q49762', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q2515341 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Verena Wiesmann
action filter_type
action find
entity Verena Wiesmann
relation position held
type occupation
['Christian Democratic Union', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Verena_Wiesmann property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q17521638
SYSTEM
Member of the Landtag of Lower Saxony
Q17521638
(Q49762,P39,c(Q12737077))
action filter_type
action find
entity Q2515341
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q49762', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q2515341 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Member of the Landtag of Lower Saxony
The position held by that person was Member of the Landtag of Lower Saxony
Member of the Landtag of Lower Saxony
action filter_type
action find
entity Verena Wiesmann
relation position held
type occupation
['Christian Democratic Union', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Verena_Wiesmann property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17521638 Q319994
P361
Q1752346
USER
Is Member of the Landtag of Lower Saxony a part of Landtag of Lower Saxony ?
(Q17521638,P361,Q319994)
action is_in
entity Q319994
action find
entity Q17521638
relation P361
['Q17521638', 'P361', 'Q319994']
ASK WHERE { resource:Q17521638 property:P361 resource:Q319994 }
Member of the Landtag of Lower Saxony Landtag of Lower Saxony
action is_in
entity Landtag of Lower Saxony
action find
entity Member of the Landtag of Lower Saxony
relation part of
['Member of the Landtag of Lower Saxony', 'part of', 'Landtag of Lower Saxony']
ASK WHERE { resource:Member_of_the_Landtag_of_Lower_Saxony property:part_of resource:Landtag_of_Lower_Saxony }
[]
assembly
SYSTEM
YES
(Q17521638,P361,Q319994)
action is_in
entity Q319994
action find
entity Q17521638
relation P361
[ANSWER]
['Q17521638', 'P361', 'Q319994']
ASK WHERE { resource:Q17521638 property:P361 resource:Q319994 }
Yes
action is_in
entity Landtag of Lower Saxony
action find
entity Member of the Landtag of Lower Saxony
relation part of
['Member of the Landtag of Lower Saxony', 'part of', 'Landtag of Lower Saxony']
ASK WHERE { resource:Member_of_the_Landtag_of_Lower_Saxony property:part_of resource:Landtag_of_Lower_Saxony }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3591188
P1441
Q838948 Q15416 Q502895
USER
Which people are present in greater number of works of art and television programs than Erik Refilsson ?
(c(Q502895),P1441,c(Q838948)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q3591188
relation P1441
type Q838948
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?g } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q3591188 property:P1441 ?w . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } }
Erik Refilsson
action greater
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Erik Refilsson
relation present in work
type work of art
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television program'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?g } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Erik_Refilsson property:present_in_work ?w . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } }
[]
work of art television program common name
Q9181 Q37085 Q9077
SYSTEM
Abraham, Solomon, Moses
Q23885172 Q24579400 Q24624067 Q3343834 Q24577230 Q494455 Q24622402 Q20656752 Q1353836 Q19975705 Q25885222 Q181538 Q24623408 Q9077 Q24624893 Q1396131 Q3259530 Q24625686 Q24577318 Q24625326 Q25858050 Q26858752 Q24633210 Q1346246 Q550255 Q24625073 Q24623579 Q264699 Q37085 Q24577238 Q24632700 Q24626363 Q32295 Q24633126 Q3658171 Q4804479 Q26721185 Q24623790 Q200947 Q24083251 Q9181 Q25923184 Q26858995 Q372783 Q16006746 Q24626010 Q26858919
(c(Q502895),P1441,c(Q838948)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q3591188
relation P1441
type Q838948
type Q15416
[ANSWERS] are present in greater number of works of art and television programs than Erik Refilsson
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?g } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q3591188 property:P1441 ?w . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } }
Victor Petit Jebidiah Farnsworth Bea Hansen Norman Winther Harriet Mutesi Orville Wright Frank Fauteux Bernard C. Webber Hrothgar Daniel Webster Cluff James Harcourt Rudolf Abel Eldon Hanan Moses Raymond Sybert Wilbur Wright Loretta Jones Andy Fitzgerald Sara Katende Miriam Webber Helen Kingsleigh Sarah Katende George "Tiny" Myers Johnny Ringo J. William Fulbright Richard Livesey Wallace Quirey Wil Wheaton Solomon Robert Katende John Stello Mel Gouthro Michael J. Massimino Donald Bangs Phiona Mutesi Ash Vasudevan Lena Gogan D.A. Brown Ahmad ibn Fadlan Stan the Man Abraham Elizabeth Ham Aloysius Kyazze Adrian Cronauer James B. Donovan Ervin Maske Hope Katende
Abraham, Solomon and Moses are present in greater number of works of art and television programs than Erik Refilsson
Abraham Solomon Moses
action greater
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Erik Refilsson
relation present in work
type work of art
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television program'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?g WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?g } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Erik_Refilsson property:present_in_work ?w . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1768161
P1441
Q838948 Q15416 Q502895
USER
And how about Islamic views on Abraham?
(c(Q502895),P1441,c(Q838948)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q1768161
relation P1441
type Q838948
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:P1441 ?p . ?c rdf:type ontology:Q502895 . ?p rdf:type ontology:Q838948 } UNION { ?c property:P1441 ?p . ?p rdf:type ontology:Q15416 . ?c rdf:type ontology:Q502895 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?w rdf:type ?v } . resource:Q1768161 property:P1441 ?w } } . FILTER ( ?k > ?h ) }
Islamic views on Abraham
action greater
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Islamic views on Abraham
relation present in work
type work of art
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television program'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:present_in_work ?p . ?c rdf:type ontology:common_name . ?p rdf:type ontology:work_of_art } UNION { ?c property:present_in_work ?p . ?p rdf:type ontology:television_program . ?c rdf:type ontology:common_name } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?w rdf:type ?v } . resource:Islamic_views_on_Abraham property:present_in_work ?w } } . FILTER ( ?k > ?h ) }
[]
work of art television program common name
Q9181 Q37085 Q9077
SYSTEM
Abraham, Solomon, Moses
Q23885172 Q24579400 Q24624067 Q3343834 Q24577230 Q494455 Q24622402 Q20656752 Q1353836 Q19975705 Q25885222 Q181538 Q24623408 Q9077 Q24624893 Q1396131 Q3259530 Q24625686 Q24577318 Q24625326 Q25858050 Q26858752 Q24633210 Q1346246 Q550255 Q24625073 Q24623579 Q264699 Q37085 Q24577238 Q24632700 Q24626363 Q32295 Q24633126 Q3658171 Q4804479 Q26721185 Q24623790 Q200947 Q24083251 Q9181 Q25923184 Q26858995 Q372783 Q16006746 Q24626010 Q26858919
(c(Q502895),P1441,c(Q838948)|c(Q15416))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action count
action filter_multi_types
action find
entity Q1768161
relation P1441
type Q838948
type Q15416
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:P1441 ?p . ?c rdf:type ontology:Q502895 . ?p rdf:type ontology:Q838948 } UNION { ?c property:P1441 ?p . ?p rdf:type ontology:Q15416 . ?c rdf:type ontology:Q502895 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?w rdf:type ?v } . resource:Q1768161 property:P1441 ?w } } . FILTER ( ?k > ?h ) }
Victor Petit Jebidiah Farnsworth Bea Hansen Norman Winther Harriet Mutesi Orville Wright Frank Fauteux Bernard C. Webber Hrothgar Daniel Webster Cluff James Harcourt Rudolf Abel Eldon Hanan Moses Raymond Sybert Wilbur Wright Loretta Jones Andy Fitzgerald Sara Katende Miriam Webber Helen Kingsleigh Sarah Katende George "Tiny" Myers Johnny Ringo J. William Fulbright Richard Livesey Wallace Quirey Wil Wheaton Solomon Robert Katende John Stello Mel Gouthro Michael J. Massimino Donald Bangs Phiona Mutesi Ash Vasudevan Lena Gogan D.A. Brown Ahmad ibn Fadlan Stan the Man Abraham Elizabeth Ham Aloysius Kyazze Adrian Cronauer James B. Donovan Ervin Maske Hope Katende
Abraham Solomon Moses
action greater
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type television program
action count
action filter_multi_types
action find
entity Islamic views on Abraham
relation present in work
type work of art
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'television program'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?c WHERE { { ?c property:present_in_work ?p . ?c rdf:type ontology:common_name . ?p rdf:type ontology:work_of_art } UNION { ?c property:present_in_work ?p . ?p rdf:type ontology:television_program . ?c rdf:type ontology:common_name } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?w rdf:type ?v } . resource:Islamic_views_on_Abraham property:present_in_work ?w } } . FILTER ( ?k > ?h ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9181 Q37085 Q9077
P21
Q290
USER
Which sexes do Abraham, Solomon and Moses possess ?
(Q9181,P21,c(Q290)) (Q37085,P21,c(Q290)) (Q9077,P21,c(Q290))
action union
action filter_type
action find
entity Q9181
relation P21
type Q290
action filter_type
action find
entity Q37085
relation P21
type Q290
action filter_type
action find
entity Q9077
relation P21
type Q290
['Q9181', 'P21', {'concept': 'Q290'}] ['Q37085', 'P21', {'concept': 'Q290'}] ['Q9077', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?p property:P21 ?l . VALUES ( ?p ) { ( resource:Q9181 ) ( resource:Q37085 ) } }
Abraham Solomon Moses
action union
action filter_type
action find
entity Abraham
relation gender
type sex
action filter_type
action find
entity Solomon
relation gender
type sex
action filter_type
action find
entity Moses
relation gender
type sex
['Abraham', 'gender', {'concept': 'sex'}] ['Solomon', 'gender', {'concept': 'sex'}] ['Moses', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?p property:gender ?l . VALUES ( ?p ) { ( resource:Abraham ) ( resource:Solomon ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q9181,P21,c(Q290)) (Q37085,P21,c(Q290)) (Q9077,P21,c(Q290))
action union
action filter_type
action find
entity Q9181
relation P21
type Q290
action filter_type
action find
entity Q37085
relation P21
type Q290
action filter_type
action find
entity Q9077
relation P21
type Q290
Abraham , Solomon and Moses possess the [ANSWER], [ANSWER] and [ANSWER]
['Q9181', 'P21', {'concept': 'Q290'}] ['Q37085', 'P21', {'concept': 'Q290'}] ['Q9077', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?p property:P21 ?l . VALUES ( ?p ) { ( resource:Q9181 ) ( resource:Q37085 ) } }
male male male
Abraham , Solomon and Moses possess the male, male and male
male male male
action union
action filter_type
action find
entity Abraham
relation gender
type sex
action filter_type
action find
entity Solomon
relation gender
type sex
action filter_type
action find
entity Moses
relation gender
type sex
['Abraham', 'gender', {'concept': 'sex'}] ['Solomon', 'gender', {'concept': 'sex'}] ['Moses', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?p property:gender ?l . VALUES ( ?p ) { ( resource:Abraham ) ( resource:Solomon ) } }
[]