Simple Question (Direct)
Simple Question
Q15614572
P21
Q290
USER
What is the sex of Reine Feldt ?
(Q15614572,P21,c(Q290))
action filter_type
action find
entity Q15614572
relation P21
type Q290
['Q15614572', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q15614572 property:P21 ?l }
Reine Feldt
action filter_type
action find
entity Reine Feldt
relation gender
type sex
['Reine Feldt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Reine_Feldt property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15614572,P21,c(Q290))
action filter_type
action find
entity Q15614572
relation P21
type Q290
The sex of Reine Feldt is the [ANSWER]
['Q15614572', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q15614572 property:P21 ?l }
male
The sex of Reine Feldt is the male
male
action filter_type
action find
entity Reine Feldt
relation gender
type sex
['Reine Feldt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Reine_Feldt property:gender ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has the profession of that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has the profession of that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has the profession of that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24877298
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q24877298,P19,c(Q486972))
action filter_type
action find
entity Q24877298
relation P19
type Q486972
['Q24877298', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q24877298 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Antonín Straka
action filter_type
action find
entity Antonín Straka
relation place of birth
type human settlement
['Antonín Straka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Antonín_Straka property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q888865
SYSTEM
Bobrová
Q888865
(Q24877298,P19,c(Q486972))
action filter_type
action find
entity Q24877298
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q24877298', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q24877298 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Bobrová
Bobrová is the birthplace of that person
Bobrová
action filter_type
action find
entity Antonín Straka
relation place of birth
type human settlement
['Antonín Straka', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Antonín_Straka property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9262571
Q486972
USER
And also tell me about Franciszek Korga?
(Q9262571,P19,c(Q486972))
action filter_type
action find
entity Q9262571
relation P19
type Q486972
['Q9262571', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q9262571 property:P19 ?z . ?z rdf:type ontology:Q486972 }
Franciszek Korga
action filter_type
action find
entity Franciszek Korga
relation place of birth
type human settlement
['Franciszek Korga', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:Franciszek_Korga property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
human settlement
Q7536515
SYSTEM
Skowierzyn
Q7536515
(Q9262571,P19,c(Q486972))
action filter_type
action find
entity Q9262571
relation P19
type Q486972
[ANSWER]
['Q9262571', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q9262571 property:P19 ?z . ?z rdf:type ontology:Q486972 }
Skowierzyn
Skowierzyn
action filter_type
action find
entity Franciszek Korga
relation place of birth
type human settlement
['Franciszek Korga', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:Franciszek_Korga property:place_of_birth ?z . ?z rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7536515 Q36
P17
Q15617994
USER
Is that human settlement located in Poland ?
(Q7536515,P17,Q36)
action is_in
entity Q36
action find
entity Q7536515
relation P17
['Q7536515', 'P17', 'Q36']
ASK WHERE { resource:Q7536515 property:P17 resource:Q36 }
Skowierzyn Poland
action is_in
entity Poland
action find
entity Skowierzyn
relation country
['Skowierzyn', 'country', 'Poland']
ASK WHERE { resource:Skowierzyn property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7536515,P17,Q36)
action is_in
entity Q36
action find
entity Q7536515
relation P17
[ANSWER]
['Q7536515', 'P17', 'Q36']
ASK WHERE { resource:Q7536515 property:P17 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Skowierzyn
relation country
['Skowierzyn', 'country', 'Poland']
ASK WHERE { resource:Skowierzyn property:country resource:Poland }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15614572 Q937857 Q26694176
P106
Q12737077
USER
Does Reine Feldt have the profession as association football player and mayor of Bohonal de Ibor ?
(Q15614572,P106,Q937857) (Q15614572,P106,Q26694176)
action is_in
entity Q15614572
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q26694176
relation P106
['Q15614572', 'P106', 'Q937857'] ['Q15614572', 'P106', 'Q26694176']
ASK WHERE { resource:Q15614572 property:P106 resource:Q937857 . resource:Q15614572 property:P106 resource:Q26694176 }
Reine Feldt association football player mayor of Bohonal de Ibor
action is_in
entity Reine Feldt
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity mayor of Bohonal de Ibor
relation occupation
['Reine Feldt', 'occupation', 'association football player'] ['Reine Feldt', 'occupation', 'mayor of Bohonal de Ibor']
ASK WHERE { resource:Reine_Feldt property:occupation resource:association_football_player . resource:Reine_Feldt property:occupation resource:mayor_of_Bohonal_de_Ibor }
[]
occupation
SYSTEM
YES and NO respectively
(Q15614572,P106,Q937857) (Q15614572,P106,Q26694176)
action is_in
entity Q15614572
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q26694176
relation P106
[ANSWER]
['Q15614572', 'P106', 'Q937857'] ['Q15614572', 'P106', 'Q26694176']
ASK WHERE { resource:Q15614572 property:P106 resource:Q937857 . resource:Q15614572 property:P106 resource:Q26694176 }
YES and NO respectively
action is_in
entity Reine Feldt
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity mayor of Bohonal de Ibor
relation occupation
['Reine Feldt', 'occupation', 'association football player'] ['Reine Feldt', 'occupation', 'mayor of Bohonal de Ibor']
ASK WHERE { resource:Reine_Feldt property:occupation resource:association_football_player . resource:Reine_Feldt property:occupation resource:mayor_of_Bohonal_de_Ibor }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q1048835
USER
Which political territories are sister town of atleast 2 human settlements ?
(c(Q1048835),P190,c(Q486972))
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q486972
value 2
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?c ) WHERE { ?j property:P190 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q486972 } GROUP BY ?j } . FILTER ( ?c >= 2 ) }
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
value 2
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?c ) WHERE { ?j property:sister_city ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:human_settlement } GROUP BY ?j } . FILTER ( ?c >= 2 ) }
[]
human settlement political territorial entity
Q615722
SYSTEM
Santa Fe
Q615722
(c(Q1048835),P190,c(Q486972))
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q486972
value 2
[ANSWER] is sister town of atleast 2 human settlements
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?c ) WHERE { ?j property:P190 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q486972 } GROUP BY ?j } . FILTER ( ?c >= 2 ) }
Santa Fe
Santa Fe is sister town of atleast 2 human settlements
Santa Fe
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
value 2
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?c ) WHERE { ?j property:sister_city ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:human_settlement } GROUP BY ?j } . FILTER ( ?c >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q17444909 Q811979
USER
Which human settlements are the origin of atleast 1 astronomical object types or architectural structures ?
(c(Q17444909)|c(Q811979),P138,c(Q486972))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q486972
type Q811979
value 1
[[{'concept': 'Q17444909'}, {'concept': 'Q811979'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?d WHERE { { ?w property:P138 ?d . ?d rdf:type ontology:Q486972 . ?w rdf:type ontology:Q17444909 } UNION { ?w property:P138 ?d . ?d rdf:type ontology:Q486972 . ?w rdf:type ontology:Q811979 } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type astronomical object type
action find_reverse_tuple_counts
relation named after
type human settlement
type architectural structure
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'architectural structure'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?d WHERE { { ?w property:named_after ?d . ?d rdf:type ontology:human_settlement . ?w rdf:type ontology:astronomical_object_type } UNION { ?w property:named_after ?d . ?d rdf:type ontology:human_settlement . ?w rdf:type ontology:architectural_structure } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
[]
human settlement astronomical object type architectural structure
Q1055 Q1792 Q41753
SYSTEM
Hamburg, Gdańsk, Klagenfurt
Q41753 Q210205 Q192508 Q3120746 Q47554 Q193638 Q1055 Q933361 Q1792 Q213464 Q24879 Q173270 Q16304198 Q21334433 Q14613273 Q11861983 Q268 Q2855829 Q12730377 Q2701404 Q14835 Q153974
(c(Q17444909)|c(Q811979),P138,c(Q486972))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q486972
type Q811979
value 1
[ANSWERS] are the origin of atleast 1 astronomical object types or architectural structures
[[{'concept': 'Q17444909'}, {'concept': 'Q811979'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?d WHERE { { ?w property:P138 ?d . ?d rdf:type ontology:Q486972 . ?w rdf:type ontology:Q17444909 } UNION { ?w property:P138 ?d . ?d rdf:type ontology:Q486972 . ?w rdf:type ontology:Q811979 } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
Klagenfurt Pest Bergen op Zoom Ochanomizu Toruń Shibuya-ku Hamburg Stonařov Gdańsk Adachi Bremen Veracruz Beaujoire Kerbourg Axelsberg Heinäpää Poznań De Greiden Inanda, KwaZulu-Natal Ménilmontant Bautzen Barmen
Hamburg, Gdańsk and Klagenfurt are the origin of atleast 1 astronomical object types or architectural structures
Hamburg Gdańsk Klagenfurt
action atleast
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type astronomical object type
action find_reverse_tuple_counts
relation named after
type human settlement
type architectural structure
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'architectural structure'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?d WHERE { { ?w property:named_after ?d . ?d rdf:type ontology:human_settlement . ?w rdf:type ontology:astronomical_object_type } UNION { ?w property:named_after ?d . ?d rdf:type ontology:human_settlement . ?w rdf:type ontology:architectural_structure } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1055
P159
Q19335303
USER
Which German business organizations have HQ at that human settlement ?
(c(Q19335303),P159,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P159
type Q19335303
[{'concept': 'Q19335303'}, 'P159', 'Q1055']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q19335303 . ?i property:P159 resource:Q1055 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation headquarters location
type type of business entity in Germany
[{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Hamburg']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_business_entity_in_Germany . ?i property:headquarters_location resource:Hamburg }
[]
type of business entity in Germany
Clarification for simple ques.
Q41753
SYSTEM
Did you mean Klagenfurt ?
Q1055 Q1792 Q41753
(c(Q19335303),P159,Q1055) (c(Q19335303),P159,Q1792) (c(Q19335303),P159,Q41753)
[ANSWER]
[{'concept': 'Q19335303'}, 'P159', 'Q1055'] [{'concept': 'Q19335303'}, 'P159', 'Q1792'] [{'concept': 'Q19335303'}, 'P159', 'Q41753']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q19335303 . ?i property:P159 resource:Q1055 }
Hamburg Gdańsk Klagenfurt
Did you mean Klagenfurt ?
Klagenfurt
[{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Hamburg'] [{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Gdańsk'] [{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Klagenfurt']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_business_entity_in_Germany . ?i property:headquarters_location resource:Hamburg }
[]
Simple Question (Coreferenced)
USER
No, I meant Hamburg. Could you tell me the answer for that?
(c(Q19335303),P159,Q1055)
Q1055
[{'concept': 'Q19335303'}, 'P159', 'Q1055']
[{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Hamburg']
[]
Q1233678 Q16688888 Q1374997
SYSTEM
Doc.station Medienproduktion, Roccat, Eurogate GmbH & Co. KGaA, KG
Q16688888 Q1567413 Q628556 Q13142918 Q1233678 Q201691 Q466688 Q1374997 Q1573140 Q732068
(c(Q19335303),P159,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P159
type Q19335303
[ANSWERS]
[{'concept': 'Q19335303'}, 'P159', 'Q1055']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q19335303 . ?i property:P159 resource:Q1055 }
Roccat Internationale Walter Benjamin Gesellschaft Deutsche EuroShop AG Spiegel-Verlag Rudolf Augstein GmbH & Co. KG Doc.station Medienproduktion Beiersdorf Otto GmbH Eurogate GmbH & Co. KGaA, KG Hamburger Sparkasse Asklepios Kliniken
Doc.station Medienproduktion, Roccat and Eurogate GmbH & Co. KGaA, KG have HQ at that human settlement
Doc.station Medienproduktion Roccat Eurogate GmbH & Co. KGaA, KG
action filter_type
action find_reverse
entity Hamburg
relation headquarters location
type type of business entity in Germany
[{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Hamburg']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_business_entity_in_Germany . ?i property:headquarters_location resource:Hamburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P6
Q502895
USER
Which people do Hamburg serve as the head of government for ?
(Q1055,P6,c(Q502895))
action filter_type
action find
entity Q1055
relation P6
type Q502895
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1055 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Hamburg
action filter_type
action find
entity Hamburg
relation head of government
type common name
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Hamburg property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q61053 Q62673 Q447940
SYSTEM
Olaf Scholz, Klaus von Dohnanyi, Hans-Ulrich Klose
Q63421 Q84380 Q77390 Q447940 Q71371 Q62673 Q60426 Q85910 Q61053 Q68114 Q87670 Q74266 Q70051 Q85791
(Q1055,P6,c(Q502895))
action filter_type
action find
entity Q1055
relation P6
type Q502895
Hamburg serve as [ANSWERS] as the head of government
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1055 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Max Brauer Kurt Sieveking Christoph Ahlhaus Hans-Ulrich Klose Henning Voscherau Klaus von Dohnanyi Ole von Beust Paul Nevermann Olaf Scholz Herbert Weichmann Rudolf Petersen Carl Vincent Krogmann Ortwin Runde Peter Schulz
Hamburg serve as Olaf Scholz, Klaus von Dohnanyi and Hans-Ulrich Klose as the head of government
Olaf Scholz Klaus von Dohnanyi Hans-Ulrich Klose
action filter_type
action find
entity Hamburg
relation head of government
type common name
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Hamburg property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q61053 Q62673 Q447940
P6
Q486972
USER
Which human settlements have Olaf Scholz, Klaus von Dohnanyi and Hans-Ulrich Klose as their administrative leader ?
(c(Q486972),P6,Q61053) (c(Q486972),P6,Q62673) (c(Q486972),P6,Q447940)
action union
action filter_type
action find_reverse
entity Q61053
relation P6
type Q486972
action filter_type
action find_reverse
entity Q62673
relation P6
type Q486972
action filter_type
action find_reverse
entity Q447940
relation P6
type Q486972
[{'concept': 'Q486972'}, 'P6', 'Q61053'] [{'concept': 'Q486972'}, 'P6', 'Q62673'] [{'concept': 'Q486972'}, 'P6', 'Q447940']
SELECT DISTINCT ?b WHERE { { ?b property:P6 resource:Q61053 . ?b rdf:type ontology:Q486972 } UNION { ?b property:P6 resource:Q62673 . ?b rdf:type ontology:Q486972 } }
Olaf Scholz Klaus von Dohnanyi Hans-Ulrich Klose
action union
action filter_type
action find_reverse
entity Olaf Scholz
relation head of government
type human settlement
action filter_type
action find_reverse
entity Klaus von Dohnanyi
relation head of government
type human settlement
action filter_type
action find_reverse
entity Hans-Ulrich Klose
relation head of government
type human settlement
[{'concept': 'human settlement'}, 'head of government', 'Olaf Scholz'] [{'concept': 'human settlement'}, 'head of government', 'Klaus von Dohnanyi'] [{'concept': 'human settlement'}, 'head of government', 'Hans-Ulrich Klose']
SELECT DISTINCT ?b WHERE { { ?b property:head_of_government resource:Olaf_Scholz . ?b rdf:type ontology:human_settlement } UNION { ?b property:head_of_government resource:Klaus_von_Dohnanyi . ?b rdf:type ontology:human_settlement } }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(c(Q486972),P6,Q61053) (c(Q486972),P6,Q62673) (c(Q486972),P6,Q447940)
action union
action filter_type
action find_reverse
entity Q61053
relation P6
type Q486972
action filter_type
action find_reverse
entity Q62673
relation P6
type Q486972
action filter_type
action find_reverse
entity Q447940
relation P6
type Q486972
[ANSWER] have Olaf Scholz, Klaus von Dohnanyi and Hans-Ulrich Klose as their administrative leader
[{'concept': 'Q486972'}, 'P6', 'Q61053'] [{'concept': 'Q486972'}, 'P6', 'Q62673'] [{'concept': 'Q486972'}, 'P6', 'Q447940']
SELECT DISTINCT ?b WHERE { { ?b property:P6 resource:Q61053 . ?b rdf:type ontology:Q486972 } UNION { ?b property:P6 resource:Q62673 . ?b rdf:type ontology:Q486972 } }
Hamburg
Hamburg have Olaf Scholz, Klaus von Dohnanyi and Hans-Ulrich Klose as their administrative leader
Hamburg
action union
action filter_type
action find_reverse
entity Olaf Scholz
relation head of government
type human settlement
action filter_type
action find_reverse
entity Klaus von Dohnanyi
relation head of government
type human settlement
action filter_type
action find_reverse
entity Hans-Ulrich Klose
relation head of government
type human settlement
[{'concept': 'human settlement'}, 'head of government', 'Olaf Scholz'] [{'concept': 'human settlement'}, 'head of government', 'Klaus von Dohnanyi'] [{'concept': 'human settlement'}, 'head of government', 'Hans-Ulrich Klose']
SELECT DISTINCT ?b WHERE { { ?b property:head_of_government resource:Olaf_Scholz . ?b rdf:type ontology:human_settlement } UNION { ?b property:head_of_government resource:Klaus_von_Dohnanyi . ?b rdf:type ontology:human_settlement } }
[]