Simple Question (Direct)
Simple Question
Q1126667
P39
Q12737077
USER
Which occupation was a position for which Konrad Blenkle was appointed ?
(Q1126667,P39,c(Q12737077))
action filter_type
action find
entity Q1126667
relation P39
type Q12737077
['Q1126667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1126667 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Konrad Blenkle
action filter_type
action find
entity Konrad Blenkle
relation position held
type occupation
['Konrad Blenkle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Konrad_Blenkle property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q17850767
SYSTEM
member of the Reichstag of the Weimar Republic
Q17850767
(Q1126667,P39,c(Q12737077))
action filter_type
action find
entity Q1126667
relation P39
type Q12737077
A [ANSWER] was a position for which Konrad Blenkle was appointed
['Q1126667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1126667 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Reichstag of the Weimar Republic
A member of the Reichstag of the Weimar Republic was a position for which Konrad Blenkle was appointed
member of the Reichstag of the Weimar Republic
action filter_type
action find
entity Konrad Blenkle
relation position held
type occupation
['Konrad Blenkle', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Konrad_Blenkle property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1126667
P21
Q290
USER
What is the sex of Konrad Blenkle ?
(Q1126667,P21,c(Q290))
action filter_type
action find
entity Q1126667
relation P21
type Q290
['Q1126667', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1126667 property:P21 ?t . ?t rdf:type ontology:Q290 }
Konrad Blenkle
action filter_type
action find
entity Konrad Blenkle
relation gender
type sex
['Konrad Blenkle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Konrad_Blenkle property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1126667,P21,c(Q290))
action filter_type
action find
entity Q1126667
relation P21
type Q290
The sex of Konrad Blenkle is the [ANSWER]
['Q1126667', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1126667 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Konrad Blenkle is the male
male
action filter_type
action find
entity Konrad Blenkle
relation gender
type sex
['Konrad Blenkle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Konrad_Blenkle property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1126667
P102
Q7278
USER
Which political party is Konrad Blenkle a member of ?
(Q1126667,P102,c(Q7278))
action filter_type
action find
entity Q1126667
relation P102
type Q7278
['Q1126667', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q1126667 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Konrad Blenkle
action filter_type
action find
entity Konrad Blenkle
relation member of political party
type political party
['Konrad Blenkle', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Konrad_Blenkle property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q153401
SYSTEM
Communist Party of Germany
Q153401
(Q1126667,P102,c(Q7278))
action filter_type
action find
entity Q1126667
relation P102
type Q7278
Germany [ANSWER] is Konrad Blenkle a member of
['Q1126667', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q1126667 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Communist Party of Germany
Germany Communist Party of Germany is Konrad Blenkle a member of
Communist Party of Germany
action filter_type
action find
entity Konrad Blenkle
relation member of political party
type political party
['Konrad Blenkle', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Konrad_Blenkle property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17850767
P361
Q1752346
USER
What is member of the Reichstag of the Weimar Republic a portion of ?
(Q17850767,P361,c(Q1752346))
action filter_type
action find
entity Q17850767
relation P361
type Q1752346
['Q17850767', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { resource:Q17850767 property:P361 ?r . ?r rdf:type ontology:Q1752346 }
member of the Reichstag of the Weimar Republic
action filter_type
action find
entity member of the Reichstag of the Weimar Republic
relation part of
type assembly
['member of the Reichstag of the Weimar Republic', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { resource:member_of_the_Reichstag_of_the_Weimar_Republic property:part_of ?r . ?r rdf:type ontology:assembly }
[]
assembly
Q637829
SYSTEM
Reichstag
Q637829
(Q17850767,P361,c(Q1752346))
action filter_type
action find
entity Q17850767
relation P361
type Q1752346
Member of the [ANSWER] of the Weimar Republic a portion of is the [ANSWER]
['Q17850767', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { resource:Q17850767 property:P361 ?r . ?r rdf:type ontology:Q1752346 }
Reichstag
Member of the Reichstag of the Weimar Republic a portion of is the Reichstag
Reichstag
action filter_type
action find
entity member of the Reichstag of the Weimar Republic
relation part of
type assembly
['member of the Reichstag of the Weimar Republic', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { resource:member_of_the_Reichstag_of_the_Weimar_Republic property:part_of ?r . ?r rdf:type ontology:assembly }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2409128
P941
Q502895 Q15619164 Q3305213
USER
How many people inspired more number of abstract beings and paintings than Dušan Popov ?
(c(Q15619164)|c(Q3305213),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q2409128
relation P941
type Q15619164
type Q3305213
[[{'concept': 'Q15619164'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P941 resource:Q2409128 . { VALUES ( ?y ) { ( ontology:Q15619164 ) ( ontology:Q3305213 ) } . ?o rdf:type ?y } } } . FILTER ( ?m > ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q502895 . ?q property:P941 ?e } UNION { ?q property:P941 ?e . ?e rdf:type ontology:Q502895 . ?q rdf:type ontology:Q3305213 } } GROUP BY ?e } }
Dušan Popov
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Dušan Popov
relation inspired by
type abstract being
type painting
[[{'concept': 'abstract being'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:inspired_by resource:Dušan_Popov . { VALUES ( ?y ) { ( ontology:abstract_being ) ( ontology:painting ) } . ?o rdf:type ?y } } } . FILTER ( ?m > ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:abstract_being . ?e rdf:type ontology:common_name . ?q property:inspired_by ?e } UNION { ?q property:inspired_by ?e . ?e rdf:type ontology:common_name . ?q rdf:type ontology:painting } } GROUP BY ?e } }
[]
common name abstract being painting
SYSTEM
9
Q19738291 Q302650 Q43715 Q164823 Q947525 Q79031 Q367447 Q550426 Q205365
(c(Q15619164)|c(Q3305213),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q2409128
relation P941
type Q15619164
type Q3305213
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P941 resource:Q2409128 . { VALUES ( ?y ) { ( ontology:Q15619164 ) ( ontology:Q3305213 ) } . ?o rdf:type ?y } } } . FILTER ( ?m > ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q502895 . ?q property:P941 ?e } UNION { ?q property:P941 ?e . ?e rdf:type ontology:Q502895 . ?q rdf:type ontology:Q3305213 } } GROUP BY ?e } }
Walter O'Brien Tate Donovan Vlad Tepes Girolamo Savonarola Robert Gant Mike Tyson Louis Prima Jeffrey Katzenberg Cain
9
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Dušan Popov
relation inspired by
type abstract being
type painting
[[{'concept': 'abstract being'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:inspired_by resource:Dušan_Popov . { VALUES ( ?y ) { ( ontology:abstract_being ) ( ontology:painting ) } . ?o rdf:type ?y } } } . FILTER ( ?m > ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?m ) WHERE { { ?q rdf:type ontology:abstract_being . ?e rdf:type ontology:common_name . ?q property:inspired_by ?e } UNION { ?q property:inspired_by ?e . ?e rdf:type ontology:common_name . ?q rdf:type ontology:painting } } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q352
P941
Q502895 Q15619164 Q3305213
USER
And how about Adolf Hitler?
(c(Q15619164)|c(Q3305213),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q352
relation P941
type Q15619164
type Q3305213
[[{'concept': 'Q15619164'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { { ?i rdf:type ontology:Q3305213 } UNION { ?i rdf:type ontology:Q15619164 } } . ?i property:P941 resource:Q352 } } . FILTER ( ?s > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?k WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15619164 ) ( ontology:Q3305213 ) } } GROUP BY ?k } }
Adolf Hitler
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Adolf Hitler
relation inspired by
type abstract being
type painting
[[{'concept': 'abstract being'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { { ?i rdf:type ontology:painting } UNION { ?i rdf:type ontology:abstract_being } } . ?i property:inspired_by resource:Adolf_Hitler } } . FILTER ( ?s > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?k WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:abstract_being ) ( ontology:painting ) } } GROUP BY ?k } }
[]
common name abstract being painting
SYSTEM
9
Q19738291 Q302650 Q43715 Q164823 Q947525 Q79031 Q367447 Q550426 Q205365
(c(Q15619164)|c(Q3305213),P941,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q352
relation P941
type Q15619164
type Q3305213
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { { ?i rdf:type ontology:Q3305213 } UNION { ?i rdf:type ontology:Q15619164 } } . ?i property:P941 resource:Q352 } } . FILTER ( ?s > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?k WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15619164 ) ( ontology:Q3305213 ) } } GROUP BY ?k } }
Walter O'Brien Tate Donovan Vlad Tepes Girolamo Savonarola Robert Gant Mike Tyson Louis Prima Jeffrey Katzenberg Cain
9
action count
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Adolf Hitler
relation inspired by
type abstract being
type painting
[[{'concept': 'abstract being'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { { ?i rdf:type ontology:painting } UNION { ?i rdf:type ontology:abstract_being } } . ?i property:inspired_by resource:Adolf_Hitler } } . FILTER ( ?s > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?k WHERE { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:abstract_being ) ( ontology:painting ) } } GROUP BY ?k } }
[]