Simple Question (Direct)
Simple Question
Q9806
P1383
Q56061
USER
Which administrative territory does Beek have administrative control over ?
(Q9806,P1383,c(Q56061))
action filter_type
action find
entity Q9806
relation P1383
type Q56061
['Q9806', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q9806 property:P1383 ?n . ?n rdf:type ontology:Q56061 }
Beek
action filter_type
action find
entity Beek
relation contains settlement
type administrative territorial entity
['Beek', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Beek property:contains_settlement ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3972033
SYSTEM
Beek
Q3972033
(Q9806,P1383,c(Q56061))
action filter_type
action find
entity Q9806
relation P1383
type Q56061
Administrative control over all [ANSWER] has
['Q9806', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q9806 property:P1383 ?n . ?n rdf:type ontology:Q56061 }
Beek
Administrative control over all Beek has
Beek
action filter_type
action find
entity Beek
relation contains settlement
type administrative territorial entity
['Beek', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Beek property:contains_settlement ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9806
P47
Q13220204
USER
Which administrative country subdivisions share border with that one ?
(Q3972033,P47,c(Q13220204))
action filter_type
action find
entity Q9806
relation P47
type Q13220204
['Q3972033', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q9806 property:P47 ?u . ?u rdf:type ontology:Q13220204 }
Beek
action filter_type
action find
entity Beek
relation shares border with
type second-level administrative country subdivision
['Beek', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Beek property:shares_border_with ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9772 Q9787 Q9781
SYSTEM
Meerssen, Nuth, Sittard-Geleen
Q9780 Q9787 Q9772 Q9781 Q9782
(Q3972033,P47,c(Q13220204))
action filter_type
action find
entity Q9806
relation P47
type Q13220204
[ANSWERS] share border with that one
['Q3972033', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q9806 property:P47 ?u . ?u rdf:type ontology:Q13220204 }
Stein Nuth Meerssen Sittard-Geleen Schinnen
Meerssen, Nuth and Sittard-Geleen share border with that one
Meerssen Nuth Sittard-Geleen
action filter_type
action find
entity Beek
relation shares border with
type second-level administrative country subdivision
['Beek', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Beek property:shares_border_with ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q13539802
USER
How many administrative territories or places with town privileges do that administrative country subdivision share a border with ?
(c(Q56061),P47,Q9781) (c(Q13539802),P47,Q9781) (c(Q56061),P47,Q9772) (c(Q13539802),P47,Q9772) (c(Q56061),P47,Q9787) (c(Q13539802),P47,Q9787) (c(Q56061),P47,Q9781) (c(Q13539802),P47,Q9781)
[{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q13539802'}, 'P47', 'Q9781'] [{'concept': 'Q56061'}, 'P47', 'Q9772'] [{'concept': 'Q13539802'}, 'P47', 'Q9772'] [{'concept': 'Q56061'}, 'P47', 'Q9787'] [{'concept': 'Q13539802'}, 'P47', 'Q9787'] [{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q13539802'}, 'P47', 'Q9781']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q9781 } UNION { ?y property:P47 resource:Q9781 } UNION { ?z property:P47 resource:Q9772 } UNION { ?y property:P47 resource:Q9772 } UNION { ?z property:P47 resource:Q13905945 } UNION { ?y property:P47 resource:Q13905945 } UNION { ?z property:P47 resource:Q9781 } UNION { ?y property:P47 resource:Q9781 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q13539802 }
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Meerssen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Meerssen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Nuth'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Nuth'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Sittard-Geleen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Sittard-Geleen } UNION { ?y property:shares_border_with resource:Sittard-Geleen } UNION { ?z property:shares_border_with resource:Meerssen } UNION { ?y property:shares_border_with resource:Meerssen } UNION { ?z property:shares_border_with resource:Nuth } UNION { ?y property:shares_border_with resource:Nuth } UNION { ?z property:shares_border_with resource:Sittard-Geleen } UNION { ?y property:shares_border_with resource:Sittard-Geleen } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:place_with_town_rights_and_privileges }
[]
administrative territorial entity place with town rights and privileges
Quantitative|Count|Mult. entity type|Clarification
Q9781
SYSTEM
Did you mean Sittard-Geleen ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q9781 } UNION { ?y property:P47 resource:Q9781 } UNION { ?z property:P47 resource:Q9772 } UNION { ?y property:P47 resource:Q9772 } UNION { ?z property:P47 resource:Q13905945 } UNION { ?y property:P47 resource:Q13905945 } UNION { ?z property:P47 resource:Q9781 } UNION { ?y property:P47 resource:Q9781 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q13539802 }
Did you mean Sittard-Geleen ?
Sittard-Geleen
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Sittard-Geleen } UNION { ?y property:shares_border_with resource:Sittard-Geleen } UNION { ?z property:shares_border_with resource:Meerssen } UNION { ?y property:shares_border_with resource:Meerssen } UNION { ?z property:shares_border_with resource:Nuth } UNION { ?y property:shares_border_with resource:Nuth } UNION { ?z property:shares_border_with resource:Sittard-Geleen } UNION { ?y property:shares_border_with resource:Sittard-Geleen } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:place_with_town_rights_and_privileges }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q56061),P47,Q9781) (c(Q13539802),P47,Q9781) (c(Q56061),P47,Q9772) (c(Q13539802),P47,Q9772) (c(Q56061),P47,Q9787) (c(Q13539802),P47,Q9787) (c(Q56061),P47,Q9781) (c(Q13539802),P47,Q9781)
[{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q13539802'}, 'P47', 'Q9781'] [{'concept': 'Q56061'}, 'P47', 'Q9772'] [{'concept': 'Q13539802'}, 'P47', 'Q9772'] [{'concept': 'Q56061'}, 'P47', 'Q9787'] [{'concept': 'Q13539802'}, 'P47', 'Q9787'] [{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q13539802'}, 'P47', 'Q9781']
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Meerssen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Meerssen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Nuth'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Nuth'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Sittard-Geleen']
[]
SYSTEM
2
Q581246 Q3972033
(c(Q56061),P47,Q9781) (c(Q13539802),P47,Q9781) (c(Q56061),P47,Q9772) (c(Q13539802),P47,Q9772) (c(Q56061),P47,Q9787) (c(Q13539802),P47,Q9787) (c(Q56061),P47,Q9781) (c(Q13539802),P47,Q9781)
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q13539802'}, 'P47', 'Q9781'] [{'concept': 'Q56061'}, 'P47', 'Q9772'] [{'concept': 'Q13539802'}, 'P47', 'Q9772'] [{'concept': 'Q56061'}, 'P47', 'Q9787'] [{'concept': 'Q13539802'}, 'P47', 'Q9787'] [{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q13539802'}, 'P47', 'Q9781']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q9781 } UNION { ?y property:P47 resource:Q9781 } UNION { ?z property:P47 resource:Q9772 } UNION { ?y property:P47 resource:Q9772 } UNION { ?z property:P47 resource:Q13905945 } UNION { ?y property:P47 resource:Q13905945 } UNION { ?z property:P47 resource:Q9781 } UNION { ?y property:P47 resource:Q9781 } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q13539802 }
Dilsen-Stokkem Beek
2
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Meerssen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Meerssen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Nuth'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Nuth'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'place with town rights and privileges'}, 'shares border with', 'Sittard-Geleen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Sittard-Geleen } UNION { ?y property:shares_border_with resource:Sittard-Geleen } UNION { ?z property:shares_border_with resource:Meerssen } UNION { ?y property:shares_border_with resource:Meerssen } UNION { ?z property:shares_border_with resource:Nuth } UNION { ?y property:shares_border_with resource:Nuth } UNION { ?z property:shares_border_with resource:Sittard-Geleen } UNION { ?y property:shares_border_with resource:Sittard-Geleen } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:place_with_town_rights_and_privileges }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9781 Q856783
P47
Q56061
USER
How many administrative territories have an adjacent border with Sittard-Geleen or CSX Transportation ?
(c(Q56061),P47,Q9781) (c(Q56061),P47,Q856783)
action count
action union
action filter_type
action find_reverse
entity Q9781
relation P47
type Q56061
action filter_type
action find_reverse
entity Q856783
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q56061'}, 'P47', 'Q856783']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?s ) { ( resource:Q9781 ) ( resource:Q856783 ) } . ?u property:P47 ?s }
Sittard-Geleen CSX Transportation
action count
action union
action filter_type
action find_reverse
entity Sittard-Geleen
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity CSX Transportation
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'CSX Transportation']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?s ) { ( resource:Sittard-Geleen ) ( resource:CSX_Transportation ) } . ?u property:shares_border_with ?s }
[]
administrative territorial entity
SYSTEM
2
Q3478164 Q3972033
(c(Q56061),P47,Q9781) (c(Q56061),P47,Q856783)
action count
action union
action filter_type
action find_reverse
entity Q9781
relation P47
type Q56061
action filter_type
action find_reverse
entity Q856783
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q9781'] [{'concept': 'Q56061'}, 'P47', 'Q856783']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?s ) { ( resource:Q9781 ) ( resource:Q856783 ) } . ?u property:P47 ?s }
Selkirk Beek
2
action count
action union
action filter_type
action find_reverse
entity Sittard-Geleen
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity CSX Transportation
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Sittard-Geleen'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'CSX Transportation']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?s ) { ( resource:Sittard-Geleen ) ( resource:CSX_Transportation ) } . ?u property:shares_border_with ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q9806
P19 P21
Q502895
USER
Which people were born at Beek and have the gender as male ?
AND((c(Q502895),P19,Q9806), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q9806
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q9806'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P19 resource:Q9806 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Beek
action filter_type
action intersection
action find_reverse
entity Beek
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Beek'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth resource:Beek . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q19801934 Q2893429
SYSTEM
A.L.H. Roebroek, Sibert de Beka
Q19801934 Q2893429
AND((c(Q502895),P19,Q9806), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q9806
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Beek and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q9806'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P19 resource:Q9806 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
A.L.H. Roebroek Sibert de Beka
A.L.H. Roebroek and Sibert de Beka were born at Beek and have the gender as male
A.L.H. Roebroek Sibert de Beka
action filter_type
action intersection
action find_reverse
entity Beek
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Beek'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth resource:Beek . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9781 Q3489754
P17
Q15617994
USER
How many administrative territories are Sittard-Geleen or Somb present in ?
(Q9781,P17,c(Q15617994)) (Q3489754,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q9781
relation P17
type Q15617994
action filter_type
action find
entity Q3489754
relation P17
type Q15617994
['Q9781', 'P17', {'concept': 'Q15617994'}] ['Q3489754', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { resource:Q3489754 property:P17 ?i . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . resource:Q9781 property:P17 ?i } }
Sittard-Geleen Somb
action count
action union
action filter_type
action find
entity Sittard-Geleen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Somb
relation country
type designation for an administrative territorial entity
['Sittard-Geleen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Somb', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { resource:Somb property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sittard-Geleen property:country ?i } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q55 Q1041
(Q9781,P17,c(Q15617994)) (Q3489754,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q9781
relation P17
type Q15617994
action filter_type
action find
entity Q3489754
relation P17
type Q15617994
[ANSWER]
['Q9781', 'P17', {'concept': 'Q15617994'}] ['Q3489754', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { resource:Q3489754 property:P17 ?i . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . resource:Q9781 property:P17 ?i } }
Netherlands Senegal
2
action count
action union
action filter_type
action find
entity Sittard-Geleen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Somb
relation country
type designation for an administrative territorial entity
['Sittard-Geleen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Somb', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { resource:Somb property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sittard-Geleen property:country ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q68165
P190
Q13220204 Q1048835 Q515
USER
Which administrative country subdivisions are sister towns of greater number of political territories or cities than Kloten ?
(c(Q1048835)|c(Q515),P190,c(Q13220204))
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q1048835
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find_reverse
entity Q68165
relation P190
type Q1048835
type Q515
[[{'concept': 'Q1048835'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P190 resource:Q68165 . { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q515 } } } } . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:P190 ?k . ?k rdf:type ontology:Q13220204 . ?j rdf:type ontology:Q1048835 } UNION { ?j property:P190 ?k . ?j rdf:type ontology:Q515 . ?k rdf:type ontology:Q13220204 } } GROUP BY ?k } }
Kloten
action greater
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type political territorial entity
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find_reverse
entity Kloten
relation sister city
type political territorial entity
type city
[[{'concept': 'political territorial entity'}, {'concept': 'city'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:sister_city resource:Kloten . { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:city } } } } . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:sister_city ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?j rdf:type ontology:political_territorial_entity } UNION { ?j property:sister_city ?k . ?j rdf:type ontology:city . ?k rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?k } }
[]
second-level administrative country subdivision political territorial entity city
Q9772 Q9899 Q101918
SYSTEM
Meerssen, Amsterdam, Apeldoorn
Q67282 Q193677 Q57919 Q739449 Q932155 Q3370 Q197050 Q5707 Q192119 Q69383 Q65268 Q107392 Q9924 Q9926 Q68261 Q192606 Q69071 Q7903 Q69783 Q683658 Q43195 Q5420 Q25444 Q9772 Q9774 Q27494 Q65040 Q66125 Q156743 Q643576 Q48278 Q564813 Q740845 Q68250 Q156711 Q9910 Q984656 Q625157 Q1663 Q1019053 Q47062 Q67611 Q46001 Q58931 Q2047414 Q189419 Q1770737 Q66473 Q926700 Q657461 Q69668 Q64873 Q917313 Q1640 Q65273 Q9899 Q9791 Q1647 Q157137 Q64051 Q985455 Q9949 Q952939 Q760224 Q4191 Q219193 Q938739 Q395919 Q133230 Q21194 Q156724 Q411715 Q66040 Q101918 Q208764 Q67582 Q68097 Q404261 Q1525701 Q318018 Q10043 Q2933 Q107135 Q109036 Q67140 Q1435 Q156732 Q1722 Q69222 Q69227 Q2841 Q146456 Q69732 Q10002 Q62823 Q579984 Q65921 Q66211 Q917330 Q9938 Q19491 Q68015 Q64070 Q9808 Q189161 Q69160 Q617416 Q10053 Q972 Q36167 Q851399 Q69114 Q66633 Q68305 Q1003551
(c(Q1048835)|c(Q515),P190,c(Q13220204))
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q1048835
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find_reverse
entity Q68165
relation P190
type Q1048835
type Q515
[ANSWERS] are sister towns of greater number of political territories or cities than Kloten
[[{'concept': 'Q1048835'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P190 resource:Q68165 . { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q515 } } } } . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:P190 ?k . ?k rdf:type ontology:Q13220204 . ?j rdf:type ontology:Q1048835 } UNION { ?j property:P190 ?k . ?j rdf:type ontology:Q515 . ?k rdf:type ontology:Q13220204 } } GROUP BY ?k } }
Urtenen-Schönbühl Angra do Heroísmo Arendal Krimpen aan den IJssel Heumen Zadar Zevenaar Bjelovar Sisak Hinwil Brienz Tønsberg Haarlemmermeer Heemskerk Meilen Leskovac Münchenbuchsee Casablanca Münsingen Franekeradeel Aigle Varaždin Funchal Meerssen Weert Zermatt Neftenbach Neuenegg Ternopil Ypacaraí Antioquia - Medellín Santa Maria da Feira Municipality Olhão Municipality Rorschach Uzhhorod Castricum Penafiel Estremoz Split Lajes do Pico Fernando de la Mora Grosshöchstetten Alushta Harderwijk Palanga Zemun Albufeira Municipality Lengnau Oeiras Cartagena Steffisburg Illnau-Effretikon Vila do Conde Osijek Plan-les-Ouates Amsterdam Mook en Middelaar Rijeka Kryvyi Rih Monthey Egaleo Naarden Lingewaard Hola Prystan Lucerne Chop San Lorenzo Anadia Piła County Vũng Tàu Kremenchuk Aizkraukle Thierachern Apeldoorn Katwijk Oberdiessbach Davos Ovar Tenjo Słubice County Utrechtse Heuvelrug Asunción Fredrikstad Haugesund Radelfingen Zagreb Kherson Dubrovnik Aarwangen Orpund Bogotá Mukacheve Worb Enschede Barranquilla Temerin Grossaffoltern Konolfingen Santo Tirso Municipality Hoorn Nha Trang Roggwil Dietikon Aalburg Trogir Bolligen Kovin Wijk bij Duurstede Alkmaar Huế Strenči Trubschachen Kilchberg Wetzikon Nejapa
Meerssen, Amsterdam and Apeldoorn are sister towns of greater number of political territories or cities than Kloten
Meerssen Amsterdam Apeldoorn
action greater
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type political territorial entity
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find_reverse
entity Kloten
relation sister city
type political territorial entity
type city
[[{'concept': 'political territorial entity'}, {'concept': 'city'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:sister_city resource:Kloten . { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:city } } } } . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?o ) WHERE { { ?j property:sister_city ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?j rdf:type ontology:political_territorial_entity } UNION { ?j property:sister_city ?k . ?j rdf:type ontology:city . ?k rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q9866
P190
Q13220204 Q1048835 Q515
USER
And how about Sint-Michielsgestel?
(c(Q1048835)|c(Q515),P190,c(Q13220204))
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q1048835
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find_reverse
entity Q9866
relation P190
type Q1048835
type Q515
[[{'concept': 'Q1048835'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?s WHERE { VALUES ( ?c ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } . ?f rdf:type ?c } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P190 resource:Q9866 . { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q515 ) } } } } . FILTER ( ?l > ?p ) }
Sint-Michielsgestel
action greater
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type political territorial entity
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find_reverse
entity Sint-Michielsgestel
relation sister city
type political territorial entity
type city
[[{'concept': 'political territorial entity'}, {'concept': 'city'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?s WHERE { VALUES ( ?c ) { ( ontology:city ) ( ontology:political_territorial_entity ) } . ?f rdf:type ?c } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:sister_city resource:Sint-Michielsgestel . { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:city ) } } } } . FILTER ( ?l > ?p ) }
[]
second-level administrative country subdivision political territorial entity city
Q9772 Q9899 Q101918
SYSTEM
Meerssen, Amsterdam, Apeldoorn
Q67282 Q193677 Q57919 Q739449 Q932155 Q3370 Q197050 Q5707 Q192119 Q69383 Q65268 Q107392 Q9924 Q9926 Q68261 Q192606 Q69071 Q7903 Q69783 Q683658 Q43195 Q5420 Q25444 Q9772 Q9774 Q27494 Q65040 Q66125 Q156743 Q643576 Q48278 Q564813 Q740845 Q68250 Q156711 Q9910 Q984656 Q625157 Q1663 Q1019053 Q47062 Q67611 Q46001 Q58931 Q2047414 Q189419 Q1770737 Q66473 Q926700 Q657461 Q69668 Q64873 Q917313 Q1640 Q65273 Q9899 Q9791 Q1647 Q157137 Q64051 Q985455 Q9949 Q952939 Q760224 Q4191 Q219193 Q938739 Q395919 Q133230 Q21194 Q156724 Q411715 Q66040 Q101918 Q208764 Q67582 Q68097 Q404261 Q1525701 Q318018 Q10043 Q2933 Q107135 Q109036 Q67140 Q1435 Q156732 Q1722 Q69222 Q69227 Q2841 Q146456 Q69732 Q10002 Q62823 Q579984 Q65921 Q66211 Q917330 Q9938 Q19491 Q68015 Q64070 Q9808 Q189161 Q69160 Q617416 Q10053 Q972 Q36167 Q851399 Q69114 Q66633 Q68305 Q1003551
(c(Q1048835)|c(Q515),P190,c(Q13220204))
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q1048835
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action count
action filter_multi_types
action find_reverse
entity Q9866
relation P190
type Q1048835
type Q515
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q515'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?s WHERE { VALUES ( ?c ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } . ?f rdf:type ?c } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P190 resource:Q9866 . { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q515 ) } } } } . FILTER ( ?l > ?p ) }
Urtenen-Schönbühl Angra do Heroísmo Arendal Krimpen aan den IJssel Heumen Zadar Zevenaar Bjelovar Sisak Hinwil Brienz Tønsberg Haarlemmermeer Heemskerk Meilen Leskovac Münchenbuchsee Casablanca Münsingen Franekeradeel Aigle Varaždin Funchal Meerssen Weert Zermatt Neftenbach Neuenegg Ternopil Ypacaraí Antioquia - Medellín Santa Maria da Feira Municipality Olhão Municipality Rorschach Uzhhorod Castricum Penafiel Estremoz Split Lajes do Pico Fernando de la Mora Grosshöchstetten Alushta Harderwijk Palanga Zemun Albufeira Municipality Lengnau Oeiras Cartagena Steffisburg Illnau-Effretikon Vila do Conde Osijek Plan-les-Ouates Amsterdam Mook en Middelaar Rijeka Kryvyi Rih Monthey Egaleo Naarden Lingewaard Hola Prystan Lucerne Chop San Lorenzo Anadia Piła County Vũng Tàu Kremenchuk Aizkraukle Thierachern Apeldoorn Katwijk Oberdiessbach Davos Ovar Tenjo Słubice County Utrechtse Heuvelrug Asunción Fredrikstad Haugesund Radelfingen Zagreb Kherson Dubrovnik Aarwangen Orpund Bogotá Mukacheve Worb Enschede Barranquilla Temerin Grossaffoltern Konolfingen Santo Tirso Municipality Hoorn Nha Trang Roggwil Dietikon Aalburg Trogir Bolligen Kovin Wijk bij Duurstede Alkmaar Huế Strenči Trubschachen Kilchberg Wetzikon Nejapa
Meerssen Amsterdam Apeldoorn
action greater
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type political territorial entity
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action count
action filter_multi_types
action find_reverse
entity Sint-Michielsgestel
relation sister city
type political territorial entity
type city
[[{'concept': 'political territorial entity'}, {'concept': 'city'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?s WHERE { VALUES ( ?c ) { ( ontology:city ) ( ontology:political_territorial_entity ) } . ?f rdf:type ?c } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:sister_city resource:Sint-Michielsgestel . { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:city ) } } } } . FILTER ( ?l > ?p ) }
[]