Simple Question (Direct)
Simple Question
Q1629380
P102
Q7278
USER
Which political party is Horst Ginnuttis a member of ?
(Q1629380,P102,c(Q7278))
action filter_type
action find
entity Q1629380
relation P102
type Q7278
['Q1629380', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q1629380 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Horst Ginnuttis
action filter_type
action find
entity Horst Ginnuttis
relation member of political party
type political party
['Horst Ginnuttis', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Horst_Ginnuttis property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1629380,P102,c(Q7278))
action filter_type
action find
entity Q1629380
relation P102
type Q7278
Party [ANSWER] is Horst Ginnuttis a member of
['Q1629380', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q1629380 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Horst Ginnuttis a member of
Social Democratic Party of Germany
action filter_type
action find
entity Horst Ginnuttis
relation member of political party
type political party
['Horst Ginnuttis', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Horst_Ginnuttis property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1629380
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q49768,P39,c(Q12737077))
action filter_type
action find
entity Q1629380
relation P39
type Q12737077
['Q49768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1629380 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Horst Ginnuttis
action filter_type
action find
entity Horst Ginnuttis
relation position held
type occupation
['Social Democratic Party of Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Horst_Ginnuttis property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q1939555
SYSTEM
member of the German Bundestag
Q1939555
(Q49768,P39,c(Q12737077))
action filter_type
action find
entity Q1629380
relation P39
type Q12737077
[ANSWER]
['Q49768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1629380 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the German Bundestag
Member of the German Bundestag
member of the German Bundestag
action filter_type
action find
entity Horst Ginnuttis
relation position held
type occupation
['Social Democratic Party of Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Horst_Ginnuttis property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19299327 Q1939555
P361
Q1752346
USER
Which assemblies are member of the German Bundestag or Member of Parliament of Tasmania a part of ?
OR((Q1939555,P361,c(Q1752346)), (Q19299327,P361,c(Q1752346)))
action filter_type
action union
action find
entity Q1939555
relation P361
action find
entity Q19299327
relation P361
type Q1752346
{'OR': [['Q1939555', 'P361', {'concept': 'Q1752346'}], ['Q19299327', 'P361', {'concept': 'Q1752346'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1752346 . { { resource:Q19299327 property:P361 ?l } UNION { resource:Q1939555 property:P361 ?l } } }
Member of Parliament of Tasmania member of the German Bundestag
action filter_type
action union
action find
entity member of the German Bundestag
relation part of
action find
entity Member of Parliament of Tasmania
relation part of
type assembly
{'OR': [['member of the German Bundestag', 'part of', {'concept': 'assembly'}], ['Member of Parliament of Tasmania', 'part of', {'concept': 'assembly'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:assembly . { { resource:Member_of_Parliament_of_Tasmania property:part_of ?l } UNION { resource:member_of_the_German_Bundestag property:part_of ?l } } }
[]
assembly
Q3365524 Q154797
SYSTEM
Parliament of Tasmania, Bundestag of Germany
Q3365524 Q154797
OR((Q1939555,P361,c(Q1752346)), (Q19299327,P361,c(Q1752346)))
action filter_type
action union
action find
entity Q1939555
relation P361
action find
entity Q19299327
relation P361
type Q1752346
The [ANSWERS] are member of the German Bundestag or Member of Parliament of Tasmania a part of
{'OR': [['Q1939555', 'P361', {'concept': 'Q1752346'}], ['Q19299327', 'P361', {'concept': 'Q1752346'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1752346 . { { resource:Q19299327 property:P361 ?l } UNION { resource:Q1939555 property:P361 ?l } } }
Parliament of Tasmania Bundestag of Germany
The Parliament of Tasmania and Bundestag of Germany are member of the German Bundestag or Member of Parliament of Tasmania a part of
Parliament of Tasmania Bundestag of Germany
action filter_type
action union
action find
entity member of the German Bundestag
relation part of
action find
entity Member of Parliament of Tasmania
relation part of
type assembly
{'OR': [['member of the German Bundestag', 'part of', {'concept': 'assembly'}], ['Member of Parliament of Tasmania', 'part of', {'concept': 'assembly'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:assembly . { { resource:Member_of_Parliament_of_Tasmania property:part_of ?l } UNION { resource:member_of_the_German_Bundestag property:part_of ?l } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P108
Q502895
USER
How many people works for that assembly ?
(c(Q502895),P108,Q154797)
[{'concept': 'Q502895'}, 'P108', 'Q154797']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3053337 resource:Q154797 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'employer', 'Bundestag of Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:employer resource:Bundestag_of_Germany . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q154797
SYSTEM
Did you mean Bundestag of Germany ?
(c(Q502895),P108,Q3365524) (c(Q502895),P108,Q154797)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q3365524'] [{'concept': 'Q502895'}, 'P108', 'Q154797']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3053337 resource:Q154797 . ?z rdf:type ontology:Q502895 }
Did you mean Bundestag of Germany ?
Bundestag of Germany
[{'concept': 'common name'}, 'employer', 'Parliament of Tasmania'] [{'concept': 'common name'}, 'employer', 'Bundestag of Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:employer resource:Bundestag_of_Germany . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P108,Q154797)
[{'concept': 'Q502895'}, 'P108', 'Q154797']
[{'concept': 'common name'}, 'employer', 'Bundestag of Germany']
[]
SYSTEM
3
Q95307 Q15059345 Q1627972
(c(Q502895),P108,Q154797)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q154797']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3053337 resource:Q154797 . ?z rdf:type ontology:Q502895 }
Tom Enders Stefan Fröhlich Sabine Adler
3
[{'concept': 'common name'}, 'employer', 'Bundestag of Germany']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:employer resource:Bundestag_of_Germany . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154797
P488
Q502895
USER
Which people were the chairpersons of Bundestag of Germany ?
(Q154797,P488,c(Q502895))
action filter_type
action find
entity Q154797
relation P488
type Q502895
['Q154797', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q154797 property:P488 ?v . ?v rdf:type ontology:Q502895 }
Bundestag of Germany
action filter_type
action find
entity Bundestag of Germany
relation chairperson
type common name
['Bundestag of Germany', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bundestag_of_Germany property:chairperson ?v . ?v rdf:type ontology:common_name }
[]
common name
Q2569 Q57474 Q454669
SYSTEM
Karl Carstens, Norbert Lammert, Richard Stücklen
Q57474 Q2569 Q62703 Q454669 Q66286 Q470285 Q214060 Q78425 Q70058 Q66138 Q65526 Q66447
(Q154797,P488,c(Q502895))
action filter_type
action find
entity Q154797
relation P488
type Q502895
[ANSWERS] were the chairpersons of Bundestag of Germany
['Q154797', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q154797 property:P488 ?v . ?v rdf:type ontology:Q502895 }
Norbert Lammert Karl Carstens Wolfgang Thierse Richard Stücklen Rita Süssmuth Rainer Barzel Philipp Jenninger Hermann Ehlers Erich Köhler Annemarie Renger Kai-Uwe von Hassel Eugen Gerstenmaier
Karl Carstens, Norbert Lammert and Richard Stücklen were the chairpersons of Bundestag of Germany
Karl Carstens Norbert Lammert Richard Stücklen
action filter_type
action find
entity Bundestag of Germany
relation chairperson
type common name
['Bundestag of Germany', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bundestag_of_Germany property:chairperson ?v . ?v rdf:type ontology:common_name }
[]