Simple Question (Direct)
Simple Question
Q248368
P19
Q56061
USER
Where was Peter Wisgerhof born ?
(Q248368,P19,c(Q56061))
action filter_type
action find
entity Q248368
relation P19
type Q56061
['Q248368', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q248368 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Peter Wisgerhof
action filter_type
action find
entity Peter Wisgerhof
relation place of birth
type administrative territorial entity
['Peter Wisgerhof', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Peter_Wisgerhof property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1305
SYSTEM
Wageningen
Q1305
(Q248368,P19,c(Q56061))
action filter_type
action find
entity Q248368
relation P19
type Q56061
Peter Wisgerhof was born in [ANSWER]
['Q248368', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q248368 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Wageningen
Peter Wisgerhof was born in Wageningen
Wageningen
action filter_type
action find
entity Peter Wisgerhof
relation place of birth
type administrative territorial entity
['Peter Wisgerhof', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Peter_Wisgerhof property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1305
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
(Q1305,P237,c(Q17335294))
action filter_type
action find
entity Q1305
relation P237
type Q17335294
['Q1305', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { resource:Q1305 property:P237 ?k . ?k rdf:type ontology:Q17335294 }
Wageningen
action filter_type
action find
entity Wageningen
relation coat of arms
type flag or coat of arms
['Wageningen', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { resource:Wageningen property:coat_of_arms ?k . ?k rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q15883818
SYSTEM
coat of arms of Wageningen
Q15883818
(Q1305,P237,c(Q17335294))
action filter_type
action find
entity Q1305
relation P237
type Q17335294
The [ANSWER] serves as the ensign for that administrative territory
['Q1305', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { resource:Q1305 property:P237 ?k . ?k rdf:type ontology:Q17335294 }
coat of arms of Wageningen
The coat of arms of Wageningen serves as the ensign for that administrative territory
coat of arms of Wageningen
action filter_type
action find
entity Wageningen
relation coat of arms
type flag or coat of arms
['Wageningen', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { resource:Wageningen property:coat_of_arms ?k . ?k rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1305
P47
Q13220204
USER
Which administrative country subdivisions have a shared border with Wageningen ?
(Q1305,P47,c(Q13220204))
action filter_type
action find
entity Q1305
relation P47
type Q13220204
['Q1305', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?c WHERE { resource:Q1305 property:P47 ?c . ?c rdf:type ontology:Q13220204 }
Wageningen
action filter_type
action find
entity Wageningen
relation shares border with
type second-level administrative country subdivision
['Wageningen', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?c WHERE { resource:Wageningen property:shares_border_with ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q26555 Q600871 Q952997
SYSTEM
Ede, Overbetuwe, Neder-Betuwe
Q600871 Q10040 Q26555 Q952997
(Q1305,P47,c(Q13220204))
action filter_type
action find
entity Q1305
relation P47
type Q13220204
[ANSWERS] have a shared border with Wageningen
['Q1305', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?c WHERE { resource:Q1305 property:P47 ?c . ?c rdf:type ontology:Q13220204 }
Overbetuwe Rhenen Ede Neder-Betuwe
Ede, Overbetuwe and Neder-Betuwe have a shared border with Wageningen
Ede Overbetuwe Neder-Betuwe
action filter_type
action find
entity Wageningen
relation shares border with
type second-level administrative country subdivision
['Wageningen', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?c WHERE { resource:Wageningen property:shares_border_with ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q26555 Q600871 Q952997
P1383
Q56061
USER
Which administrative territories are administratively managed by Ede, Overbetuwe and Neder-Betuwe ?
(Q26555,P1383,c(Q56061)) (Q600871,P1383,c(Q56061)) (Q952997,P1383,c(Q56061))
action union
action filter_type
action find
entity Q26555
relation P1383
type Q56061
action filter_type
action find
entity Q600871
relation P1383
type Q56061
action filter_type
action find
entity Q952997
relation P1383
type Q56061
['Q26555', 'P1383', {'concept': 'Q56061'}] ['Q600871', 'P1383', {'concept': 'Q56061'}] ['Q952997', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?o ) { ( resource:Q26555 ) ( resource:Q600871 ) } . ?o property:P1383 ?e }
Ede Overbetuwe Neder-Betuwe
action union
action filter_type
action find
entity Ede
relation contains settlement
type administrative territorial entity
action filter_type
action find
entity Overbetuwe
relation contains settlement
type administrative territorial entity
action filter_type
action find
entity Neder-Betuwe
relation contains settlement
type administrative territorial entity
['Ede', 'contains settlement', {'concept': 'administrative territorial entity'}] ['Overbetuwe', 'contains settlement', {'concept': 'administrative territorial entity'}] ['Neder-Betuwe', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?o ) { ( resource:Ede ) ( resource:Overbetuwe ) } . ?o property:contains_settlement ?e }
[]
administrative territorial entity
Q130580 Q1614071 Q1615562
SYSTEM
Elst, Dodewaard, Kesteren
Q2281003 Q2473978 Q984804 Q1507955 Q2106365 Q2491433 Q1907164 Q58526 Q1809734 Q3027065 Q661985 Q130580 Q2173020 Q1614971 Q1889496 Q2265087 Q3031019 Q2439969 Q2757855 Q1614071 Q1615562 Q2086230 Q1614076 Q2525207 Q3183256 Q2136597
(Q26555,P1383,c(Q56061)) (Q600871,P1383,c(Q56061)) (Q952997,P1383,c(Q56061))
action union
action filter_type
action find
entity Q26555
relation P1383
type Q56061
action filter_type
action find
entity Q600871
relation P1383
type Q56061
action filter_type
action find
entity Q952997
relation P1383
type Q56061
[ANSWERS] are administratively managed by Ede, Overbetuwe and Neder-Betuwe
['Q26555', 'P1383', {'concept': 'Q56061'}] ['Q600871', 'P1383', {'concept': 'Q56061'}] ['Q952997', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?o ) { ( resource:Q26555 ) ( resource:Q600871 ) } . ?o property:P1383 ?e }
Bennekom Ede Deelen Otterlo Ederveen Wekerom Lunteren Harskamp De Klomp Heteren Slijk-Ewijk Elst Zetten Driel Valburg Andelst Hemmen Oosterhout Herveld Dodewaard Kesteren Lede en Oudewaard Echteld Ochten Opheusden IJzendoorn
Elst, Dodewaard and Kesteren are administratively managed by Ede, Overbetuwe and Neder-Betuwe
Elst Dodewaard Kesteren
action union
action filter_type
action find
entity Ede
relation contains settlement
type administrative territorial entity
action filter_type
action find
entity Overbetuwe
relation contains settlement
type administrative territorial entity
action filter_type
action find
entity Neder-Betuwe
relation contains settlement
type administrative territorial entity
['Ede', 'contains settlement', {'concept': 'administrative territorial entity'}] ['Overbetuwe', 'contains settlement', {'concept': 'administrative territorial entity'}] ['Neder-Betuwe', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?o ) { ( resource:Ede ) ( resource:Overbetuwe ) } . ?o property:contains_settlement ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26555
P17
Q15617994
USER
Which administrative territory is that administrative country subdivision present in ?
(Q26555,P17,c(Q15617994))
action filter_type
action find
entity Q26555
relation P17
type Q15617994
['Q26555', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q26555 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Ede
action filter_type
action find
entity Ede
relation country
type designation for an administrative territorial entity
['Ede', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ede property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q26555
SYSTEM
Did you mean Ede ?
Q130580 Q1614071 Q1615562
(Q130580,P17,c(Q15617994)) (Q1614071,P17,c(Q15617994)) (Q1615562,P17,c(Q15617994))
[ANSWER]
['Q130580', 'P17', {'concept': 'Q15617994'}] ['Q1614071', 'P17', {'concept': 'Q15617994'}] ['Q1615562', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q26555 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Elst Dodewaard Kesteren
Did you mean Ede ?
Ede
['Elst', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dodewaard', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kesteren', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ede property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q26555,P17,c(Q15617994))
['Q26555', 'P17', {'concept': 'Q15617994'}]
['Ede', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q26555,P17,c(Q15617994))
action filter_type
action find
entity Q26555
relation P17
type Q15617994
That administrative country subdivision is the [ANSWER]
['Q26555', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q26555 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Netherlands
That administrative country subdivision is the Netherlands
Netherlands
action filter_type
action find
entity Ede
relation country
type designation for an administrative territorial entity
['Ede', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ede property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P30
Q82794 Q2221906
USER
How many geographic regions and geographic locations are that administrative territory a part of ?
(Q55,P30,c(Q82794)) (Q55,P30,c(Q2221906)) (Q55,P30,c(Q82794)) (Q55,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q55
relation P30
type Q82794
action filter_type
action find
entity Q55
relation P30
type Q2221906
['Q55', 'P30', {'concept': 'Q82794'}] ['Q55', 'P30', {'concept': 'Q2221906'}] ['Q55', 'P30', {'concept': 'Q82794'}] ['Q55', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } }
action count
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic region
action filter_type
action find
entity Netherlands
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic region'}] ['Netherlands', 'continent', {'concept': 'geographic location'}] ['Netherlands', 'continent', {'concept': 'geographic region'}] ['Netherlands', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } }
[]
geographic region geographic location
SYSTEM
1 geographic regions and 1 geographic locations
Q46 Q27611
(Q55,P30,c(Q82794)) (Q55,P30,c(Q2221906)) (Q55,P30,c(Q82794)) (Q55,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q55
relation P30
type Q82794
action filter_type
action find
entity Q55
relation P30
type Q2221906
[ANSWER]
['Q55', 'P30', {'concept': 'Q82794'}] ['Q55', 'P30', {'concept': 'Q2221906'}] ['Q55', 'P30', {'concept': 'Q82794'}] ['Q55', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } }
Europe Central America
1 geographic regions and 1 geographic locations
action count
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic region
action filter_type
action find
entity Netherlands
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic region'}] ['Netherlands', 'continent', {'concept': 'geographic location'}] ['Netherlands', 'continent', {'concept': 'geographic region'}] ['Netherlands', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q952997
P17
Q15617994
USER
Which administrative territory is Neder-Betuwe present in ?
(Q952997,P17,c(Q15617994))
action filter_type
action find
entity Q952997
relation P17
type Q15617994
['Q952997', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q952997 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Neder-Betuwe
action filter_type
action find
entity Neder-Betuwe
relation country
type designation for an administrative territorial entity
['Neder-Betuwe', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Neder-Betuwe property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q952997,P17,c(Q15617994))
action filter_type
action find
entity Q952997
relation P17
type Q15617994
Which administrative territory is Neder-Betuwe present in
['Q952997', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q952997 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Netherlands
Which administrative territory is Neder-Betuwe present in
Netherlands
action filter_type
action find
entity Neder-Betuwe
relation country
type designation for an administrative territorial entity
['Neder-Betuwe', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Neder-Betuwe property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q61029
Q15617994
USER
And what about Desha County?
(Q61029,P17,c(Q15617994))
action filter_type
action find
entity Q61029
relation P17
type Q15617994
['Q61029', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q61029 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Desha County
action filter_type
action find
entity Desha County
relation country
type designation for an administrative territorial entity
['Desha County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Desha_County property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q61029,P17,c(Q15617994))
action filter_type
action find
entity Q61029
relation P17
type Q15617994
[ANSWER]
['Q61029', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q61029 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Desha County
relation country
type designation for an administrative territorial entity
['Desha County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Desha_County property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q90598 Q26555
P47
Q13220204
USER
Which administrative country subdivisions share the border with Ede or Valle ?
OR((Q26555,P47,c(Q13220204)), (Q90598,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q26555
relation P47
action find
entity Q90598
relation P47
type Q13220204
{'OR': [['Q26555', 'P47', {'concept': 'Q13220204'}], ['Q90598', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?z ) { ( resource:Q90598 ) ( resource:Q26555 ) } . ?z property:P47 ?e } . ?e rdf:type ontology:Q13220204 }
Valle Ede
action filter_type
action union
action find
entity Ede
relation shares border with
action find
entity Valle
relation shares border with
type second-level administrative country subdivision
{'OR': [['Ede', 'shares border with', {'concept': 'second-level administrative country subdivision'}], ['Valle', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?z ) { ( resource:Valle ) ( resource:Ede ) } . ?z property:shares_border_with ?e } . ?e rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2241 Q281835 Q88804 Q88806 Q101918 Q10040 Q1881 Q164098
SYSTEM
Tokke, Sirdal, Bygland, Bykle, Apeldoorn, Rhenen, Fyresdal, Barneveld
Q2241 Q281835 Q88804 Q88806 Q101918 Q10040 Q1881 Q164098
OR((Q26555,P47,c(Q13220204)), (Q90598,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q26555
relation P47
action find
entity Q90598
relation P47
type Q13220204
[ANSWERS] share the border with Ede or Valle
{'OR': [['Q26555', 'P47', {'concept': 'Q13220204'}], ['Q90598', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?z ) { ( resource:Q90598 ) ( resource:Q26555 ) } . ?z property:P47 ?e } . ?e rdf:type ontology:Q13220204 }
Tokke Sirdal Bygland Bykle Apeldoorn Rhenen Fyresdal Barneveld
Tokke, Sirdal, Bygland, Bykle, Apeldoorn, Rhenen, Fyresdal and Barneveld share the border with Ede or Valle
Tokke Sirdal Bygland Bykle Apeldoorn Rhenen Fyresdal Barneveld
action filter_type
action union
action find
entity Ede
relation shares border with
action find
entity Valle
relation shares border with
type second-level administrative country subdivision
{'OR': [['Ede', 'shares border with', {'concept': 'second-level administrative country subdivision'}], ['Valle', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?z ) { ( resource:Valle ) ( resource:Ede ) } . ?z property:shares_border_with ?e } . ?e rdf:type ontology:second-level_administrative_country_subdivision }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10040
P276
Q4830453
USER
Which business enterprise has its location as that administrative country subdivision ?
(c(Q4830453),P276,Q10040)
action filter_type
action find_reverse
entity Q10040
relation P276
type Q4830453
[{'concept': 'Q4830453'}, 'P276', 'Q10040']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q4830453 . ?k property:P276 resource:Q10040 }
Rhenen
action filter_type
action find_reverse
entity Rhenen
relation location
type business enterprise
[{'concept': 'business enterprise'}, 'location', 'Rhenen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:business_enterprise . ?k property:location resource:Rhenen }
[]
business enterprise
Clarification for simple ques.
Q1881
SYSTEM
Did you mean Fyresdal ?
Q2241 Q281835 Q88804 Q88806 Q101918 Q10040 Q1881 Q164098
(c(Q4830453),P276,Q2241) (c(Q4830453),P276,Q281835) (c(Q4830453),P276,Q88804) (c(Q4830453),P276,Q88806) (c(Q4830453),P276,Q101918) (c(Q4830453),P276,Q10040) (c(Q4830453),P276,Q1881) (c(Q4830453),P276,Q164098)
[ANSWER]
[{'concept': 'Q4830453'}, 'P276', 'Q2241'] [{'concept': 'Q4830453'}, 'P276', 'Q281835'] [{'concept': 'Q4830453'}, 'P276', 'Q88804'] [{'concept': 'Q4830453'}, 'P276', 'Q88806'] [{'concept': 'Q4830453'}, 'P276', 'Q101918'] [{'concept': 'Q4830453'}, 'P276', 'Q10040'] [{'concept': 'Q4830453'}, 'P276', 'Q1881'] [{'concept': 'Q4830453'}, 'P276', 'Q164098']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q4830453 . ?k property:P276 resource:Q10040 }
Tokke Sirdal Bygland Bykle Apeldoorn Rhenen Fyresdal Barneveld
Did you mean Fyresdal ?
Fyresdal
[{'concept': 'business enterprise'}, 'location', 'Tokke'] [{'concept': 'business enterprise'}, 'location', 'Sirdal'] [{'concept': 'business enterprise'}, 'location', 'Bygland'] [{'concept': 'business enterprise'}, 'location', 'Bykle'] [{'concept': 'business enterprise'}, 'location', 'Apeldoorn'] [{'concept': 'business enterprise'}, 'location', 'Rhenen'] [{'concept': 'business enterprise'}, 'location', 'Fyresdal'] [{'concept': 'business enterprise'}, 'location', 'Barneveld']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:business_enterprise . ?k property:location resource:Rhenen }
[]
Simple Question (Coreferenced)
USER
No, I meant Rhenen. Could you tell me the answer for that?
(c(Q4830453),P276,Q10040)
Q10040
[{'concept': 'Q4830453'}, 'P276', 'Q10040']
[{'concept': 'business enterprise'}, 'location', 'Rhenen']
[]
Q8170993
SYSTEM
't Koetshuis
Q8170993
(c(Q4830453),P276,Q10040)
action filter_type
action find_reverse
entity Q10040
relation P276
type Q4830453
[ANSWER] has its location as that administrative country subdivision
[{'concept': 'Q4830453'}, 'P276', 'Q10040']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q4830453 . ?k property:P276 resource:Q10040 }
't Koetshuis
't Koetshuis has its location as that administrative country subdivision
't Koetshuis
action filter_type
action find_reverse
entity Rhenen
relation location
type business enterprise
[{'concept': 'business enterprise'}, 'location', 'Rhenen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:business_enterprise . ?k property:location resource:Rhenen }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q64224
P190
Q13220204 Q515 Q13220204
USER
How many administrative country subdivisions are partner town of lesser number of administrative country subdivisions or cities than Opfikon ?
(c(Q13220204),P190,c(Q13220204)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action find_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find
entity Q64224
relation P190
type Q13220204
type Q515
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?o ) WHERE { { ?u property:P190 ?s . ?u rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q13220204 } UNION { ?u property:P190 ?s . ?u rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q64224 property:P190 ?k . { { ?k rdf:type ontology:Q13220204 } UNION { ?k rdf:type ontology:Q515 } } } } . FILTER ( ?o < ?h ) }
Opfikon
action count
action less
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find
entity Opfikon
relation sister city
type second-level administrative country subdivision
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?o ) WHERE { { ?u property:sister_city ?s . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?u property:sister_city ?s . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Opfikon property:sister_city ?k . { { ?k rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?k rdf:type ontology:city } } } } . FILTER ( ?o < ?h ) }
[]
second-level administrative country subdivision city second-level administrative country subdivision
SYSTEM
505
Q101341 Q622817 Q67040 Q331191 Q10082 Q64027 Q57917 Q57914 Q841299 Q64210 Q69235 Q193965 Q255972 Q7124 Q70245 Q2372 Q840457 Q57076 Q67348 Q381340 Q3827305 Q70369 Q69729 Q13209 Q966804 Q10016 Q183029 Q68889 Q729447 Q146497 Q3621436 Q65316 Q866611 Q65620 Q69099 Q56915 Q68906 Q64567 Q161144 Q55180 Q638592 Q109483 Q130048 Q133280 Q64961 Q615491 Q498256 Q1021676 Q64668 Q1719466 Q917326 Q56869 Q849156 Q65797 Q9928 Q9880 Q66562 Q3947412 Q110268 Q631788 Q67249 Q68003 Q64183 Q69274 Q492115 Q1013628 Q209016 Q9819 Q9952 Q9810 Q63946 Q67382 Q927703 Q161984 Q147739 Q67544 Q70734 Q249715 Q691992 Q66381 Q493308 Q1002565 Q208012 Q990448 Q36077 Q69612 Q990365 Q67499 Q65510 Q661799 Q204905 Q64077 Q9777 Q70603 Q69515 Q994125 Q65195 Q291780 Q688324 Q68986 Q10020 Q10024 Q1190659 Q488779 Q450625 Q1010094 Q68224 Q72981 Q426945 Q39383 Q420333 Q48668 Q108999 Q484111 Q584694 Q485253 Q157144 Q69724 Q488975 Q70101 Q925340 Q69979 Q685990 Q850031 Q995055 Q68256 Q156719 Q9857 Q68315 Q5128 Q113740 Q67724 Q625157 Q68244 Q104379 Q68031 Q1019053 Q500227 Q843899 Q66050 Q66056 Q157440 Q69572 Q565726 Q986107 Q952457 Q47062 Q484243 Q183394 Q200133 Q156760 Q600871 Q208499 Q320015 Q2527479 Q636935 Q317943 Q69714 Q51111 Q3799 Q1532373 Q1770737 Q486696 Q63905 Q200459 Q156125 Q281835 Q65497 Q57097 Q68711 Q70655 Q10071 Q10073 Q60453 Q1006413 Q659665 Q136498 Q995091 Q68165 Q1542478 Q744247 Q70424 Q1639488 Q1647 Q9796 Q67159 Q565287 Q70139 Q2201876 Q64727 Q971700 Q238396 Q65978 Q65872 Q987491 Q985455 Q69417 Q591719 Q9942 Q67714 Q43595 Q1893077 Q1010468 Q63939 Q1010463 Q48696 Q252098 Q70048 Q946398 Q67468 Q67530 Q980728 Q68665 Q69401 Q483902 Q110311 Q291333 Q7143 Q69819 Q14641 Q69747 Q217802 Q938739 Q484057 Q845666 Q69621 Q484052 Q483877 Q7132 Q1011275 Q483871 Q461142 Q108025 Q70202 Q721567 Q70295 Q70293 Q52261 Q70204 Q1000404 Q111039 Q10035 Q65981 Q1574897 Q133230 Q66457 Q3853441 Q488747 Q70467 Q9999 Q9998 Q235190 Q108988 Q214913 Q156809 Q405241 Q732986 Q66433 Q66617 Q69967 Q335135 Q758578 Q109005 Q54449 Q493851 Q64099 Q64093 Q501518 Q648489 Q1442335 Q68363 Q68248 Q9093 Q951897 Q493988 Q68532 Q9905 Q67100 Q997796 Q538953 Q917535 Q70167 Q66042 Q490462 Q57871 Q65802 Q64461 Q65808 Q69259 Q9835 Q9833 Q455464 Q73065 Q9850 Q67367 Q27892 Q52698 Q48529 Q936904 Q69706 Q1813743 Q9873 Q404261 Q10052 Q9866 Q1525701 Q868198 Q158923 Q236744 Q856293 Q64504 Q108031 Q69675 Q64469 Q2326 Q988413 Q57081 Q57083 Q48827 Q48732 Q2590698 Q493315 Q64865 Q10045 Q10047 Q337497 Q66523 Q157055 Q1003146 Q211260 Q919617 Q66146 Q157053 Q2933 Q107396 Q68201 Q744259 Q52278 Q222755 Q691725 Q9780 Q9781 Q372840 Q2680952 Q107351 Q1149128 Q485297 Q65512 Q69525 Q62266 Q156734 Q113595 Q109042 Q9970 Q67705 Q69058 Q9872 Q889530 Q109048 Q9978 Q9876 Q9875 Q110431 Q9856 Q67137 Q997421 Q161961 Q36354 Q652130 Q54062 Q69551 Q1011303 Q486726 Q69558 Q7131 Q249906 Q7133 Q65421 Q140671 Q48701 Q323774 Q62641 Q69738 Q613989 Q10001 Q10002 Q10003 Q745038 Q43245 Q70671 Q52271 Q986059 Q3348885 Q939948 Q889588 Q757856 Q68871 Q6535 Q67798 Q405252 Q623736 Q66604 Q70232 Q840632 Q793424 Q493481 Q917330 Q9932 Q109494 Q723246 Q43225 Q66511 Q68540 Q66518 Q109140 Q66890 Q66672 Q67278 Q216430 Q983483 Q564759 Q57868 Q69512 Q57864 Q14571 Q52303 Q57860 Q9803 Q9802 Q952183 Q9806 Q1442359 Q9809 Q90597 Q90595 Q2241 Q14592 Q2245 Q243766 Q538407 Q69507 Q381337 Q69942 Q65158 Q43048 Q271922 Q486677 Q104095 Q3549 Q109469 Q68933 Q1146805 Q88806 Q64920 Q3617 Q33544 Q67305 Q68838 Q146524 Q484074 Q26581 Q52678 Q68395 Q52773 Q71727 Q52671 Q33682 Q70635 Q543542 Q157725 Q4686 Q107582 Q473529 Q66256 Q70710 Q68946 Q66846 Q36160 Q66487 Q609028 Q68580 Q146453 Q68742 Q69690 Q69693 Q69495 Q109021 Q934753 Q500284 Q750594 Q826511 Q65506 Q990385 Q532572 Q488962 Q69945 Q65508 Q849574 Q1126256 Q504580 Q1003551 Q156704 Q217394 Q574558 Q69180
(c(Q13220204),P190,c(Q13220204)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action find_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find
entity Q64224
relation P190
type Q13220204
type Q515
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?o ) WHERE { { ?u property:P190 ?s . ?u rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q13220204 } UNION { ?u property:P190 ?s . ?u rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q64224 property:P190 ?k . { { ?k rdf:type ontology:Q13220204 } UNION { ?k rdf:type ontology:Q515 } } } } . FILTER ( ?o < ?h ) }
Lillehammer Tomar Naters Abrantes Municipality Tholen Nyon Ullensaker Sørum Matosinhos Spreitenbach Cham Kamianets-Podilskyi Eemsmond Ruswil Gimel Kragerø Tynaarlo Bærum Gansingen Mealhada Las Vueltas Fehraltorf Rapperswil-Jona Nidau Aleksinac Oldenzaal Sande Vouvry Dobele Berehove Arcatao Meisterschwanden Commune of Bisoro Tuggen Trimmis Aurskog-Høland Bagnes Buochs Alchevsk Zaragoza Province Krāslava Kristiansund Røst Środa Wielkopolska County Felsberg Heerde Bauska Trigono Reigoldswil Panevėžys Vila Franca de Xira Asker Līvāni Sirnach Heemstede Werkendam Tübach San José Las Flores, Chalatenango Nedre Eiker Paredes Reconvilier Claro Küssnacht Lichtensteig Randaberg Nisa Municipality Santa Marta Boxmeer Opmeer Asten Yverdon-les-Bains Bellmund Santa Fe de Antioquia Fastiv Izmail Malleray Oron Olaine Grocka Kiesen Bjerkreim Madalena Hoogeveen Seixal Municipality Hạ Long Sevelen Ponte de Sor Municipality Herzogenbuchsee Bonstetten Saint-Ursanne Eleusis Wil Venlo Avegno Gordevio Vétroz Natitingou Suhr Ísafjarðarbær Parakou St. Moritz Rijssen-Holten Twenterand Vaasa sub-region Tynset Alytus Ipiales Morcote Wijchen Cantanhede Municipality Bodø Aknīste Spydeberg Røros Averøy Stara Pazova Stord Vinnytsia Oberwil Lærdal Sembrancher Kaniv Villeret Guaduas Ouidah Velika Plana Porrentruy Kamianske Oisterwijk Heiden Woerden Eidsberg Vex Estremoz Wohlen Vadsø Heitenried Lajes do Pico Vennesla Rheden Menzingen Wittenbach Truskavets Saxon Povoação Alcanena Municipality Nizhyn Fernando de la Mora Bjugn Vagharshapat Chalkida Nikopol Overbetuwe Uman San Juan de Pasto Kouandé Tukums Nowa Sól County Grand-Saconnex Pereira Porto-Novo Zaltbommel Albufeira Municipality Rygge Kreuzlingen Póvoa de Varzim Larvik Sirdal Hausen bei Brugg Coppet Préverenges Mex Borsele Hulst Coevorden Lousã Municipality Salacgrīva Fuerte Olimpo Aleksandrovac Kloten Grand-Popo Saldus Saint-Blaise Sosúa Rijeka Kerkrade Kerns São João da Madeira Cressier Presidente Franco District Allschwil Stari Grad, Belgrade Epe Dulliken Arconciel Nova Kakhovka Egaleo Zweisimmen Novovolynsk Landsmeer Cottens Cotonou Bassila Velas Baden Santa Cruz da Graciosa Fauske New Belgrade Vucherens Paços de Ferreira Nods Bettingen Domburg Muntelier Morges Karmøy Øvre Eiker Alūksne Schenkon Dürrenroth Emmen Reinach Stjørdal San Lorenzo Hol Kandi Binningen Bamble Eigersund Buttisholz Knjaževac Holmestrand Bedum Sarpsborg Moudon Quillota Province Schöfflisdorf Merzligen Bex Le Landeron Pryluky Namsos De Bilt Krauchthal Ambalema Piła County Rafz Meanguera, Morazán Kvinesdal Vaumarcus Dinkelland Dalfsen Manizales Kongsberg Leticia Novyi Rozdil Oliveira do Bairro Municipality Salaspils Eiken Frick Wangen bei Olten Popayán Auce Sandefjord Vellerat Tysfjord Brugg Le Locle Gran Loznica Manzanares Laufen Grenchen Bülach Chiquinquirá Malvik La Sagne Beverwijk Lachen Pamplona La Vega Loures Ayent Hilterfingen Farsund Skedsmo Hüttlingen Neuenhof Buchberg Pontresina Geldrop-Mierlo Etten-Leur Noordwijk Veendam Loon op Zand Niederried bei Kallnach Neringa Municipality Chardonne Trysil Felgueiras Municipality Brissago Voždovac Valkenswaard Ovar Vianen Sint-Michielsgestel Tenjo Djougou Stryi Tunja Novi Kneževac Auenstein Gjøvik Zollikofen Fislisbach Notodden Puerto Plata Enebakk Frogn Sør-Varanger Meråker Pantelej Bardu Bischofszell IJsselstein Lopik Čajetina Füllinsdorf Cherkasy Vila Nova de Paiva Zaandam Brus Brenzikofen Chernihiv Asunción Leikanger Thônex Ludza Boussens Ibagué Renkum Stein Sittard-Geleen Tavira Municipality Rotterdam Hammerfest Krosno County Sauda Oberembrach Payerne Ålesund Oleksandriia, Kirovohrad Oblast Oppdal Halden Velsen Schmitten Wittnau Uden Chornomorsk Horten Zaanstad Vught Veldhoven Steinkjer Oirschot Elgg Vasylkiv Myrhorod Hải Dương Reykjanesbær Ås Evolène Obukhiv Sigdal Savièse Nottwil Águeda Municipality Grosswangen Lostorf Ostroh Svelvik Valka Nordkapp Pully Duiven Deventer Enschede Haaksbergen Waalwijk Baulmes Romainmôtier-Envy Bottens Copargo Sintra Municipality Putten Podilsk Valpaços Municipality Martigny-Combe Alta Plaffeien Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Les Bois Opsterland Berezhany Flekkefjord Santo Tirso Municipality Heiloo Odda Santa Tecla, El Salvador Assens Olsberg Les Planchettes Oberflachs Elverum Rüthi Breitenbach Mühleberg Levanger Gondomar Lagoa Oppegård Lyss Nesodden Kriens Bussy-Chardonney Lørenskog Brunssum Echt-Susteren Rijnwoude Beek Palermo Alphen-Chaam Tvedestrand Risør Tokke Ettiswil Vinje Bucaramanga Montemor-o-Novo Municipality Boudry Estarreja Municipality Boécourt Stetten Rhodes Sremski Karlovci Dovre Molde Šibenik Askim Mex Fjarðabyggð Bykle Breil/Brigels Karlovac Volodymyr-Volynskyi Charmey La Brévine Yaremche Nord-Aurdal Thái Nguyên Chamblon Neerach Cheseaux-sur-Lausanne Irpin Carrouge Nam Định Glarus Nord Portimão Chernivtsi Slavonski Brod Cēsis Fjell Hünenberg Saillon Saint-Oyens Lotzwil Hội An Corminboeuf Antratsyt Cheyres Kalush Échichens Ittigen Saas-Fee Ligerz Moss Buga Orkdal Guarda Montijo Municipality Flawil Horta Mariquita, Tolima Hægebostad Müntschemier Balgach Loppersum Hajnówka County Chaves Municipality Nejapa Kovel Barreiro Heerenveen Stetten
505
action count
action less
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find
entity Opfikon
relation sister city
type second-level administrative country subdivision
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?o ) WHERE { { ?u property:sister_city ?s . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?u property:sister_city ?s . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Opfikon property:sister_city ?k . { { ?k rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?k rdf:type ontology:city } } } } . FILTER ( ?o < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q668869
P190
Q13220204 Q515 Q13220204
USER
And how about Epesses?
(c(Q13220204),P190,c(Q13220204)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action find_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find
entity Q668869
relation P190
type Q13220204
type Q515
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:Q13220204 . ?n rdf:type ontology:Q13220204 . ?p property:P190 ?n } UNION { ?p property:P190 ?n . ?p rdf:type ontology:Q13220204 . ?n rdf:type ontology:Q515 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q668869 property:P190 ?w . { VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } . ?w rdf:type ?t } } } . FILTER ( ?v < ?l ) }
Epesses
action count
action less
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find
entity Epesses
relation sister city
type second-level administrative country subdivision
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:second-level_administrative_country_subdivision . ?n rdf:type ontology:second-level_administrative_country_subdivision . ?p property:sister_city ?n } UNION { ?p property:sister_city ?n . ?p rdf:type ontology:second-level_administrative_country_subdivision . ?n rdf:type ontology:city } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Epesses property:sister_city ?w . { VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } . ?w rdf:type ?t } } } . FILTER ( ?v < ?l ) }
[]
second-level administrative country subdivision city second-level administrative country subdivision
SYSTEM
505
Q101341 Q622817 Q67040 Q331191 Q10082 Q64027 Q57917 Q57914 Q841299 Q64210 Q69235 Q193965 Q255972 Q7124 Q70245 Q2372 Q840457 Q57076 Q67348 Q381340 Q3827305 Q70369 Q69729 Q13209 Q966804 Q10016 Q183029 Q68889 Q729447 Q146497 Q3621436 Q65316 Q866611 Q65620 Q69099 Q56915 Q68906 Q64567 Q161144 Q55180 Q638592 Q109483 Q130048 Q133280 Q64961 Q615491 Q498256 Q1021676 Q64668 Q1719466 Q917326 Q56869 Q849156 Q65797 Q9928 Q9880 Q66562 Q3947412 Q110268 Q631788 Q67249 Q68003 Q64183 Q69274 Q492115 Q1013628 Q209016 Q9819 Q9952 Q9810 Q63946 Q67382 Q927703 Q161984 Q147739 Q67544 Q70734 Q249715 Q691992 Q66381 Q493308 Q1002565 Q208012 Q990448 Q36077 Q69612 Q990365 Q67499 Q65510 Q661799 Q204905 Q64077 Q9777 Q70603 Q69515 Q994125 Q65195 Q291780 Q688324 Q68986 Q10020 Q10024 Q1190659 Q488779 Q450625 Q1010094 Q68224 Q72981 Q426945 Q39383 Q420333 Q48668 Q108999 Q484111 Q584694 Q485253 Q157144 Q69724 Q488975 Q70101 Q925340 Q69979 Q685990 Q850031 Q995055 Q68256 Q156719 Q9857 Q68315 Q5128 Q113740 Q67724 Q625157 Q68244 Q104379 Q68031 Q1019053 Q500227 Q843899 Q66050 Q66056 Q157440 Q69572 Q565726 Q986107 Q952457 Q47062 Q484243 Q183394 Q200133 Q156760 Q600871 Q208499 Q320015 Q2527479 Q636935 Q317943 Q69714 Q51111 Q3799 Q1532373 Q1770737 Q486696 Q63905 Q200459 Q156125 Q281835 Q65497 Q57097 Q68711 Q70655 Q10071 Q10073 Q60453 Q1006413 Q659665 Q136498 Q995091 Q68165 Q1542478 Q744247 Q70424 Q1639488 Q1647 Q9796 Q67159 Q565287 Q70139 Q2201876 Q64727 Q971700 Q238396 Q65978 Q65872 Q987491 Q985455 Q69417 Q591719 Q9942 Q67714 Q43595 Q1893077 Q1010468 Q63939 Q1010463 Q48696 Q252098 Q70048 Q946398 Q67468 Q67530 Q980728 Q68665 Q69401 Q483902 Q110311 Q291333 Q7143 Q69819 Q14641 Q69747 Q217802 Q938739 Q484057 Q845666 Q69621 Q484052 Q483877 Q7132 Q1011275 Q483871 Q461142 Q108025 Q70202 Q721567 Q70295 Q70293 Q52261 Q70204 Q1000404 Q111039 Q10035 Q65981 Q1574897 Q133230 Q66457 Q3853441 Q488747 Q70467 Q9999 Q9998 Q235190 Q108988 Q214913 Q156809 Q405241 Q732986 Q66433 Q66617 Q69967 Q335135 Q758578 Q109005 Q54449 Q493851 Q64099 Q64093 Q501518 Q648489 Q1442335 Q68363 Q68248 Q9093 Q951897 Q493988 Q68532 Q9905 Q67100 Q997796 Q538953 Q917535 Q70167 Q66042 Q490462 Q57871 Q65802 Q64461 Q65808 Q69259 Q9835 Q9833 Q455464 Q73065 Q9850 Q67367 Q27892 Q52698 Q48529 Q936904 Q69706 Q1813743 Q9873 Q404261 Q10052 Q9866 Q1525701 Q868198 Q158923 Q236744 Q856293 Q64504 Q108031 Q69675 Q64469 Q2326 Q988413 Q57081 Q57083 Q48827 Q48732 Q2590698 Q493315 Q64865 Q10045 Q10047 Q337497 Q66523 Q157055 Q1003146 Q211260 Q919617 Q66146 Q157053 Q2933 Q107396 Q68201 Q744259 Q52278 Q222755 Q691725 Q9780 Q9781 Q372840 Q2680952 Q107351 Q1149128 Q485297 Q65512 Q69525 Q62266 Q156734 Q113595 Q109042 Q9970 Q67705 Q69058 Q9872 Q889530 Q109048 Q9978 Q9876 Q9875 Q110431 Q9856 Q67137 Q997421 Q161961 Q36354 Q652130 Q54062 Q69551 Q1011303 Q486726 Q69558 Q7131 Q249906 Q7133 Q65421 Q140671 Q48701 Q323774 Q62641 Q69738 Q613989 Q10001 Q10002 Q10003 Q745038 Q43245 Q70671 Q52271 Q986059 Q3348885 Q939948 Q889588 Q757856 Q68871 Q6535 Q67798 Q405252 Q623736 Q66604 Q70232 Q840632 Q793424 Q493481 Q917330 Q9932 Q109494 Q723246 Q43225 Q66511 Q68540 Q66518 Q109140 Q66890 Q66672 Q67278 Q216430 Q983483 Q564759 Q57868 Q69512 Q57864 Q14571 Q52303 Q57860 Q9803 Q9802 Q952183 Q9806 Q1442359 Q9809 Q90597 Q90595 Q2241 Q14592 Q2245 Q243766 Q538407 Q69507 Q381337 Q69942 Q65158 Q43048 Q271922 Q486677 Q104095 Q3549 Q109469 Q68933 Q1146805 Q88806 Q64920 Q3617 Q33544 Q67305 Q68838 Q146524 Q484074 Q26581 Q52678 Q68395 Q52773 Q71727 Q52671 Q33682 Q70635 Q543542 Q157725 Q4686 Q107582 Q473529 Q66256 Q70710 Q68946 Q66846 Q36160 Q66487 Q609028 Q68580 Q146453 Q68742 Q69690 Q69693 Q69495 Q109021 Q934753 Q500284 Q750594 Q826511 Q65506 Q990385 Q532572 Q488962 Q69945 Q65508 Q849574 Q1126256 Q504580 Q1003551 Q156704 Q217394 Q574558 Q69180
(c(Q13220204),P190,c(Q13220204)|c(Q515))
action count
action less
action union
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action find_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find
entity Q668869
relation P190
type Q13220204
type Q515
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q13220204'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:Q13220204 . ?n rdf:type ontology:Q13220204 . ?p property:P190 ?n } UNION { ?p property:P190 ?n . ?p rdf:type ontology:Q13220204 . ?n rdf:type ontology:Q515 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q668869 property:P190 ?w . { VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q515 ) } . ?w rdf:type ?t } } } . FILTER ( ?v < ?l ) }
Lillehammer Tomar Naters Abrantes Municipality Tholen Nyon Ullensaker Sørum Matosinhos Spreitenbach Cham Kamianets-Podilskyi Eemsmond Ruswil Gimel Kragerø Tynaarlo Bærum Gansingen Mealhada Las Vueltas Fehraltorf Rapperswil-Jona Nidau Aleksinac Oldenzaal Sande Vouvry Dobele Berehove Arcatao Meisterschwanden Commune of Bisoro Tuggen Trimmis Aurskog-Høland Bagnes Buochs Alchevsk Zaragoza Province Krāslava Kristiansund Røst Środa Wielkopolska County Felsberg Heerde Bauska Trigono Reigoldswil Panevėžys Vila Franca de Xira Asker Līvāni Sirnach Heemstede Werkendam Tübach San José Las Flores, Chalatenango Nedre Eiker Paredes Reconvilier Claro Küssnacht Lichtensteig Randaberg Nisa Municipality Santa Marta Boxmeer Opmeer Asten Yverdon-les-Bains Bellmund Santa Fe de Antioquia Fastiv Izmail Malleray Oron Olaine Grocka Kiesen Bjerkreim Madalena Hoogeveen Seixal Municipality Hạ Long Sevelen Ponte de Sor Municipality Herzogenbuchsee Bonstetten Saint-Ursanne Eleusis Wil Venlo Avegno Gordevio Vétroz Natitingou Suhr Ísafjarðarbær Parakou St. Moritz Rijssen-Holten Twenterand Vaasa sub-region Tynset Alytus Ipiales Morcote Wijchen Cantanhede Municipality Bodø Aknīste Spydeberg Røros Averøy Stara Pazova Stord Vinnytsia Oberwil Lærdal Sembrancher Kaniv Villeret Guaduas Ouidah Velika Plana Porrentruy Kamianske Oisterwijk Heiden Woerden Eidsberg Vex Estremoz Wohlen Vadsø Heitenried Lajes do Pico Vennesla Rheden Menzingen Wittenbach Truskavets Saxon Povoação Alcanena Municipality Nizhyn Fernando de la Mora Bjugn Vagharshapat Chalkida Nikopol Overbetuwe Uman San Juan de Pasto Kouandé Tukums Nowa Sól County Grand-Saconnex Pereira Porto-Novo Zaltbommel Albufeira Municipality Rygge Kreuzlingen Póvoa de Varzim Larvik Sirdal Hausen bei Brugg Coppet Préverenges Mex Borsele Hulst Coevorden Lousã Municipality Salacgrīva Fuerte Olimpo Aleksandrovac Kloten Grand-Popo Saldus Saint-Blaise Sosúa Rijeka Kerkrade Kerns São João da Madeira Cressier Presidente Franco District Allschwil Stari Grad, Belgrade Epe Dulliken Arconciel Nova Kakhovka Egaleo Zweisimmen Novovolynsk Landsmeer Cottens Cotonou Bassila Velas Baden Santa Cruz da Graciosa Fauske New Belgrade Vucherens Paços de Ferreira Nods Bettingen Domburg Muntelier Morges Karmøy Øvre Eiker Alūksne Schenkon Dürrenroth Emmen Reinach Stjørdal San Lorenzo Hol Kandi Binningen Bamble Eigersund Buttisholz Knjaževac Holmestrand Bedum Sarpsborg Moudon Quillota Province Schöfflisdorf Merzligen Bex Le Landeron Pryluky Namsos De Bilt Krauchthal Ambalema Piła County Rafz Meanguera, Morazán Kvinesdal Vaumarcus Dinkelland Dalfsen Manizales Kongsberg Leticia Novyi Rozdil Oliveira do Bairro Municipality Salaspils Eiken Frick Wangen bei Olten Popayán Auce Sandefjord Vellerat Tysfjord Brugg Le Locle Gran Loznica Manzanares Laufen Grenchen Bülach Chiquinquirá Malvik La Sagne Beverwijk Lachen Pamplona La Vega Loures Ayent Hilterfingen Farsund Skedsmo Hüttlingen Neuenhof Buchberg Pontresina Geldrop-Mierlo Etten-Leur Noordwijk Veendam Loon op Zand Niederried bei Kallnach Neringa Municipality Chardonne Trysil Felgueiras Municipality Brissago Voždovac Valkenswaard Ovar Vianen Sint-Michielsgestel Tenjo Djougou Stryi Tunja Novi Kneževac Auenstein Gjøvik Zollikofen Fislisbach Notodden Puerto Plata Enebakk Frogn Sør-Varanger Meråker Pantelej Bardu Bischofszell IJsselstein Lopik Čajetina Füllinsdorf Cherkasy Vila Nova de Paiva Zaandam Brus Brenzikofen Chernihiv Asunción Leikanger Thônex Ludza Boussens Ibagué Renkum Stein Sittard-Geleen Tavira Municipality Rotterdam Hammerfest Krosno County Sauda Oberembrach Payerne Ålesund Oleksandriia, Kirovohrad Oblast Oppdal Halden Velsen Schmitten Wittnau Uden Chornomorsk Horten Zaanstad Vught Veldhoven Steinkjer Oirschot Elgg Vasylkiv Myrhorod Hải Dương Reykjanesbær Ås Evolène Obukhiv Sigdal Savièse Nottwil Águeda Municipality Grosswangen Lostorf Ostroh Svelvik Valka Nordkapp Pully Duiven Deventer Enschede Haaksbergen Waalwijk Baulmes Romainmôtier-Envy Bottens Copargo Sintra Municipality Putten Podilsk Valpaços Municipality Martigny-Combe Alta Plaffeien Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Les Bois Opsterland Berezhany Flekkefjord Santo Tirso Municipality Heiloo Odda Santa Tecla, El Salvador Assens Olsberg Les Planchettes Oberflachs Elverum Rüthi Breitenbach Mühleberg Levanger Gondomar Lagoa Oppegård Lyss Nesodden Kriens Bussy-Chardonney Lørenskog Brunssum Echt-Susteren Rijnwoude Beek Palermo Alphen-Chaam Tvedestrand Risør Tokke Ettiswil Vinje Bucaramanga Montemor-o-Novo Municipality Boudry Estarreja Municipality Boécourt Stetten Rhodes Sremski Karlovci Dovre Molde Šibenik Askim Mex Fjarðabyggð Bykle Breil/Brigels Karlovac Volodymyr-Volynskyi Charmey La Brévine Yaremche Nord-Aurdal Thái Nguyên Chamblon Neerach Cheseaux-sur-Lausanne Irpin Carrouge Nam Định Glarus Nord Portimão Chernivtsi Slavonski Brod Cēsis Fjell Hünenberg Saillon Saint-Oyens Lotzwil Hội An Corminboeuf Antratsyt Cheyres Kalush Échichens Ittigen Saas-Fee Ligerz Moss Buga Orkdal Guarda Montijo Municipality Flawil Horta Mariquita, Tolima Hægebostad Müntschemier Balgach Loppersum Hajnówka County Chaves Municipality Nejapa Kovel Barreiro Heerenveen Stetten
505
action count
action less
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find
entity Epesses
relation sister city
type second-level administrative country subdivision
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) ?p WHERE { { ?p rdf:type ontology:second-level_administrative_country_subdivision . ?n rdf:type ontology:second-level_administrative_country_subdivision . ?p property:sister_city ?n } UNION { ?p property:sister_city ?n . ?p rdf:type ontology:second-level_administrative_country_subdivision . ?n rdf:type ontology:city } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Epesses property:sister_city ?w . { VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:city ) } . ?w rdf:type ?t } } } . FILTER ( ?v < ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P921
Q2342494
USER
Which collectable has Netherlands as its main topic ?
(c(Q2342494),P921,Q55)
action filter_type
action find_reverse
entity Q55
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q55']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q55 . ?f rdf:type ontology:Q2342494 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Netherlands']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Netherlands . ?f rdf:type ontology:collectable }
[]
collectable
Q26988708
SYSTEM
Nederlandse waternamen
Q26988708
(c(Q2342494),P921,Q55)
action filter_type
action find_reverse
entity Q55
relation P921
type Q2342494
[ANSWER] has Netherlands as its main topic
[{'concept': 'Q2342494'}, 'P921', 'Q55']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q55 . ?f rdf:type ontology:Q2342494 }
Nederlandse waternamen
Nederlandse waternamen has Netherlands as its main topic
Nederlandse waternamen
action filter_type
action find_reverse
entity Netherlands
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Netherlands']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Netherlands . ?f rdf:type ontology:collectable }
[]