Simple Question (Direct)
Simple Question
Q2553921
P449
Q4830453
USER
Which business enterprise did Survivors originally air in ?
(Q2553921,P449,c(Q4830453))
action filter_type
action find
entity Q2553921
relation P449
type Q4830453
['Q2553921', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { resource:Q2553921 property:P449 ?g . ?g rdf:type ontology:Q4830453 }
Survivors
action filter_type
action find
entity Survivors
relation original network
type business enterprise
['Survivors', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { resource:Survivors property:original_network ?g . ?g rdf:type ontology:business_enterprise }
[]
business enterprise
Q191472
SYSTEM
BBC One
Q191472
(Q2553921,P449,c(Q4830453))
action filter_type
action find
entity Q2553921
relation P449
type Q4830453
Survivors aired originally on [ANSWER]
['Q2553921', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { resource:Q2553921 property:P449 ?g . ?g rdf:type ontology:Q4830453 }
BBC One
Survivors aired originally on BBC One
BBC One
action filter_type
action find
entity Survivors
relation original network
type business enterprise
['Survivors', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { resource:Survivors property:original_network ?g . ?g rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191472
P750
Q838948
USER
Who has that business enterprise as its distributor ?
(c(Q838948),P750,Q191472)
action filter_type
action find_reverse
entity Q191472
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q191472']
SELECT DISTINCT ?l WHERE { ?l property:P750 resource:Q191472 . ?l rdf:type ontology:Q838948 }
BBC One
action filter_type
action find_reverse
entity BBC One
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'BBC One']
SELECT DISTINCT ?l WHERE { ?l property:distributor resource:BBC_One . ?l rdf:type ontology:work_of_art }
[]
work of art
Q22000787
SYSTEM
Mr Stink
Q22000787
(c(Q838948),P750,Q191472)
action filter_type
action find_reverse
entity Q191472
relation P750
type Q838948
[ANSWER] has that business enterprise as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q191472']
SELECT DISTINCT ?l WHERE { ?l property:P750 resource:Q191472 . ?l rdf:type ontology:Q838948 }
Mr Stink
Mr Stink has that business enterprise as its distributor
Mr Stink
action filter_type
action find_reverse
entity BBC One
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'BBC One']
SELECT DISTINCT ?l WHERE { ?l property:distributor resource:BBC_One . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2553921
P495
Q15617994
USER
Which administrative territory is the country of origin of Survivors ?
(Q2553921,P495,c(Q15617994))
action filter_type
action find
entity Q2553921
relation P495
type Q15617994
['Q2553921', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2553921 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Survivors
action filter_type
action find
entity Survivors
relation country of origin
type designation for an administrative territorial entity
['Survivors', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Survivors property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2553921,P495,c(Q15617994))
action filter_type
action find
entity Q2553921
relation P495
type Q15617994
[ANSWER] is the country of origin of Survivors
['Q2553921', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2553921 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of origin of Survivors
United Kingdom
action filter_type
action find
entity Survivors
relation country of origin
type designation for an administrative territorial entity
['Survivors', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Survivors property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1533
P551
Q502895
USER
Who lives in Caracas ?
(c(Q502895),P551,Q1533)
action filter_type
action find_reverse
entity Q1533
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1533']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q1533 . ?z rdf:type ontology:Q502895 }
Caracas
action filter_type
action find_reverse
entity Caracas
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Caracas']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Caracas . ?z rdf:type ontology:common_name }
[]
common name
Q6499694 Q5833089 Q629003
SYSTEM
Laureano Vallenilla Lanz, Enrique Bernardo Núñez, Miguel Navarro Cañizares
Q517085 Q1989008 Q5833089 Q7289803 Q5998292 Q16149863 Q4685520 Q6499694 Q629003 Q4755117 Q254260
(c(Q502895),P551,Q1533)
action filter_type
action find_reverse
entity Q1533
relation P551
type Q502895
[ANSWERS] live in Caracas
[{'concept': 'Q502895'}, 'P551', 'Q1533']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q1533 . ?z rdf:type ontology:Q502895 }
Alfredo Sadel José de Armas Enrique Bernardo Núñez Ramon A. Dominguez Marina Baura Arca Adriana Pérez Laureano Vallenilla Lanz Miguel Navarro Cañizares Andrea Gámiz María Vento-Kabchi
Laureano Vallenilla Lanz, Enrique Bernardo Núñez and Miguel Navarro Cañizares live in Caracas
Laureano Vallenilla Lanz Enrique Bernardo Núñez Miguel Navarro Cañizares
action filter_type
action find_reverse
entity Caracas
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Caracas']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Caracas . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1533
P206
Q355304
USER
Which watercourse is situated close to that city ?
(Q6499694,P206,c(Q355304)) (Q5833089,P206,c(Q355304)) (Q629003,P206,c(Q355304))
action filter_type
action find
entity Q1533
relation P206
type Q355304
['Q6499694', 'P206', {'concept': 'Q355304'}] ['Q5833089', 'P206', {'concept': 'Q355304'}] ['Q629003', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { resource:Q1533 property:P206 ?f . ?f rdf:type ontology:Q355304 }
Caracas
action filter_type
action find
entity Caracas
relation located next to body of water
type watercourse
['Laureano Vallenilla Lanz', 'located next to body of water', {'concept': 'watercourse'}] ['Enrique Bernardo Núñez', 'located next to body of water', {'concept': 'watercourse'}] ['Miguel Navarro Cañizares', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { resource:Caracas property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse }
[]
watercourse
Q4679120
SYSTEM
Guaire River
Q4679120
(Q6499694,P206,c(Q355304)) (Q5833089,P206,c(Q355304)) (Q629003,P206,c(Q355304))
action filter_type
action find
entity Q1533
relation P206
type Q355304
[ANSWER] is situated close to that city
['Q6499694', 'P206', {'concept': 'Q355304'}] ['Q5833089', 'P206', {'concept': 'Q355304'}] ['Q629003', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { resource:Q1533 property:P206 ?f . ?f rdf:type ontology:Q355304 }
Guaire River
Guaire River is situated close to that city
Guaire River
action filter_type
action find
entity Caracas
relation located next to body of water
type watercourse
['Laureano Vallenilla Lanz', 'located next to body of water', {'concept': 'watercourse'}] ['Enrique Bernardo Núñez', 'located next to body of water', {'concept': 'watercourse'}] ['Miguel Navarro Cañizares', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { resource:Caracas property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4679120 Q717 Q31602
P17
Q15617994
USER
Is Guaire River present in Venezuela and Großmehring ?
(Q4679120,P17,Q717) (Q4679120,P17,Q31602)
action is_in
entity Q4679120
action intersection
action find_reverse
entity Q717
relation P17
action find_reverse
entity Q31602
relation P17
['Q4679120', 'P17', 'Q717'] ['Q4679120', 'P17', 'Q31602']
ASK WHERE { resource:Q4679120 property:P17 resource:Q717 . resource:Q4679120 property:P17 resource:Q31602 }
Guaire River Venezuela Großmehring
action is_in
entity Guaire River
action intersection
action find_reverse
entity Venezuela
relation country
action find_reverse
entity Großmehring
relation country
['Guaire River', 'country', 'Venezuela'] ['Guaire River', 'country', 'Großmehring']
ASK WHERE { resource:Guaire_River property:country resource:Venezuela . resource:Guaire_River property:country resource:Großmehring }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q4679120,P17,Q717) (Q4679120,P17,Q31602)
action is_in
entity Q4679120
action intersection
action find_reverse
entity Q717
relation P17
action find_reverse
entity Q31602
relation P17
[ANSWER]
['Q4679120', 'P17', 'Q717'] ['Q4679120', 'P17', 'Q31602']
ASK WHERE { resource:Q4679120 property:P17 resource:Q717 . resource:Q4679120 property:P17 resource:Q31602 }
YES and NO respectively
action is_in
entity Guaire River
action intersection
action find_reverse
entity Venezuela
relation country
action find_reverse
entity Großmehring
relation country
['Guaire River', 'country', 'Venezuela'] ['Guaire River', 'country', 'Großmehring']
ASK WHERE { resource:Guaire_River property:country resource:Venezuela . resource:Guaire_River property:country resource:Großmehring }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q191472 Q9531
P127
Q43229
USER
Is BBC the owner of BBC One ?
(Q191472,P127,Q9531)
action is_in
entity Q9531
action find
entity Q191472
relation P127
['Q191472', 'P127', 'Q9531']
ASK WHERE { resource:Q191472 property:P127 resource:Q9531 }
BBC One BBC
action is_in
entity BBC
action find
entity BBC One
relation owned by
['BBC One', 'owned by', 'BBC']
ASK WHERE { resource:BBC_One property:owned_by resource:BBC }
[]
organization
SYSTEM
YES
(Q191472,P127,Q9531)
action is_in
entity Q9531
action find
entity Q191472
relation P127
[ANSWER]
['Q191472', 'P127', 'Q9531']
ASK WHERE { resource:Q191472 property:P127 resource:Q9531 }
Yes
action is_in
entity BBC
action find
entity BBC One
relation owned by
['BBC One', 'owned by', 'BBC']
ASK WHERE { resource:BBC_One property:owned_by resource:BBC }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4679120 Q717
P17
Q15617994
USER
Is Guaire River a part of Venezuela ?
(Q4679120,P17,Q717)
action is_in
entity Q717
action find
entity Q4679120
relation P17
['Q4679120', 'P17', 'Q717']
ASK WHERE { resource:Q4679120 property:P17 resource:Q717 }
Guaire River Venezuela
action is_in
entity Venezuela
action find
entity Guaire River
relation country
['Guaire River', 'country', 'Venezuela']
ASK WHERE { resource:Guaire_River property:country resource:Venezuela }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4679120,P17,Q717)
action is_in
entity Q717
action find
entity Q4679120
relation P17
[ANSWER]
['Q4679120', 'P17', 'Q717']
ASK WHERE { resource:Q4679120 property:P17 resource:Q717 }
Yes
action is_in
entity Venezuela
action find
entity Guaire River
relation country
['Guaire River', 'country', 'Venezuela']
ASK WHERE { resource:Guaire_River property:country resource:Venezuela }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q880300 Q4679120
P206
Q515
USER
Which cities are situated close to Guaire River or Hainbach ?
OR((c(Q515),P206,Q4679120), (c(Q515),P206,Q880300))
action filter_type
action union
action find_reverse
entity Q4679120
relation P206
action find_reverse
entity Q880300
relation P206
type Q515
{'OR': [[{'concept': 'Q515'}, 'P206', 'Q4679120'], [{'concept': 'Q515'}, 'P206', 'Q880300']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P206 resource:Q4679120 } UNION { ?k property:P206 resource:Q880300 } } . ?k rdf:type ontology:Q515 }
Hainbach Guaire River
action filter_type
action union
action find_reverse
entity Guaire River
relation located next to body of water
action find_reverse
entity Hainbach
relation located next to body of water
type city
{'OR': [[{'concept': 'city'}, 'located next to body of water', 'Guaire River'], [{'concept': 'city'}, 'located next to body of water', 'Hainbach']]}
SELECT DISTINCT ?k WHERE { { { ?k property:located_next_to_body_of_water resource:Guaire_River } UNION { ?k property:located_next_to_body_of_water resource:Hainbach } } . ?k rdf:type ontology:city }
[]
city
Q1533 Q3042
SYSTEM
Caracas, Offenbach am Main
Q1533 Q3042
OR((c(Q515),P206,Q4679120), (c(Q515),P206,Q880300))
action filter_type
action union
action find_reverse
entity Q4679120
relation P206
action find_reverse
entity Q880300
relation P206
type Q515
[ANSWERS] are situated close to Guaire River or Hainbach
{'OR': [[{'concept': 'Q515'}, 'P206', 'Q4679120'], [{'concept': 'Q515'}, 'P206', 'Q880300']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P206 resource:Q4679120 } UNION { ?k property:P206 resource:Q880300 } } . ?k rdf:type ontology:Q515 }
Caracas Offenbach am Main
Caracas and Offenbach am Main are situated close to Guaire River or Hainbach
Caracas Offenbach am Main
action filter_type
action union
action find_reverse
entity Guaire River
relation located next to body of water
action find_reverse
entity Hainbach
relation located next to body of water
type city
{'OR': [[{'concept': 'city'}, 'located next to body of water', 'Guaire River'], [{'concept': 'city'}, 'located next to body of water', 'Hainbach']]}
SELECT DISTINCT ?k WHERE { { { ?k property:located_next_to_body_of_water resource:Guaire_River } UNION { ?k property:located_next_to_body_of_water resource:Hainbach } } . ?k rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1533
P190
Q56061
USER
How many administrative territories are partner towns of Caracas ?
(Q1533,P190,c(Q56061))
action count
action filter_type
action find
entity Q1533
relation P190
type Q56061
['Q1533', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q1533 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Caracas
action count
action filter_type
action find
entity Caracas
relation sister city
type administrative territorial entity
['Caracas', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Caracas property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
20
Q8745 Q5831 Q52535 Q11974 Q14328 Q34820 Q1489 Q1335 Q47837 Q3561 Q51103 Q34404 Q8678 Q3274 Q2807 Q3110 Q2280 Q1491 Q1026270 Q62
(Q1533,P190,c(Q56061))
action count
action filter_type
action find
entity Q1533
relation P190
type Q56061
[ANSWER]
['Q1533', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q1533 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Vigo Melilla Rosario Las Palmas de Gran Canaria Santa Cruz de Tenerife Santo Domingo Mexico City Montevideo El Aaiún Algiers Cali New Orleans Rio de Janeiro Managua Madrid San Salvador Minsk La Paz Paita San Francisco
20
action count
action filter_type
action find
entity Caracas
relation sister city
type administrative territorial entity
['Caracas', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Caracas property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3042
P740
Q4830453
USER
Which business enterprise was formed at Offenbach am Main ?
(c(Q4830453),P740,Q3042)
action filter_type
action find_reverse
entity Q3042
relation P740
type Q4830453
[{'concept': 'Q4830453'}, 'P740', 'Q3042']
SELECT DISTINCT ?p WHERE { ?p property:P740 resource:Q3042 . ?p rdf:type ontology:Q4830453 }
Offenbach am Main
action filter_type
action find_reverse
entity Offenbach am Main
relation location of formation
type business enterprise
[{'concept': 'business enterprise'}, 'location of formation', 'Offenbach am Main']
SELECT DISTINCT ?p WHERE { ?p property:location_of_formation resource:Offenbach_am_Main . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
Q687175
SYSTEM
Deutsche Bundesbahn
Q687175
(c(Q4830453),P740,Q3042)
action filter_type
action find_reverse
entity Q3042
relation P740
type Q4830453
The [ANSWER] was formed at Offenbach am Main
[{'concept': 'Q4830453'}, 'P740', 'Q3042']
SELECT DISTINCT ?p WHERE { ?p property:P740 resource:Q3042 . ?p rdf:type ontology:Q4830453 }
Deutsche Bundesbahn
The Deutsche Bundesbahn was formed at Offenbach am Main
Deutsche Bundesbahn
action filter_type
action find_reverse
entity Offenbach am Main
relation location of formation
type business enterprise
[{'concept': 'business enterprise'}, 'location of formation', 'Offenbach am Main']
SELECT DISTINCT ?p WHERE { ?p property:location_of_formation resource:Offenbach_am_Main . ?p rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3042
P6
Q502895
USER
Who are the heads of the government of Offenbach am Main ?
(Q3042,P6,c(Q502895))
action filter_type
action find
entity Q3042
relation P6
type Q502895
['Q3042', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3042 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Offenbach am Main
action filter_type
action find
entity Offenbach am Main
relation head of government
type common name
['Offenbach am Main', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Offenbach_am_Main property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1629916 Q1511657
SYSTEM
Horst Schneider, Gerhard Grandke
Q1629916 Q1511657
(Q3042,P6,c(Q502895))
action filter_type
action find
entity Q3042
relation P6
type Q502895
The heads of the government of Offenbach am Main are the [ANSWERS]
['Q3042', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3042 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Horst Schneider Gerhard Grandke
The heads of the government of Offenbach am Main are the Horst Schneider and Gerhard Grandke
Horst Schneider Gerhard Grandke
action filter_type
action find
entity Offenbach am Main
relation head of government
type common name
['Offenbach am Main', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Offenbach_am_Main property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3042
P47
Q1048835
USER
Who share the border with Offenbach am Main ?
(Q3042,P47,c(Q1048835))
action filter_type
action find
entity Q3042
relation P47
type Q1048835
['Q3042', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q3042 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Offenbach am Main
action filter_type
action find
entity Offenbach am Main
relation shares border with
type political territorial entity
['Offenbach am Main', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Offenbach_am_Main property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q7912 Q7911
SYSTEM
Offenbach, Main-Kinzig-Kreis
Q7912 Q7911
(Q3042,P47,c(Q1048835))
action filter_type
action find
entity Q3042
relation P47
type Q1048835
District [ANSWERS] share the border with Offenbach am Main
['Q3042', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q3042 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Offenbach Main-Kinzig-Kreis
District Offenbach and Main-Kinzig-Kreis share the border with Offenbach am Main
Offenbach Main-Kinzig-Kreis
action filter_type
action find
entity Offenbach am Main
relation shares border with
type political territorial entity
['Offenbach am Main', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Offenbach_am_Main property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7912 Q7911
P47
Q1048835
USER
Which political territories share border with Offenbach and Main-Kinzig-Kreis ?
(c(Q1048835),P47,Q7912) (c(Q1048835),P47,Q7911)
action union
action filter_type
action find
entity Q7912
relation P47
type Q1048835
action filter_type
action find
entity Q7911
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q7912'] [{'concept': 'Q1048835'}, 'P47', 'Q7911']
SELECT DISTINCT ?h WHERE { VALUES ( ?e ) { ( resource:Q7911 ) ( resource:Q7912 ) } . ?e property:P47 ?h }
Offenbach Main-Kinzig-Kreis
action union
action filter_type
action find
entity Offenbach
relation shares border with
type political territorial entity
action filter_type
action find
entity Main-Kinzig-Kreis
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Offenbach'] [{'concept': 'political territorial entity'}, 'shares border with', 'Main-Kinzig-Kreis']
SELECT DISTINCT ?h WHERE { VALUES ( ?e ) { ( resource:Main-Kinzig-Kreis ) ( resource:Offenbach ) } . ?e property:shares_border_with ?h }
[]
political territorial entity
Q7911 Q7914 Q7899
SYSTEM
Main-Kinzig-Kreis, Groß-Gerau, Fulda
Q10471 Q7916 Q7914 Q7911 Q10469 Q10466 Q10471 Q7912 Q7910 Q7901 Q7899
(c(Q1048835),P47,Q7912) (c(Q1048835),P47,Q7911)
action union
action filter_type
action find
entity Q7912
relation P47
type Q1048835
action filter_type
action find
entity Q7911
relation P47
type Q1048835
[ANSWERS] share border with Offenbach and Main-Kinzig-Kreis
[{'concept': 'Q1048835'}, 'P47', 'Q7912'] [{'concept': 'Q1048835'}, 'P47', 'Q7911']
SELECT DISTINCT ?h WHERE { VALUES ( ?e ) { ( resource:Q7911 ) ( resource:Q7912 ) } . ?e property:P47 ?h }
Aschaffenburg Darmstadt-Dieburg Groß-Gerau Main-Kinzig-Kreis Main-Spessart Bad Kissingen Aschaffenburg Offenbach Wetteraukreis Vogelsbergkreis Fulda
Main-Kinzig-Kreis, Groß-Gerau and Fulda share border with Offenbach and Main-Kinzig-Kreis
Main-Kinzig-Kreis Groß-Gerau Fulda
action union
action filter_type
action find
entity Offenbach
relation shares border with
type political territorial entity
action filter_type
action find
entity Main-Kinzig-Kreis
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Offenbach'] [{'concept': 'political territorial entity'}, 'shares border with', 'Main-Kinzig-Kreis']
SELECT DISTINCT ?h WHERE { VALUES ( ?e ) { ( resource:Main-Kinzig-Kreis ) ( resource:Offenbach ) } . ?e property:shares_border_with ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7899
P36
Q56061
USER
Which administrative territory is called the capital of that political territory ?
(Q7899,P36,c(Q56061))
action filter_type
action find
entity Q7899
relation P36
type Q56061
['Q7899', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7899 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Fulda
action filter_type
action find
entity Fulda
relation capital
type administrative territorial entity
['Fulda', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Fulda property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q7899
SYSTEM
Did you mean Fulda ?
Q7911 Q7914 Q7899
(Q7911,P36,c(Q56061)) (Q7914,P36,c(Q56061)) (Q7899,P36,c(Q56061))
[ANSWER]
['Q7911', 'P36', {'concept': 'Q56061'}] ['Q7914', 'P36', {'concept': 'Q56061'}] ['Q7899', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7899 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Main-Kinzig-Kreis Groß-Gerau Fulda
Did you mean Fulda ?
Fulda
['Main-Kinzig-Kreis', 'capital', {'concept': 'administrative territorial entity'}] ['Groß-Gerau', 'capital', {'concept': 'administrative territorial entity'}] ['Fulda', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Fulda property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7899,P36,c(Q56061))
['Q7899', 'P36', {'concept': 'Q56061'}]
['Fulda', 'capital', {'concept': 'administrative territorial entity'}]
[]
Q3963
SYSTEM
Fulda
Q3963
(Q7899,P36,c(Q56061))
action filter_type
action find
entity Q7899
relation P36
type Q56061
[ANSWER] is called the capital of that political territory
['Q7899', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7899 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Fulda
Fulda is called the capital of that political territory
Fulda
action filter_type
action find
entity Fulda
relation capital
type administrative territorial entity
['Fulda', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Fulda property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]