Simple Question (Direct)
Simple Question
Q70919
P1412
Q34770
USER
Which language can Veit Dietrich read ?
(Q70919,P1412,c(Q34770))
action filter_type
action find
entity Q70919
relation P1412
type Q34770
['Q70919', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q70919 property:P1412 ?q }
Veit Dietrich
action filter_type
action find
entity Veit Dietrich
relation languages spoken, written or signed
type language
['Veit Dietrich', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Veit_Dietrich property:languages_spoken,_written_or_signed ?q }
[]
language
Q837985
SYSTEM
Middle High German
Q837985
(Q70919,P1412,c(Q34770))
action filter_type
action find
entity Q70919
relation P1412
type Q34770
Veit Dietrich can read [ANSWER]
['Q70919', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q70919 property:P1412 ?q }
Middle High German
Veit Dietrich can read Middle High German
Middle High German
action filter_type
action find
entity Veit Dietrich
relation languages spoken, written or signed
type language
['Veit Dietrich', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Veit_Dietrich property:languages_spoken,_written_or_signed ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q70919
P20
Q56061
USER
Where did the expiration of Veit Dietrich occur ?
(Q70919,P20,c(Q56061))
action filter_type
action find
entity Q70919
relation P20
type Q56061
['Q70919', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q70919 property:P20 ?e }
Veit Dietrich
action filter_type
action find
entity Veit Dietrich
relation place of death
type administrative territorial entity
['Veit Dietrich', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Veit_Dietrich property:place_of_death ?e }
[]
administrative territorial entity
Q2090
SYSTEM
Nuremberg
Q2090
(Q70919,P20,c(Q56061))
action filter_type
action find
entity Q70919
relation P20
type Q56061
The expiration of Veit Dietrich occurred in [ANSWER]
['Q70919', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q70919 property:P20 ?e }
Nuremberg
The expiration of Veit Dietrich occurred in Nuremberg
Nuremberg
action filter_type
action find
entity Veit Dietrich
relation place of death
type administrative territorial entity
['Veit Dietrich', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Veit_Dietrich property:place_of_death ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P276
Q288514 Q15275719
USER
How many fairs and recurring events are situated at that administrative territory ?
(c(Q288514),P276,Q2090) (c(Q15275719),P276,Q2090) (c(Q288514),P276,Q2090) (c(Q15275719),P276,Q2090)
action count
action union
action filter_type
action find_reverse
entity Q2090
relation P276
type Q288514
action filter_type
action find_reverse
entity Q2090
relation P276
type Q15275719
[{'concept': 'Q288514'}, 'P276', 'Q2090'] [{'concept': 'Q15275719'}, 'P276', 'Q2090'] [{'concept': 'Q288514'}, 'P276', 'Q2090'] [{'concept': 'Q15275719'}, 'P276', 'Q2090']
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q288514 ) ( ontology:Q15275719 ) } }
action count
action union
action filter_type
action find_reverse
entity Nuremberg
relation location
type fair
action filter_type
action find_reverse
entity Nuremberg
relation location
type recurring event
[{'concept': 'fair'}, 'location', 'Nuremberg'] [{'concept': 'recurring event'}, 'location', 'Nuremberg'] [{'concept': 'fair'}, 'location', 'Nuremberg'] [{'concept': 'recurring event'}, 'location', 'Nuremberg']
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:fair ) ( ontology:recurring_event ) } }
[]
fair recurring event
SYSTEM
1 fairs and 4 recurring events
Q21072378 Q1414678 Q1210723 Q12356177 Q2107127
(c(Q288514),P276,Q2090) (c(Q15275719),P276,Q2090) (c(Q288514),P276,Q2090) (c(Q15275719),P276,Q2090)
action count
action union
action filter_type
action find_reverse
entity Q2090
relation P276
type Q288514
action filter_type
action find_reverse
entity Q2090
relation P276
type Q15275719
[ANSWER]
[{'concept': 'Q288514'}, 'P276', 'Q2090'] [{'concept': 'Q15275719'}, 'P276', 'Q2090'] [{'concept': 'Q288514'}, 'P276', 'Q2090'] [{'concept': 'Q15275719'}, 'P276', 'Q2090']
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q288514 ) ( ontology:Q15275719 ) } }
Nuremberg International Human Rights Film Festival Film Festival Turkey/Germany The 24 hours of Nuremberg World Esperanto Congress 1923 Powtech
1 fairs and 4 recurring events
action count
action union
action filter_type
action find_reverse
entity Nuremberg
relation location
type fair
action filter_type
action find_reverse
entity Nuremberg
relation location
type recurring event
[{'concept': 'fair'}, 'location', 'Nuremberg'] [{'concept': 'recurring event'}, 'location', 'Nuremberg'] [{'concept': 'fair'}, 'location', 'Nuremberg'] [{'concept': 'recurring event'}, 'location', 'Nuremberg']
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:fair ) ( ontology:recurring_event ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2090
P206
Q355304
USER
Which watercourses are located in the neighbourhood of Nuremberg ?
(Q2090,P206,c(Q355304))
action filter_type
action find
entity Q2090
relation P206
type Q355304
['Q2090', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?z WHERE { resource:Q2090 property:P206 ?z . ?z rdf:type ontology:Q355304 }
Nuremberg
action filter_type
action find
entity Nuremberg
relation located next to body of water
type watercourse
['Nuremberg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?z WHERE { resource:Nuremberg property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse }
[]
watercourse
Q153085 Q163880
SYSTEM
Rhine-Main-Danube Canal, Pegnitz
Q153085 Q163880
(Q2090,P206,c(Q355304))
action filter_type
action find
entity Q2090
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of Nuremberg
['Q2090', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?z WHERE { resource:Q2090 property:P206 ?z . ?z rdf:type ontology:Q355304 }
Rhine-Main-Danube Canal Pegnitz
Rhine-Main-Danube Canal and Pegnitz are located in the neighbourhood of Nuremberg
Rhine-Main-Danube Canal Pegnitz
action filter_type
action find
entity Nuremberg
relation located next to body of water
type watercourse
['Nuremberg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?z WHERE { resource:Nuremberg property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P206
Q486972 Q515
USER
How many human settlements or cities are situated in the neighbourhood of that watercourse ?
(c(Q486972),P206,Q153085) (c(Q515),P206,Q153085) (c(Q486972),P206,Q153085) (c(Q515),P206,Q153085) (c(Q486972),P206,Q163880) (c(Q515),P206,Q163880)
[{'concept': 'Q486972'}, 'P206', 'Q153085'] [{'concept': 'Q515'}, 'P206', 'Q153085'] [{'concept': 'Q486972'}, 'P206', 'Q153085'] [{'concept': 'Q515'}, 'P206', 'Q153085'] [{'concept': 'Q486972'}, 'P206', 'Q163880'] [{'concept': 'Q515'}, 'P206', 'Q163880']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P206 resource:Q153085 } UNION { ?y property:P206 resource:Q153085 } UNION { ?z property:P206 resource:Q153085 } UNION { ?y property:P206 resource:Q153085 } UNION { ?z property:P206 resource:Q163880 } UNION { ?y property:P206 resource:Q163880 } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q7930989 }
[{'concept': 'human settlement'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Pegnitz'] [{'concept': 'city'}, 'located next to body of water', 'Pegnitz']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?y property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?z property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?y property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?z property:located_next_to_body_of_water resource:Pegnitz } UNION { ?y property:located_next_to_body_of_water resource:Pegnitz } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:city }
[]
human settlement city
Quantitative|Count|Mult. entity type|Clarification
Q153085
SYSTEM
Did you mean Rhine-Main-Danube Canal ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P206 resource:Q153085 } UNION { ?y property:P206 resource:Q153085 } UNION { ?z property:P206 resource:Q153085 } UNION { ?y property:P206 resource:Q153085 } UNION { ?z property:P206 resource:Q163880 } UNION { ?y property:P206 resource:Q163880 } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q7930989 }
Did you mean Rhine-Main-Danube Canal ?
Rhine-Main-Danube Canal
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?y property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?z property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?y property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?z property:located_next_to_body_of_water resource:Pegnitz } UNION { ?y property:located_next_to_body_of_water resource:Pegnitz } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q486972),P206,Q153085) (c(Q515),P206,Q153085) (c(Q486972),P206,Q153085) (c(Q515),P206,Q153085) (c(Q486972),P206,Q163880) (c(Q515),P206,Q163880)
[{'concept': 'Q486972'}, 'P206', 'Q153085'] [{'concept': 'Q515'}, 'P206', 'Q153085'] [{'concept': 'Q486972'}, 'P206', 'Q153085'] [{'concept': 'Q515'}, 'P206', 'Q153085'] [{'concept': 'Q486972'}, 'P206', 'Q163880'] [{'concept': 'Q515'}, 'P206', 'Q163880']
[{'concept': 'human settlement'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Pegnitz'] [{'concept': 'city'}, 'located next to body of water', 'Pegnitz']
[]
SYSTEM
3
Q1788598 Q3936 Q3075
(c(Q486972),P206,Q153085) (c(Q515),P206,Q153085) (c(Q486972),P206,Q153085) (c(Q515),P206,Q153085) (c(Q486972),P206,Q163880) (c(Q515),P206,Q163880)
[ANSWER]
[{'concept': 'Q486972'}, 'P206', 'Q153085'] [{'concept': 'Q515'}, 'P206', 'Q153085'] [{'concept': 'Q486972'}, 'P206', 'Q153085'] [{'concept': 'Q515'}, 'P206', 'Q153085'] [{'concept': 'Q486972'}, 'P206', 'Q163880'] [{'concept': 'Q515'}, 'P206', 'Q163880']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P206 resource:Q153085 } UNION { ?y property:P206 resource:Q153085 } UNION { ?z property:P206 resource:Q153085 } UNION { ?y property:P206 resource:Q153085 } UNION { ?z property:P206 resource:Q163880 } UNION { ?y property:P206 resource:Q163880 } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q7930989 }
Kriegenbrunn Bamberg Fürth
3
[{'concept': 'human settlement'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Pegnitz'] [{'concept': 'city'}, 'located next to body of water', 'Pegnitz']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?y property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?z property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?y property:located_next_to_body_of_water resource:Rhine-Main-Danube_Canal } UNION { ?z property:located_next_to_body_of_water resource:Pegnitz } UNION { ?y property:located_next_to_body_of_water resource:Pegnitz } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163880
P403
Q355304
USER
Which watercourses drain into Pegnitz ?
(c(Q355304),P403,Q163880)
action filter_type
action find_reverse
entity Q163880
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q163880']
SELECT DISTINCT ?h WHERE { ?h property:P403 resource:Q163880 . ?h rdf:type ontology:Q355304 }
Pegnitz
action filter_type
action find_reverse
entity Pegnitz
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Pegnitz']
SELECT DISTINCT ?h WHERE { ?h property:mouth_of_the_watercourse resource:Pegnitz . ?h rdf:type ontology:watercourse }
[]
watercourse
Q870529 Q869561 Q1411007
SYSTEM
Goldbach, Högenbach, Fichtenohe
Q869561 Q1411007 Q828837 Q870529
(c(Q355304),P403,Q163880)
action filter_type
action find_reverse
entity Q163880
relation P403
type Q355304
Of [ANSWERS] drain into Pegnitz
[{'concept': 'Q355304'}, 'P403', 'Q163880']
SELECT DISTINCT ?h WHERE { ?h property:P403 resource:Q163880 . ?h rdf:type ontology:Q355304 }
Högenbach Fichtenohe Schnaittach Goldbach
Of Goldbach, Högenbach and Fichtenohe drain into Pegnitz
Goldbach Högenbach Fichtenohe
action filter_type
action find_reverse
entity Pegnitz
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Pegnitz']
SELECT DISTINCT ?h WHERE { ?h property:mouth_of_the_watercourse resource:Pegnitz . ?h rdf:type ontology:watercourse }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1411007
P17
Q1048835
USER
Which political territory is that watercourse a part of ?
(Q1411007,P17,c(Q1048835))
action filter_type
action find
entity Q1411007
relation P17
type Q1048835
['Q1411007', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1411007 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Fichtenohe
action filter_type
action find
entity Fichtenohe
relation country
type political territorial entity
['Fichtenohe', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fichtenohe property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q869561
SYSTEM
Did you mean Högenbach ?
Q870529 Q869561 Q1411007
(Q870529,P17,c(Q1048835)) (Q869561,P17,c(Q1048835)) (Q1411007,P17,c(Q1048835))
[ANSWER]
['Q870529', 'P17', {'concept': 'Q1048835'}] ['Q869561', 'P17', {'concept': 'Q1048835'}] ['Q1411007', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1411007 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Goldbach Högenbach Fichtenohe
Did you mean Högenbach ?
Högenbach
['Goldbach', 'country', {'concept': 'political territorial entity'}] ['Högenbach', 'country', {'concept': 'political territorial entity'}] ['Fichtenohe', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fichtenohe property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Fichtenohe. Could you tell me the answer for that?
(Q1411007,P17,c(Q1048835))
Q1411007
['Q1411007', 'P17', {'concept': 'Q1048835'}]
['Fichtenohe', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q1411007,P17,c(Q1048835))
action filter_type
action find
entity Q1411007
relation P17
type Q1048835
[ANSWER] is that watercourse a part of
['Q1411007', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1411007 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Germany
Germany is that watercourse a part of
Germany
action filter_type
action find
entity Fichtenohe
relation country
type political territorial entity
['Fichtenohe', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fichtenohe property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q21553955 Q2516
P6
Q502895
USER
Does Germany have its government headed by John Denton and Helmut Schmidt ?
(Q183,P6,Q21553955) (Q183,P6,Q2516)
action is_in
entity Q183
action intersection
action find_reverse
entity Q21553955
relation P6
action find_reverse
entity Q2516
relation P6
['Q183', 'P6', 'Q21553955'] ['Q183', 'P6', 'Q2516']
ASK WHERE { resource:Q183 property:P6 resource:Q21553955 . resource:Q183 property:P6 resource:Q2516 }
Germany John Denton Helmut Schmidt
action is_in
entity Germany
action intersection
action find_reverse
entity John Denton
relation head of government
action find_reverse
entity Helmut Schmidt
relation head of government
['Germany', 'head of government', 'John Denton'] ['Germany', 'head of government', 'Helmut Schmidt']
ASK WHERE { resource:Germany property:head_of_government resource:John_Denton . resource:Germany property:head_of_government resource:Helmut_Schmidt }
[]
common name
SYSTEM
NO and YES respectively
(Q183,P6,Q21553955) (Q183,P6,Q2516)
action is_in
entity Q183
action intersection
action find_reverse
entity Q21553955
relation P6
action find_reverse
entity Q2516
relation P6
[ANSWER]
['Q183', 'P6', 'Q21553955'] ['Q183', 'P6', 'Q2516']
ASK WHERE { resource:Q183 property:P6 resource:Q21553955 . resource:Q183 property:P6 resource:Q2516 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity John Denton
relation head of government
action find_reverse
entity Helmut Schmidt
relation head of government
['Germany', 'head of government', 'John Denton'] ['Germany', 'head of government', 'Helmut Schmidt']
ASK WHERE { resource:Germany property:head_of_government resource:John_Denton . resource:Germany property:head_of_government resource:Helmut_Schmidt }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P159
Q874405 Q43229
USER
How many social groups or organizations have headquarters located at Germany ?
(c(Q874405),P159,Q183) (c(Q43229),P159,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P159
type Q874405
action filter_type
action find_reverse
entity Q183
relation P159
type Q43229
[{'concept': 'Q874405'}, 'P159', 'Q183'] [{'concept': 'Q43229'}, 'P159', 'Q183']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:P159 resource:Q183 . ?u rdf:type ontology:Q874405 } UNION { ?u property:P159 resource:Q183 . ?u rdf:type ontology:Q43229 } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation headquarters location
type social group
action filter_type
action find_reverse
entity Germany
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Germany'] [{'concept': 'organization'}, 'headquarters location', 'Germany']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:headquarters_location resource:Germany . ?u rdf:type ontology:social_group } UNION { ?u property:headquarters_location resource:Germany . ?u rdf:type ontology:organization } }
[]
social group organization
SYSTEM
15
Q82555 Q449727 Q4040478 Q3334409 Q17007520 Q21197087 Q17007511 Q17508239 Q5749752 Q17086983 Q4867891 Q6030078 Q6430062 Q475539 Q2575704
(c(Q874405),P159,Q183) (c(Q43229),P159,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P159
type Q874405
action filter_type
action find_reverse
entity Q183
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q183'] [{'concept': 'Q43229'}, 'P159', 'Q183']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:P159 resource:Q183 . ?u rdf:type ontology:Q874405 } UNION { ?u property:P159 resource:Q183 . ?u rdf:type ontology:Q43229 } }
Egmont Manga & Anime Alweg Headup Games NG.DEV.TEAM Miss World Germany Eve Audio Miss International Germany Be quiet! Heym Hybris BassLab Infitec Viventura Deutsche Waffen und Munitionsfabriken Woellmer Type Foundry
15
action count
action union
action filter_type
action find_reverse
entity Germany
relation headquarters location
type social group
action filter_type
action find_reverse
entity Germany
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Germany'] [{'concept': 'organization'}, 'headquarters location', 'Germany']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:headquarters_location resource:Germany . ?u rdf:type ontology:social_group } UNION { ?u property:headquarters_location resource:Germany . ?u rdf:type ontology:organization } }
[]