Simple Question (Direct)
Simple Question
Q77240
P102
Q7210356
USER
Which political organizations are Feleknas Uca a member of ?
(Q77240,P102,c(Q7210356))
action filter_type
action find
entity Q77240
relation P102
type Q7210356
['Q77240', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q77240 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Feleknas Uca
action filter_type
action find
entity Feleknas Uca
relation member of political party
type political organization
['Feleknas Uca', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Feleknas_Uca property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q152554 Q15123187 Q49764
SYSTEM
The Left Party.PDS, Peoples' Democratic Party, The Left
Q152554 Q15123187 Q49764
(Q77240,P102,c(Q7210356))
action filter_type
action find
entity Q77240
relation P102
type Q7210356
[ANSWERS] are Feleknas Uca a member of
['Q77240', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q77240 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
The Left Party.PDS Peoples' Democratic Party The Left
The Left Party.PDS, Peoples' Democratic Party and The Left are Feleknas Uca a member of
The Left Party.PDS Peoples' Democratic Party The Left
action filter_type
action find
entity Feleknas Uca
relation member of political party
type political organization
['Feleknas Uca', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Feleknas_Uca property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q152554 Q15123187 Q49764
P488
Q502895
USER
Which people were the chairpersons of The Left Party.PDS, Peoples' Democratic Party and The Left ?
(Q152554,P488,c(Q502895)) (Q15123187,P488,c(Q502895)) (Q49764,P488,c(Q502895))
action union
action filter_type
action find
entity Q152554
relation P488
type Q502895
action filter_type
action find
entity Q15123187
relation P488
type Q502895
action filter_type
action find
entity Q49764
relation P488
type Q502895
['Q152554', 'P488', {'concept': 'Q502895'}] ['Q15123187', 'P488', {'concept': 'Q502895'}] ['Q49764', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?j property:P488 ?a . VALUES ( ?j ) { ( resource:Q152554 ) ( resource:Q15123187 ) } }
The Left Party.PDS Peoples' Democratic Party The Left
action union
action filter_type
action find
entity The Left Party.PDS
relation chairperson
type common name
action filter_type
action find
entity Peoples' Democratic Party
relation chairperson
type common name
action filter_type
action find
entity The Left
relation chairperson
type common name
['The Left Party.PDS', 'chairperson', {'concept': 'common name'}] ["Peoples' Democratic Party", 'chairperson', {'concept': 'common name'}] ['The Left', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?j property:chairperson ?a . VALUES ( ?j ) { ( resource:The_Left_Party.PDS ) ( resource:Peoples'_Democratic_Party ) } }
[]
common name
Q71018 Q71018 Q65126
SYSTEM
Lothar Bisky for 1st, 2nd, Gregor Gysi for 3rd
Q77771 Q71018 Q65126 Q1395724 Q110719 Q71018 Q26206 Q65114 Q76342 Q69346
(Q152554,P488,c(Q502895)) (Q15123187,P488,c(Q502895)) (Q49764,P488,c(Q502895))
action union
action filter_type
action find
entity Q152554
relation P488
type Q502895
action filter_type
action find
entity Q15123187
relation P488
type Q502895
action filter_type
action find
entity Q49764
relation P488
type Q502895
[ANSWERS]
['Q152554', 'P488', {'concept': 'Q502895'}] ['Q15123187', 'P488', {'concept': 'Q502895'}] ['Q49764', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?j property:P488 ?a . VALUES ( ?j ) { ( resource:Q152554 ) ( resource:Q15123187 ) } }
Gabriele Zimmer Lothar Bisky Gregor Gysi Selahattin Demirtaş Oskar Lafontaine Lothar Bisky Klaus Ernst Gesine Lötzsch Katja Kipping Bernd Riexinger
Lothar Bisky, Lothar Bisky and Gregor Gysi were the chairpersons of The Left Party.PDS, Peoples' Democratic Party and The Left
Lothar Bisky Lothar Bisky Gregor Gysi
action union
action filter_type
action find
entity The Left Party.PDS
relation chairperson
type common name
action filter_type
action find
entity Peoples' Democratic Party
relation chairperson
type common name
action filter_type
action find
entity The Left
relation chairperson
type common name
['The Left Party.PDS', 'chairperson', {'concept': 'common name'}] ["Peoples' Democratic Party", 'chairperson', {'concept': 'common name'}] ['The Left', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?j property:chairperson ?a . VALUES ( ?j ) { ( resource:The_Left_Party.PDS ) ( resource:Peoples'_Democratic_Party ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152554
P17
Q1048835
USER
Which political territory is The Left Party.PDS situated in ?
(Q71018,P17,c(Q1048835)) (Q71018,P17,c(Q1048835)) (Q65126,P17,c(Q1048835))
action filter_type
action find
entity Q152554
relation P17
type Q1048835
['Q71018', 'P17', {'concept': 'Q1048835'}] ['Q71018', 'P17', {'concept': 'Q1048835'}] ['Q65126', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q152554 property:P17 ?p }
The Left Party.PDS
action filter_type
action find
entity The Left Party.PDS
relation country
type political territorial entity
['Lothar Bisky', 'country', {'concept': 'political territorial entity'}] ['Lothar Bisky', 'country', {'concept': 'political territorial entity'}] ['Gregor Gysi', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:The_Left_Party.PDS property:country ?p }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q71018,P17,c(Q1048835)) (Q71018,P17,c(Q1048835)) (Q65126,P17,c(Q1048835))
action filter_type
action find
entity Q152554
relation P17
type Q1048835
The Left Party.PDS is situated in [ANSWER]
['Q71018', 'P17', {'concept': 'Q1048835'}] ['Q71018', 'P17', {'concept': 'Q1048835'}] ['Q65126', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q152554 property:P17 ?p }
Germany
The Left Party.PDS is situated in Germany
Germany
action filter_type
action find
entity The Left Party.PDS
relation country
type political territorial entity
['Lothar Bisky', 'country', {'concept': 'political territorial entity'}] ['Lothar Bisky', 'country', {'concept': 'political territorial entity'}] ['Gregor Gysi', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:The_Left_Party.PDS property:country ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P361
Q56061 Q2221906
USER
How many administrative territories and geographic locations are that political territory a portion of ?
(Q183,P361,c(Q56061)) (Q183,P361,c(Q2221906)) (Q183,P361,c(Q56061)) (Q183,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q56061
action filter_type
action find
entity Q183
relation P361
type Q2221906
['Q183', 'P361', {'concept': 'Q56061'}] ['Q183', 'P361', {'concept': 'Q2221906'}] ['Q183', 'P361', {'concept': 'Q56061'}] ['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q2221906 ) } . ?i rdf:type ?z }
action count
action union
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'administrative territorial entity'}] ['Germany', 'part of', {'concept': 'geographic location'}] ['Germany', 'part of', {'concept': 'administrative territorial entity'}] ['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:geographic_location ) } . ?i rdf:type ?z }
[]
administrative territorial entity geographic location
SYSTEM
1 administrative territories and 2 geographic locations
Q46 Q458 Q27509
(Q183,P361,c(Q56061)) (Q183,P361,c(Q2221906)) (Q183,P361,c(Q56061)) (Q183,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q56061
action filter_type
action find
entity Q183
relation P361
type Q2221906
[ANSWER]
['Q183', 'P361', {'concept': 'Q56061'}] ['Q183', 'P361', {'concept': 'Q2221906'}] ['Q183', 'P361', {'concept': 'Q56061'}] ['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q2221906 ) } . ?i rdf:type ?z }
Europe European Union Central Europe
1 administrative territories and 2 geographic locations
action count
action union
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'administrative territorial entity'}] ['Germany', 'part of', {'concept': 'geographic location'}] ['Germany', 'part of', {'concept': 'administrative territorial entity'}] ['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:geographic_location ) } . ?i rdf:type ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P172
Q502895
USER
Which people have Germany as his/her race ?
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?j WHERE { ?j property:P172 resource:Q183 . ?j rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?j WHERE { ?j property:ethnic_group resource:Germany . ?j rdf:type ontology:common_name }
[]
common name
Q63997 Q429919 Q30865
SYSTEM
Ken Adam, Philotheus Boehner, Eike Batista
Q26838019 Q63997 Q429919 Q16058601 Q6286878 Q30865
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[ANSWERS] have Germany as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?j WHERE { ?j property:P172 resource:Q183 . ?j rdf:type ontology:Q502895 }
Konrad Baumgarten Ken Adam Philotheus Boehner Wolf Traut Joseph Schipfer Eike Batista
Ken Adam, Philotheus Boehner and Eike Batista have Germany as his/her race
Ken Adam Philotheus Boehner Eike Batista
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?j WHERE { ?j property:ethnic_group resource:Germany . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P710
Q820655
USER
What event did Germany particiate in ?
(c(Q820655),P710,Q183)
action filter_type
action find_reverse
entity Q183
relation P710
type Q820655
[{'concept': 'Q820655'}, 'P710', 'Q183']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q183 . ?w rdf:type ontology:Q820655 }
Germany
action filter_type
action find_reverse
entity Germany
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'Germany']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Germany . ?w rdf:type ontology:statute }
[]
statute
Q672112 Q2307326
SYSTEM
Basic Treaty, Treaty of Rome
Q672112 Q2307326
(c(Q820655),P710,Q183)
action filter_type
action find_reverse
entity Q183
relation P710
type Q820655
Germany particiated at [ANSWERS]
[{'concept': 'Q820655'}, 'P710', 'Q183']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q183 . ?w rdf:type ontology:Q820655 }
Basic Treaty Treaty of Rome
Germany particiated at Basic Treaty and Treaty of Rome
Basic Treaty Treaty of Rome
action filter_type
action find_reverse
entity Germany
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'Germany']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Germany . ?w rdf:type ontology:statute }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P88
Q41176
USER
What did Germany commission ?
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P88 resource:Q183 . ?f rdf:type ontology:Q41176 }
Germany
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:commissioned_by resource:Germany . ?f rdf:type ontology:building }
[]
building
Q17416722
SYSTEM
Presse- und Informationsamt der Bundesregierung (Bonn)
Q17416722
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
Germany commissioned das [ANSWER]
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P88 resource:Q183 . ?f rdf:type ontology:Q41176 }
Presse- und Informationsamt der Bundesregierung (Bonn)
Germany commissioned das Presse- und Informationsamt der Bundesregierung (Bonn)
Presse- und Informationsamt der Bundesregierung (Bonn)
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:commissioned_by resource:Germany . ?f rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P6
Q502895
USER
Which people do Germany serve as the head of government for ?
(Q183,P6,c(Q502895))
action filter_type
action find
entity Q183
relation P6
type Q502895
['Q183', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q183 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Germany
action filter_type
action find
entity Germany
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Germany property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q567
(Q183,P6,c(Q502895))
action filter_type
action find
entity Q183
relation P6
type Q502895
Germany serve as the head of government for [ANSWERS]
['Q183', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q183 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Angela Merkel
Germany serve as the head of government for Konrad Adenauer, Willy Brandt and Angela Merkel
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity Germany
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Germany property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2514
P607
Q198
USER
Which war did that person take part in ?
(Q2514,P607,c(Q198))
action filter_type
action find
entity Q2514
relation P607
type Q198
['Q2514', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q2514 property:P607 ?s . ?s rdf:type ontology:Q198 }
Willy Brandt
action filter_type
action find
entity Willy Brandt
relation conflict
type war
['Willy Brandt', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Willy_Brandt property:conflict ?s . ?s rdf:type ontology:war }
[]
war
Clarification for simple ques.
Q2492
SYSTEM
Did you mean Konrad Adenauer ?
Q2492 Q2514 Q567
(Q2492,P607,c(Q198)) (Q2514,P607,c(Q198)) (Q567,P607,c(Q198))
[ANSWER]
['Q2492', 'P607', {'concept': 'Q198'}] ['Q2514', 'P607', {'concept': 'Q198'}] ['Q567', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q2514 property:P607 ?s . ?s rdf:type ontology:Q198 }
Konrad Adenauer Willy Brandt Angela Merkel
Did you mean Konrad Adenauer ?
Konrad Adenauer
['Konrad Adenauer', 'conflict', {'concept': 'war'}] ['Willy Brandt', 'conflict', {'concept': 'war'}] ['Angela Merkel', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Willy_Brandt property:conflict ?s . ?s rdf:type ontology:war }
[]
Simple Question (Coreferenced)
USER
No, I meant Willy Brandt. Could you tell me the answer for that?
(Q2514,P607,c(Q198))
Q2514
['Q2514', 'P607', {'concept': 'Q198'}]
['Willy Brandt', 'conflict', {'concept': 'war'}]
[]
Q10859
SYSTEM
Spanish Civil War
Q10859
(Q2514,P607,c(Q198))
action filter_type
action find
entity Q2514
relation P607
type Q198
Part that person took the [ANSWER]
['Q2514', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q2514 property:P607 ?s . ?s rdf:type ontology:Q198 }
Spanish Civil War
Part that person took the Spanish Civil War
Spanish Civil War
action filter_type
action find
entity Willy Brandt
relation conflict
type war
['Willy Brandt', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Willy_Brandt property:conflict ?s . ?s rdf:type ontology:war }
[]