Simple Question (Direct)
Simple Question
Q514778
P176
Q43229
USER
Who are the manufacturer of DRG Class 80 ?
(Q514778,P176,c(Q43229))
action filter_type
action find
entity Q514778
relation P176
type Q43229
['Q514778', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q514778 property:P176 ?w . ?w rdf:type ontology:Q43229 }
DRG Class 80
action filter_type
action find
entity DRG Class 80
relation manufacturer
type organization
['DRG Class 80', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:DRG_Class_80 property:manufacturer ?w . ?w rdf:type ontology:organization }
[]
organization
Q422111 Q2494589 Q861290
SYSTEM
Hohenzollern Locomotive Works, Union Gießerei, Maschinenfabrik Christian Hagans
Q422111 Q2494589 Q861290
(Q514778,P176,c(Q43229))
action filter_type
action find
entity Q514778
relation P176
type Q43229
The manufacturer of DRG Class 80 are the [ANSWERS]
['Q514778', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q514778 property:P176 ?w . ?w rdf:type ontology:Q43229 }
Hohenzollern Locomotive Works Union Gießerei Maschinenfabrik Christian Hagans
The manufacturer of DRG Class 80 are the Hohenzollern Locomotive Works, Union Gießerei and Maschinenfabrik Christian Hagans
Hohenzollern Locomotive Works Union Gießerei Maschinenfabrik Christian Hagans
action filter_type
action find
entity DRG Class 80
relation manufacturer
type organization
['DRG Class 80', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:DRG_Class_80 property:manufacturer ?w . ?w rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q422111 Q2494589 Q861290
P159
Q56061
USER
Where are the head office for Hohenzollern Locomotive Works, Union Gießerei and Maschinenfabrik Christian Hagans located ?
(Q422111,P159,c(Q56061)) (Q2494589,P159,c(Q56061)) (Q861290,P159,c(Q56061))
action union
action filter_type
action find
entity Q422111
relation P159
type Q56061
action filter_type
action find
entity Q2494589
relation P159
type Q56061
action filter_type
action find
entity Q861290
relation P159
type Q56061
['Q422111', 'P159', {'concept': 'Q56061'}] ['Q2494589', 'P159', {'concept': 'Q56061'}] ['Q861290', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { resource:Q422111 property:P159 ?o . ?o rdf:type ontology:Q56061 } UNION { resource:Q2494589 property:P159 ?o . ?o rdf:type ontology:Q56061 } }
Hohenzollern Locomotive Works Union Gießerei Maschinenfabrik Christian Hagans
action union
action filter_type
action find
entity Hohenzollern Locomotive Works
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Union Gießerei
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Maschinenfabrik Christian Hagans
relation headquarters location
type administrative territorial entity
['Hohenzollern Locomotive Works', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Union Gießerei', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Maschinenfabrik Christian Hagans', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Hohenzollern_Locomotive_Works property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity } UNION { resource:Union_Gießerei property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1718 Q1829 Q1729
SYSTEM
Düsseldorf, Kaliningrad, Erfurt
Q1718 Q1829 Q1729
(Q422111,P159,c(Q56061)) (Q2494589,P159,c(Q56061)) (Q861290,P159,c(Q56061))
action union
action filter_type
action find
entity Q422111
relation P159
type Q56061
action filter_type
action find
entity Q2494589
relation P159
type Q56061
action filter_type
action find
entity Q861290
relation P159
type Q56061
Located In [ANSWERS] are the head office for Hohenzollern Locomotive Works , Union Gießerei and Maschinenfabrik Christian Hagans
['Q422111', 'P159', {'concept': 'Q56061'}] ['Q2494589', 'P159', {'concept': 'Q56061'}] ['Q861290', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { resource:Q422111 property:P159 ?o . ?o rdf:type ontology:Q56061 } UNION { resource:Q2494589 property:P159 ?o . ?o rdf:type ontology:Q56061 } }
Düsseldorf Kaliningrad Erfurt
Located In Düsseldorf, Kaliningrad and Erfurt are the head office for Hohenzollern Locomotive Works , Union Gießerei and Maschinenfabrik Christian Hagans
Düsseldorf Kaliningrad Erfurt
action union
action filter_type
action find
entity Hohenzollern Locomotive Works
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Union Gießerei
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Maschinenfabrik Christian Hagans
relation headquarters location
type administrative territorial entity
['Hohenzollern Locomotive Works', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Union Gießerei', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Maschinenfabrik Christian Hagans', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Hohenzollern_Locomotive_Works property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity } UNION { resource:Union_Gießerei property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q648408 Q422111
P1454
Q1269299
USER
Which business organizations represent the legal form of Hohenzollern Locomotive Works or LSG Sky Chefs ?
OR((Q422111,P1454,c(Q1269299)), (Q648408,P1454,c(Q1269299)))
action filter_type
action union
action find
entity Q422111
relation P1454
action find
entity Q648408
relation P1454
type Q1269299
{'OR': [['Q422111', 'P1454', {'concept': 'Q1269299'}], ['Q648408', 'P1454', {'concept': 'Q1269299'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q422111 property:P1454 ?q } UNION { resource:Q648408 property:P1454 ?q } } . ?q rdf:type ontology:Q1269299 }
LSG Sky Chefs Hohenzollern Locomotive Works
action filter_type
action union
action find
entity Hohenzollern Locomotive Works
relation legal form
action find
entity LSG Sky Chefs
relation legal form
type type of business entity
{'OR': [['Hohenzollern Locomotive Works', 'legal form', {'concept': 'type of business entity'}], ['LSG Sky Chefs', 'legal form', {'concept': 'type of business entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Hohenzollern_Locomotive_Works property:legal_form ?q } UNION { resource:LSG_Sky_Chefs property:legal_form ?q } } . ?q rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q422062
SYSTEM
Aktiengesellschaft
Q422062
OR((Q422111,P1454,c(Q1269299)), (Q648408,P1454,c(Q1269299)))
action filter_type
action union
action find
entity Q422111
relation P1454
action find
entity Q648408
relation P1454
type Q1269299
[ANSWER] represent the legal form of Hohenzollern Locomotive Works or LSG Sky Chefs
{'OR': [['Q422111', 'P1454', {'concept': 'Q1269299'}], ['Q648408', 'P1454', {'concept': 'Q1269299'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q422111 property:P1454 ?q } UNION { resource:Q648408 property:P1454 ?q } } . ?q rdf:type ontology:Q1269299 }
Aktiengesellschaft
Aktiengesellschaft represent the legal form of Hohenzollern Locomotive Works or LSG Sky Chefs
Aktiengesellschaft
action filter_type
action union
action find
entity Hohenzollern Locomotive Works
relation legal form
action find
entity LSG Sky Chefs
relation legal form
type type of business entity
{'OR': [['Hohenzollern Locomotive Works', 'legal form', {'concept': 'type of business entity'}], ['LSG Sky Chefs', 'legal form', {'concept': 'type of business entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Hohenzollern_Locomotive_Works property:legal_form ?q } UNION { resource:LSG_Sky_Chefs property:legal_form ?q } } . ?q rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1454
Q1269299
USER
How many business organizations have their legal form as that business organization ?
(c(Q1269299),P1454,Q422062)
action count
action filter_type
action find_reverse
entity Q422062
relation P1454
type Q1269299
[{'concept': 'Q1269299'}, 'P1454', 'Q422062']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P1454 resource:Q422062 . ?u rdf:type ontology:Q1269299 }
action count
action filter_type
action find_reverse
entity Aktiengesellschaft
relation legal form
type type of business entity
[{'concept': 'type of business entity'}, 'legal form', 'Aktiengesellschaft']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:legal_form resource:Aktiengesellschaft . ?u rdf:type ontology:type_of_business_entity }
[]
type of business entity
SYSTEM
46
Q869817 Q810575 Q16978036 Q17163443 Q16856491 Q1720400 Q1250162 Q1587275 Q536228 Q1675242 Q16831936 Q147260 Q2058186 Q2207658 Q15221372 Q1047273 Q151694 Q2287983 Q2399578 Q16831911 Q1742438 Q1184978 Q16971209 Q2297536 Q323095 Q1327064 Q2649841 Q1643476 Q1771597 Q1651760 Q169198 Q1108210 Q2372128 Q451851 Q220327 Q2384503 Q1882061 Q320364 Q1122033 Q447409 Q960972 Q16857574 Q2389856 Q1485459 Q552702 Q884895
(c(Q1269299),P1454,Q422062)
action count
action filter_type
action find_reverse
entity Q422062
relation P1454
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P1454', 'Q422062']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P1454 resource:Q422062 . ?u rdf:type ontology:Q1269299 }
Hanse Yachts Bastei Lubbe EQS Group AG ISARIA Wohnbau SLM Solutions Group RIB Software AG Parsytec Paul Hartmann AG Jungheinrich Itelligence InnoTec TSS AG Zapf Creation Patrizia Immobilien Software Quality Systems AG GK SOFTWARE AG Cash.life AG buch.de Simona Technotrans i:FAO AG Kulmbacher Brewery Delticom Baader Bank AG Softing Einbecker Brewery Paragon Alno Hoeft & Wessel AG WIGE Kässbohrer Geländefahrzeug 10tacle Studios Colexon Energy Swarco Traffic Holding AG Amadeus FiRe AG Zooplus TLG IMMOBILIEN MVV Energie Gelsenwasser CompuGroup Medical CargoLifter KSB Aktiengesellschaft Turbon AG Talanx GFT Technologies HWA Team Hermle AG
46
action count
action filter_type
action find_reverse
entity Aktiengesellschaft
relation legal form
type type of business entity
[{'concept': 'type of business entity'}, 'legal form', 'Aktiengesellschaft']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:legal_form resource:Aktiengesellschaft . ?u rdf:type ontology:type_of_business_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q422062
P1001
Q1048835
USER
Which political territory applies to jurisdiction of Aktiengesellschaft ?
(Q422062,P1001,c(Q1048835))
action filter_type
action find
entity Q422062
relation P1001
type Q1048835
['Q422062', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q422062 property:P1001 ?w . ?w rdf:type ontology:Q1048835 }
Aktiengesellschaft
action filter_type
action find
entity Aktiengesellschaft
relation applies to jurisdiction
type political territorial entity
['Aktiengesellschaft', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Aktiengesellschaft property:applies_to_jurisdiction ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q422062,P1001,c(Q1048835))
action filter_type
action find
entity Q422062
relation P1001
type Q1048835
The [ANSWER] applies to jurisdiction of Aktiengesellschaft
['Q422062', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q422062 property:P1001 ?w . ?w rdf:type ontology:Q1048835 }
Germany
The Germany applies to jurisdiction of Aktiengesellschaft
Germany
action filter_type
action find
entity Aktiengesellschaft
relation applies to jurisdiction
type political territorial entity
['Aktiengesellschaft', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Aktiengesellschaft property:applies_to_jurisdiction ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q838948 Q15416
USER
How many administrative territories are exactly 3 works of art or television programs set in ?
(c(Q838948)|c(Q15416),P840,c(Q56061))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { FILTER ( ?h = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:P840 ?q . ?q rdf:type ontology:Q56061 . ?m rdf:type ontology:Q838948 } UNION { ?m property:P840 ?q . ?m rdf:type ontology:Q15416 . ?q rdf:type ontology:Q56061 } } GROUP BY ?q } }
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 3
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { FILTER ( ?h = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:work_of_art } UNION { ?m property:narrative_location ?q . ?m rdf:type ontology:television_program . ?q rdf:type ontology:administrative_territorial_entity } } GROUP BY ?q } }
[]
administrative territorial entity work of art television program
SYSTEM
5
Q25287 Q85 Q172 Q1861 Q3114
(c(Q838948)|c(Q15416),P840,c(Q56061))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { FILTER ( ?h = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:P840 ?q . ?q rdf:type ontology:Q56061 . ?m rdf:type ontology:Q838948 } UNION { ?m property:P840 ?q . ?m rdf:type ontology:Q15416 . ?q rdf:type ontology:Q56061 } } GROUP BY ?q } }
Gothenburg Cairo Toronto Bangkok Canberra
5
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 3
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { FILTER ( ?h = 3 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:work_of_art } UNION { ?m property:narrative_location ?q . ?m rdf:type ontology:television_program . ?q rdf:type ontology:administrative_territorial_entity } } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P6
Q502895
USER
Which people do Düsseldorf serve as the head of government for ?
(Q1718,P6,c(Q502895))
action filter_type
action find
entity Q1718
relation P6
type Q502895
['Q1718', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1718 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation head of government
type common name
['Düsseldorf', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Düsseldorf property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Q99603 Q1705093 Q1744941
SYSTEM
Joachim Erwin, Josef Kürten, Klaus Bungert
Q1596475 Q1705093 Q1336422 Q86019 Q1744941 Q17198510 Q99603
(Q1718,P6,c(Q502895))
action filter_type
action find
entity Q1718
relation P6
type Q502895
[ANSWERS] Düsseldorf serve as the head of government
['Q1718', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1718 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Marlies Smeets Josef Kürten Emil Köttgen Dirk Elbers Klaus Bungert Thomas Geisel Joachim Erwin
Joachim Erwin, Josef Kürten and Klaus Bungert Düsseldorf serve as the head of government
Joachim Erwin Josef Kürten Klaus Bungert
action filter_type
action find
entity Düsseldorf
relation head of government
type common name
['Düsseldorf', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Düsseldorf property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q99603
P1196
Q1931388
USER
What manner did Joachim Erwin die ?
(Q99603,P1196,c(Q1931388))
action filter_type
action find
entity Q99603
relation P1196
type Q1931388
['Q99603', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q99603 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Joachim Erwin
action filter_type
action find
entity Joachim Erwin
relation manner of death
type cause of death
['Joachim Erwin', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Joachim_Erwin property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q99603,P1196,c(Q1931388))
action filter_type
action find
entity Q99603
relation P1196
type Q1931388
Joachim Erwin died of [ANSWER]
['Q99603', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q99603 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Joachim Erwin died of natural causes
natural causes
action filter_type
action find
entity Joachim Erwin
relation manner of death
type cause of death
['Joachim Erwin', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Joachim_Erwin property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2055368 Q99603
P27 P17
Q1048835
USER
Which political territories are the native countriesof Joachim Erwin or do Frøslev belong to ?
OR((Q99603,P27,c(Q1048835)), (Q2055368,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q99603
relation P27
action find
entity Q2055368
relation P17
type Q1048835
{'OR': [['Q99603', 'P27', {'concept': 'Q1048835'}], ['Q2055368', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q99603 property:P27 ?c } UNION { resource:Q2055368 property:P17 ?c } } }
Frøslev Joachim Erwin
action filter_type
action union
action find
entity Joachim Erwin
relation country of citizenship
action find
entity Frøslev
relation country
type political territorial entity
{'OR': [['Joachim Erwin', 'country of citizenship', {'concept': 'political territorial entity'}], ['Frøslev', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Joachim_Erwin property:country_of_citizenship ?c } UNION { resource:Frøslev property:country ?c } } }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q99603,P27,c(Q1048835)), (Q2055368,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q99603
relation P27
action find
entity Q2055368
relation P17
type Q1048835
[ANSWERS] are the native countriesof Joachim Erwin or do Frøslev belong to
{'OR': [['Q99603', 'P27', {'concept': 'Q1048835'}], ['Q2055368', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . { { resource:Q99603 property:P27 ?c } UNION { resource:Q2055368 property:P17 ?c } } }
Germany Denmark
Germany and Denmark are the native countriesof Joachim Erwin or do Frøslev belong to
Germany Denmark
action filter_type
action union
action find
entity Joachim Erwin
relation country of citizenship
action find
entity Frøslev
relation country
type political territorial entity
{'OR': [['Joachim Erwin', 'country of citizenship', {'concept': 'political territorial entity'}], ['Frøslev', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . { { resource:Joachim_Erwin property:country_of_citizenship ?c } UNION { resource:Frøslev property:country ?c } } }
[]