Simple Question (Direct)
Simple Question
Q1443528
P47
Q1048835
USER
Which political territories are bordered by Zigoitia ?
(Q1443528,P47,c(Q1048835))
action filter_type
action find
entity Q1443528
relation P47
type Q1048835
['Q1443528', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q1443528 property:P47 ?v }
Zigoitia
action filter_type
action find
entity Zigoitia
relation shares border with
type political territorial entity
['Zigoitia', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Zigoitia property:shares_border_with ?v }
[]
political territorial entity
Q228613 Q169332 Q1611490
SYSTEM
Zuia, Zeanuri, Legutio
Q228613 Q1227932 Q169332 Q1611490 Q1368923
(Q1443528,P47,c(Q1048835))
action filter_type
action find
entity Q1443528
relation P47
type Q1048835
[ANSWERS] are bordered by Zigoitia
['Q1443528', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q1443528 property:P47 ?v }
Zuia Ubide Zeanuri Legutio Arrazua-Ubarrundia
Zuia, Zeanuri and Legutio are bordered by Zigoitia
Zuia Zeanuri Legutio
action filter_type
action find
entity Zigoitia
relation shares border with
type political territorial entity
['Zigoitia', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Zigoitia property:shares_border_with ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q228613 Q169332 Q1611490
P47
Q1048835
USER
Which political territories do those ones share a border with ?
(c(Q1048835),P47,Q228613) (c(Q1048835),P47,Q169332) (c(Q1048835),P47,Q1611490)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q228613'] [{'concept': 'Q1048835'}, 'P47', 'Q169332'] [{'concept': 'Q1048835'}, 'P47', 'Q1611490']
SELECT DISTINCT ?w WHERE { ?w property:P47 ?r . ?w rdf:type ontology:Q1048835 . VALUES ( ?r ) { ( resource:Q228613 ) ( resource:Q1227932 ) ( resource:Q169332 ) } }
Zuia Zeanuri Legutio
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Zuia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Zeanuri'] [{'concept': 'political territorial entity'}, 'shares border with', 'Legutio']
SELECT DISTINCT ?w WHERE { ?w property:shares_border_with ?r . ?w rdf:type ontology:political_territorial_entity . VALUES ( ?r ) { ( resource:Zuia ) ( resource:Ubide ) ( resource:Zeanuri ) } }
[]
political territorial entity
Q663530 Q726664 Q726664
SYSTEM
Orozko for 2nd, 3rd, Dima for 1st
Q169332 Q481760 Q1445218 Q1368846 Q1443528 Q726664 Q1242330 Q663530 Q1227932 Q228613 Q1443528 Q726664 Q1228114 Q1228124 Q734550 Q976743 Q1443528 Q1368923
(c(Q1048835),P47,Q228613) (c(Q1048835),P47,Q169332) (c(Q1048835),P47,Q1611490)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q228613'] [{'concept': 'Q1048835'}, 'P47', 'Q169332'] [{'concept': 'Q1048835'}, 'P47', 'Q1611490']
SELECT DISTINCT ?w WHERE { ?w property:P47 ?r . ?w rdf:type ontology:Q1048835 . VALUES ( ?r ) { ( resource:Q228613 ) ( resource:Q1227932 ) ( resource:Q169332 ) } }
Zeanuri Amurrio Urkabustaiz Kuartango Zigoitia Orozko Artea Dima Ubide Zuia Zigoitia Orozko Areatza Arantzazu Otxandio Aramaio Zigoitia Arrazua-Ubarrundia
Those ones share a border with Dima, Orozko and Orozko
Dima Orozko Orozko
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Zuia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Zeanuri'] [{'concept': 'political territorial entity'}, 'shares border with', 'Legutio']
SELECT DISTINCT ?w WHERE { ?w property:shares_border_with ?r . ?w rdf:type ontology:political_territorial_entity . VALUES ( ?r ) { ( resource:Zuia ) ( resource:Ubide ) ( resource:Zeanuri ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1443528
P17
Q15617994
USER
Which administrative territory is Zigoitia a part of ?
(Q1443528,P17,c(Q15617994))
action filter_type
action find
entity Q1443528
relation P17
type Q15617994
['Q1443528', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1443528 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Zigoitia
action filter_type
action find
entity Zigoitia
relation country
type designation for an administrative territorial entity
['Zigoitia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Zigoitia property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1443528,P17,c(Q15617994))
action filter_type
action find
entity Q1443528
relation P17
type Q15617994
Which administrative territory is Zigoitia a part of
['Q1443528', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1443528 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Spain
Which administrative territory is Zigoitia a part of
Spain
action filter_type
action find
entity Zigoitia
relation country
type designation for an administrative territorial entity
['Zigoitia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Zigoitia property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19463044
Q15617994
USER
And how about Réaumurstraat?
(Q19463044,P17,c(Q15617994))
action filter_type
action find
entity Q19463044
relation P17
type Q15617994
['Q19463044', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19463044 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Réaumurstraat
action filter_type
action find
entity Réaumurstraat
relation country
type designation for an administrative territorial entity
['Réaumurstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Réaumurstraat property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19463044,P17,c(Q15617994))
action filter_type
action find
entity Q19463044
relation P17
type Q15617994
[ANSWER]
['Q19463044', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19463044 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Réaumurstraat
relation country
type designation for an administrative territorial entity
['Réaumurstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Réaumurstraat property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q55 Q267259
P19
Q502895
USER
Does LaTasha Colander have location of birth at that administrative territory ?
(Q267259,P19,Q55)
action is_in
entity Q267259
action find
entity Q55
relation P19
['Q267259', 'P19', 'Q55']
ASK WHERE { resource:Q55 property:P19 resource:Q267259 }
Netherlands LaTasha Colander
action is_in
entity LaTasha Colander
action find
entity Netherlands
relation place of birth
['LaTasha Colander', 'place of birth', 'Netherlands']
ASK WHERE { resource:Netherlands property:place_of_birth resource:LaTasha_Colander }
[]
common name
SYSTEM
NO
(Q267259,P19,Q55)
action is_in
entity Q267259
action find
entity Q55
relation P19
[ANSWER]
['Q267259', 'P19', 'Q55']
ASK WHERE { resource:Q55 property:P19 resource:Q267259 }
No
action is_in
entity LaTasha Colander
action find
entity Netherlands
relation place of birth
['LaTasha Colander', 'place of birth', 'Netherlands']
ASK WHERE { resource:Netherlands property:place_of_birth resource:LaTasha_Colander }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q726664 Q7073988
P17
Q15617994
USER
Is Orozko located in Oakland Community Unit School District 5 ?
(Q726664,P17,Q7073988)
action is_in
entity Q7073988
action find
entity Q726664
relation P17
['Q726664', 'P17', 'Q7073988']
ASK WHERE { resource:Q726664 property:P17 resource:Q7073988 }
Orozko Oakland Community Unit School District 5
action is_in
entity Oakland Community Unit School District 5
action find
entity Orozko
relation country
['Orozko', 'country', 'Oakland Community Unit School District 5']
ASK WHERE { resource:Orozko property:country resource:Oakland_Community_Unit_School_District_5 }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q726664,P17,Q7073988)
action is_in
entity Q7073988
action find
entity Q726664
relation P17
[ANSWER]
['Q726664', 'P17', 'Q7073988']
ASK WHERE { resource:Q726664 property:P17 resource:Q7073988 }
No
action is_in
entity Oakland Community Unit School District 5
action find
entity Orozko
relation country
['Orozko', 'country', 'Oakland Community Unit School District 5']
ASK WHERE { resource:Orozko property:country resource:Oakland_Community_Unit_School_District_5 }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q408
P530
Q15617994 Q1048835 Q1048835
USER
How many political territories have tactful political relations with around the same number of administrative territories and political territories as Australia ?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q408
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?m WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?r rdf:type ?v } GROUP BY ?m } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q408 property:P530 ?j . { { ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q1048835 } } } } }
Australia
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?m WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?r rdf:type ?v } GROUP BY ?m } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Australia property:diplomatic_relation ?j . { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:political_territorial_entity } } } } }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q408
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?m WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?r rdf:type ?v } GROUP BY ?m } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q408 property:P530 ?j . { { ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q1048835 } } } } }
Germany Australia
2
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?m WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?r rdf:type ?v } GROUP BY ?m } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Australia property:diplomatic_relation ?j . { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:political_territorial_entity } } } } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q663530 Q474080 Q4325407
P47
Q1048835
USER
Is Dima next to the border of Amorebieta-Etxano and Novoserhiivka ?
(Q663530,P47,Q474080) (Q663530,P47,Q4325407)
action is_in
entity Q663530
action intersection
action find_reverse
entity Q474080
relation P47
action find_reverse
entity Q4325407
relation P47
['Q663530', 'P47', 'Q474080'] ['Q663530', 'P47', 'Q4325407']
ASK WHERE { resource:Q663530 property:P47 resource:Q474080 . resource:Q663530 property:P47 resource:Q4325407 }
Dima Amorebieta-Etxano Novoserhiivka
action is_in
entity Dima
action intersection
action find_reverse
entity Amorebieta-Etxano
relation shares border with
action find_reverse
entity Novoserhiivka
relation shares border with
['Dima', 'shares border with', 'Amorebieta-Etxano'] ['Dima', 'shares border with', 'Novoserhiivka']
ASK WHERE { resource:Dima property:shares_border_with resource:Amorebieta-Etxano . resource:Dima property:shares_border_with resource:Novoserhiivka }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q663530,P47,Q474080) (Q663530,P47,Q4325407)
action is_in
entity Q663530
action intersection
action find_reverse
entity Q474080
relation P47
action find_reverse
entity Q4325407
relation P47
[ANSWER]
['Q663530', 'P47', 'Q474080'] ['Q663530', 'P47', 'Q4325407']
ASK WHERE { resource:Q663530 property:P47 resource:Q474080 . resource:Q663530 property:P47 resource:Q4325407 }
YES and NO respectively
action is_in
entity Dima
action intersection
action find_reverse
entity Amorebieta-Etxano
relation shares border with
action find_reverse
entity Novoserhiivka
relation shares border with
['Dima', 'shares border with', 'Amorebieta-Etxano'] ['Dima', 'shares border with', 'Novoserhiivka']
ASK WHERE { resource:Dima property:shares_border_with resource:Amorebieta-Etxano . resource:Dima property:shares_border_with resource:Novoserhiivka }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q228613 Q14318
P47
Q56061
USER
Does Vitoria-Gasteiz share border with Zuia ?
(Q228613,P47,Q14318)
action is_in
entity Q14318
action find
entity Q228613
relation P47
['Q228613', 'P47', 'Q14318']
ASK WHERE { resource:Q228613 property:P47 resource:Q14318 }
Zuia Vitoria-Gasteiz
action is_in
entity Vitoria-Gasteiz
action find
entity Zuia
relation shares border with
['Zuia', 'shares border with', 'Vitoria-Gasteiz']
ASK WHERE { resource:Zuia property:shares_border_with resource:Vitoria-Gasteiz }
[]
administrative territorial entity
SYSTEM
YES
(Q228613,P47,Q14318)
action is_in
entity Q14318
action find
entity Q228613
relation P47
[ANSWER]
['Q228613', 'P47', 'Q14318']
ASK WHERE { resource:Q228613 property:P47 resource:Q14318 }
Yes
action is_in
entity Vitoria-Gasteiz
action find
entity Zuia
relation shares border with
['Zuia', 'shares border with', 'Vitoria-Gasteiz']
ASK WHERE { resource:Zuia property:shares_border_with resource:Vitoria-Gasteiz }
[]