Simple Question (Direct)
Simple Question
Q213976
P39
Q12737077
USER
Which occupations were the positions for which Reinhold Maier were appointed ?
(Q213976,P39,c(Q12737077))
action filter_type
action find
entity Q213976
relation P39
type Q12737077
['Q213976', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q213976 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Reinhold Maier
action filter_type
action find
entity Reinhold Maier
relation position held
type occupation
['Reinhold Maier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Reinhold_Maier property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q1939555 Q17850767 Q17481175
SYSTEM
member of the German Bundestag, member of the Reichstag of the Weimar Republic, Member of the Landtag of Baden-Württemberg
Q17850767 Q363637 Q1939555 Q17481175
(Q213976,P39,c(Q12737077))
action filter_type
action find
entity Q213976
relation P39
type Q12737077
[ANSWERS] were the positions for which Reinhold Maier were appointed
['Q213976', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q213976 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Reichstag of the Weimar Republic President of the Bundesrat of Germany member of the German Bundestag Member of the Landtag of Baden-Württemberg
Member of the German Bundestag, member of the Reichstag of the Weimar Republic and Member of the Landtag of Baden-Württemberg were the positions for which Reinhold Maier were appointed
member of the German Bundestag member of the Reichstag of the Weimar Republic Member of the Landtag of Baden-Württemberg
action filter_type
action find
entity Reinhold Maier
relation position held
type occupation
['Reinhold Maier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Reinhold_Maier property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1939555 Q17850767 Q17481175
P361
Q1752346
USER
Which assemblies are member of the German Bundestag, member of the Reichstag of the Weimar Republic and Member of the Landtag of Baden-Württemberg a part of ?
(Q1939555,P361,c(Q1752346)) (Q17850767,P361,c(Q1752346)) (Q17481175,P361,c(Q1752346))
action union
action filter_type
action find
entity Q1939555
relation P361
type Q1752346
action filter_type
action find
entity Q17850767
relation P361
type Q1752346
action filter_type
action find
entity Q17481175
relation P361
type Q1752346
['Q1939555', 'P361', {'concept': 'Q1752346'}] ['Q17850767', 'P361', {'concept': 'Q1752346'}] ['Q17481175', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?s ) { ( resource:Q1939555 ) ( resource:Q17850767 ) } . ?s property:P361 ?x }
member of the German Bundestag member of the Reichstag of the Weimar Republic Member of the Landtag of Baden-Württemberg
action union
action filter_type
action find
entity member of the German Bundestag
relation part of
type assembly
action filter_type
action find
entity member of the Reichstag of the Weimar Republic
relation part of
type assembly
action filter_type
action find
entity Member of the Landtag of Baden-Württemberg
relation part of
type assembly
['member of the German Bundestag', 'part of', {'concept': 'assembly'}] ['member of the Reichstag of the Weimar Republic', 'part of', {'concept': 'assembly'}] ['Member of the Landtag of Baden-Württemberg', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?s ) { ( resource:member_of_the_German_Bundestag ) ( resource:member_of_the_Reichstag_of_the_Weimar_Republic ) } . ?s property:part_of ?x }
[]
assembly
Q154797 Q637829 Q455697
SYSTEM
Bundestag of Germany, Reichstag, Landtag of Baden-Württemberg
Q154797 Q637829 Q455697
(Q1939555,P361,c(Q1752346)) (Q17850767,P361,c(Q1752346)) (Q17481175,P361,c(Q1752346))
action union
action filter_type
action find
entity Q1939555
relation P361
type Q1752346
action filter_type
action find
entity Q17850767
relation P361
type Q1752346
action filter_type
action find
entity Q17481175
relation P361
type Q1752346
Germany [ANSWERS] are member of the German Bundestag, member of the Reichstag of the Weimar Republic and Member of the Landtag of Baden-Württemberg a part of
['Q1939555', 'P361', {'concept': 'Q1752346'}] ['Q17850767', 'P361', {'concept': 'Q1752346'}] ['Q17481175', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?s ) { ( resource:Q1939555 ) ( resource:Q17850767 ) } . ?s property:P361 ?x }
Bundestag of Germany Reichstag Landtag of Baden-Württemberg
Germany Bundestag of Germany, Reichstag and Landtag of Baden-Württemberg are member of the German Bundestag, member of the Reichstag of the Weimar Republic and Member of the Landtag of Baden-Württemberg a part of
Bundestag of Germany Reichstag Landtag of Baden-Württemberg
action union
action filter_type
action find
entity member of the German Bundestag
relation part of
type assembly
action filter_type
action find
entity member of the Reichstag of the Weimar Republic
relation part of
type assembly
action filter_type
action find
entity Member of the Landtag of Baden-Württemberg
relation part of
type assembly
['member of the German Bundestag', 'part of', {'concept': 'assembly'}] ['member of the Reichstag of the Weimar Republic', 'part of', {'concept': 'assembly'}] ['Member of the Landtag of Baden-Württemberg', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?s ) { ( resource:member_of_the_German_Bundestag ) ( resource:member_of_the_Reichstag_of_the_Weimar_Republic ) } . ?s property:part_of ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q154797 Q637829 Q455697
P361
Q12737077
USER
Which occupations are a component of those assemblies ?
(c(Q12737077),P361,Q154797) (c(Q12737077),P361,Q637829) (c(Q12737077),P361,Q455697)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q154797'] [{'concept': 'Q12737077'}, 'P361', 'Q637829'] [{'concept': 'Q12737077'}, 'P361', 'Q455697']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . VALUES ( ?w ) { ( resource:Q154797 ) ( resource:Q637829 ) ( resource:Q455697 ) } . ?h property:P361 ?w }
Bundestag of Germany Reichstag Landtag of Baden-Württemberg
action filter_type
action find_reverse
entity prev_answer
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Bundestag of Germany'] [{'concept': 'occupation'}, 'part of', 'Reichstag'] [{'concept': 'occupation'}, 'part of', 'Landtag of Baden-Württemberg']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . VALUES ( ?w ) { ( resource:Bundestag_of_Germany ) ( resource:Reichstag ) ( resource:Landtag_of_Baden-Württemberg ) } . ?h property:part_of ?w }
[]
occupation
Q1939555 Q17850767 Q17481175
SYSTEM
member of the German Bundestag, member of the Reichstag of the Weimar Republic, Member of the Landtag of Baden-Württemberg
Q1939555 Q17850767 Q17481175
(c(Q12737077),P361,Q154797) (c(Q12737077),P361,Q637829) (c(Q12737077),P361,Q455697)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q12737077
[ANSWERS] are a component of those assemblies
[{'concept': 'Q12737077'}, 'P361', 'Q154797'] [{'concept': 'Q12737077'}, 'P361', 'Q637829'] [{'concept': 'Q12737077'}, 'P361', 'Q455697']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . VALUES ( ?w ) { ( resource:Q154797 ) ( resource:Q637829 ) ( resource:Q455697 ) } . ?h property:P361 ?w }
member of the German Bundestag member of the Reichstag of the Weimar Republic Member of the Landtag of Baden-Württemberg
Member of the German Bundestag, member of the Reichstag of the Weimar Republic and Member of the Landtag of Baden-Württemberg are a component of those assemblies
member of the German Bundestag member of the Reichstag of the Weimar Republic Member of the Landtag of Baden-Württemberg
action filter_type
action find_reverse
entity prev_answer
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Bundestag of Germany'] [{'concept': 'occupation'}, 'part of', 'Reichstag'] [{'concept': 'occupation'}, 'part of', 'Landtag of Baden-Württemberg']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . VALUES ( ?w ) { ( resource:Bundestag_of_Germany ) ( resource:Reichstag ) ( resource:Landtag_of_Baden-Württemberg ) } . ?h property:part_of ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1939555
P106
Q502895
USER
Which person has member of the German Bundestag as his/her means of employment ?
(c(Q502895),P106,Q1939555)
action filter_type
action find_reverse
entity Q1939555
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q1939555']
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q1939555 . ?y rdf:type ontology:Q502895 }
member of the German Bundestag
action filter_type
action find_reverse
entity member of the German Bundestag
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the German Bundestag']
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:member_of_the_German_Bundestag . ?y rdf:type ontology:common_name }
[]
common name
Q84942
SYSTEM
Herbert Hupka
Q84942
(c(Q502895),P106,Q1939555)
action filter_type
action find_reverse
entity Q1939555
relation P106
type Q502895
[ANSWER] has member of the German Bundestag as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q1939555']
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q1939555 . ?y rdf:type ontology:Q502895 }
Herbert Hupka
Herbert Hupka has member of the German Bundestag as his/her means of employment
Herbert Hupka
action filter_type
action find_reverse
entity member of the German Bundestag
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the German Bundestag']
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:member_of_the_German_Bundestag . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84942
P172
Q2472587
USER
What is the ethnicity of that person ?
(Q84942,P172,c(Q2472587))
action filter_type
action find
entity Q84942
relation P172
type Q2472587
['Q84942', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { resource:Q84942 property:P172 ?o . ?o rdf:type ontology:Q2472587 }
Herbert Hupka
action filter_type
action find
entity Herbert Hupka
relation ethnic group
type people
['Herbert Hupka', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { resource:Herbert_Hupka property:ethnic_group ?o . ?o rdf:type ontology:people }
[]
people
Q7325
SYSTEM
Jewish people
Q7325
(Q84942,P172,c(Q2472587))
action filter_type
action find
entity Q84942
relation P172
type Q2472587
The ethnicity of that person is from [ANSWER]
['Q84942', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { resource:Q84942 property:P172 ?o . ?o rdf:type ontology:Q2472587 }
Jewish people
The ethnicity of that person is from Jewish people
Jewish people
action filter_type
action find
entity Herbert Hupka
relation ethnic group
type people
['Herbert Hupka', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { resource:Herbert_Hupka property:ethnic_group ?o . ?o rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84942
P793
Q198
USER
Which war is a significant event associated with that person ?
(Q7325,P793,c(Q198))
action filter_type
action find
entity Q84942
relation P793
type Q198
['Q7325', 'P793', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q84942 property:P793 ?k . ?k rdf:type ontology:Q198 }
Herbert Hupka
action filter_type
action find
entity Herbert Hupka
relation significant event
type war
['Jewish people', 'significant event', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:Herbert_Hupka property:significant_event ?k . ?k rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q7325,P793,c(Q198))
action filter_type
action find
entity Q84942
relation P793
type Q198
[ANSWER] is a significant event associated with that person
['Q7325', 'P793', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q84942 property:P793 ?k . ?k rdf:type ontology:Q198 }
World War II
World War II is a significant event associated with that person
World War II
action filter_type
action find
entity Herbert Hupka
relation significant event
type war
['Jewish people', 'significant event', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:Herbert_Hupka property:significant_event ?k . ?k rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84942
P22
Q502895
USER
Who was the dad of Herbert Hupka ?
(Q84942,P22,c(Q502895))
action filter_type
action find
entity Q84942
relation P22
type Q502895
['Q84942', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q84942 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Herbert Hupka
action filter_type
action find
entity Herbert Hupka
relation father
type common name
['Herbert Hupka', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Herbert_Hupka property:father ?i . ?i rdf:type ontology:common_name }
[]
common name
Q19287605
SYSTEM
Karl Erich Hupka
Q19287605
(Q84942,P22,c(Q502895))
action filter_type
action find
entity Q84942
relation P22
type Q502895
The dad of Herbert Hupka was named [ANSWER]
['Q84942', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q84942 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Karl Erich Hupka
The dad of Herbert Hupka was named Karl Erich Hupka
Karl Erich Hupka
action filter_type
action find
entity Herbert Hupka
relation father
type common name
['Herbert Hupka', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Herbert_Hupka property:father ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q15709879 Q1792379
USER
Which occupations are demonstrated in atleast 1 artwork series and art genres ?
(c(Q15709879)|c(Q1792379),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q1792379 } UNION { ?q property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q15709879 } } GROUP BY ?a } }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:depicts ?a . ?a rdf:type ontology:occupation . ?q rdf:type ontology:art_genre } UNION { ?q property:depicts ?a . ?a rdf:type ontology:occupation . ?q rdf:type ontology:artwork_series } } GROUP BY ?a } }
[]
occupation artwork series art genre
Q4991371 Q838811 Q47064
SYSTEM
soldier, peasant, military personnel
Q2079936 Q47064 Q805221 Q12059906 Q622630 Q4991371 Q2730732 Q838811 Q39631
(c(Q15709879)|c(Q1792379),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[ANSWERS] are demonstrated in atleast 1 artwork series and art genres
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q1792379 } UNION { ?q property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q15709879 } } GROUP BY ?a } }
king of marksmen military personnel ballet dancer herder odalisque soldier equestrian peasant physician
Soldier, peasant and military personnel are demonstrated in atleast 1 artwork series and art genres
soldier peasant military personnel
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:depicts ?a . ?a rdf:type ontology:occupation . ?q rdf:type ontology:art_genre } UNION { ?q property:depicts ?a . ?a rdf:type ontology:occupation . ?q rdf:type ontology:artwork_series } } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7644839 Q1939555
P17 P1001
Q1048835
USER
Which political territories are member of the German Bundestag present in or apply to jurisdiction of Supreme Court ?
OR((Q1939555,P17,c(Q1048835)), (Q7644839,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q1939555
relation P17
action find
entity Q7644839
relation P1001
type Q1048835
{'OR': [['Q1939555', 'P17', {'concept': 'Q1048835'}], ['Q7644839', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q7644839 property:P1001 ?g } UNION { resource:Q1939555 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Supreme Court member of the German Bundestag
action filter_type
action union
action find
entity member of the German Bundestag
relation country
action find
entity Supreme Court
relation applies to jurisdiction
type political territorial entity
{'OR': [['member of the German Bundestag', 'country', {'concept': 'political territorial entity'}], ['Supreme Court', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Supreme_Court property:applies_to_jurisdiction ?g } UNION { resource:member_of_the_German_Bundestag property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q1054923
SYSTEM
Germany, British Hong Kong
Q183 Q1054923
OR((Q1939555,P17,c(Q1048835)), (Q7644839,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q1939555
relation P17
action find
entity Q7644839
relation P1001
type Q1048835
The [ANSWERS] are member of the German Bundestag present in or apply to jurisdiction of Supreme Court
{'OR': [['Q1939555', 'P17', {'concept': 'Q1048835'}], ['Q7644839', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q7644839 property:P1001 ?g } UNION { resource:Q1939555 property:P17 ?g } } . ?g rdf:type ontology:Q1048835 }
Germany British Hong Kong
The Germany and British Hong Kong are member of the German Bundestag present in or apply to jurisdiction of Supreme Court
Germany British Hong Kong
action filter_type
action union
action find
entity member of the German Bundestag
relation country
action find
entity Supreme Court
relation applies to jurisdiction
type political territorial entity
{'OR': [['member of the German Bundestag', 'country', {'concept': 'political territorial entity'}], ['Supreme Court', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Supreme_Court property:applies_to_jurisdiction ?g } UNION { resource:member_of_the_German_Bundestag property:country ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]