Simple Question (Direct)
Simple Question
Q3009947
P54
Q1194951
USER
What is Cédric Moubamba a member of ?
(Q3009947,P54,c(Q1194951))
action filter_type
action find
entity Q3009947
relation P54
type Q1194951
['Q3009947', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q3009947 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Cédric Moubamba
action filter_type
action find
entity Cédric Moubamba
relation member of sports team
type national sports team
['Cédric Moubamba', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Cédric_Moubamba property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q235416
SYSTEM
Gabon national football team
Q235416
(Q3009947,P54,c(Q1194951))
action filter_type
action find
entity Q3009947
relation P54
type Q1194951
Cédric Moubamba is a member of [ANSWER]
['Q3009947', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q3009947 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Gabon national football team
Cédric Moubamba is a member of Gabon national football team
Gabon national football team
action filter_type
action find
entity Cédric Moubamba
relation member of sports team
type national sports team
['Cédric Moubamba', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Cédric_Moubamba property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3009947
P21
Q290
USER
Which sex does that person possess ?
(Q235416,P21,c(Q290))
action filter_type
action find
entity Q3009947
relation P21
type Q290
['Q235416', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3009947 property:P21 ?x . ?x rdf:type ontology:Q290 }
Cédric Moubamba
action filter_type
action find
entity Cédric Moubamba
relation gender
type sex
['Gabon national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Cédric_Moubamba property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q235416,P21,c(Q290))
action filter_type
action find
entity Q3009947
relation P21
type Q290
That person possesses a [ANSWER]
['Q235416', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3009947 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Cédric Moubamba
relation gender
type sex
['Gabon national football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Cédric_Moubamba property:gender ?x . ?x rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do lesser number of people have than that sex ?
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P21 ?r . ?r rdf:type ontology:Q290 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P21 resource:Q6581097 . ?v rdf:type ontology:Q502895 } } . FILTER ( ?b < ?d ) }
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:gender ?r . ?r rdf:type ontology:sex . ?l rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:gender resource:male . ?v rdf:type ontology:common_name } } . FILTER ( ?b < ?d ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
Lesser number of people have more [ANSWER] than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P21 ?r . ?r rdf:type ontology:Q290 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P21 resource:Q6581097 . ?v rdf:type ontology:Q502895 } } . FILTER ( ?b < ?d ) }
female
Lesser number of people have more female than that sex
female
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:gender ?r . ?r rdf:type ontology:sex . ?l rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:gender resource:male . ?v rdf:type ontology:common_name } } . FILTER ( ?b < ?d ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q9154887
P21
Q502895
USER
Is Anita Tomulevski a that sex ?
(Q9154887,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q9154887
relation P21
['Q9154887', 'P21', 'Q6581072']
ASK WHERE { resource:Q9154887 property:P21 resource:Q6581072 }
female Anita Tomulevski
action is_in
entity female
action find
entity Anita Tomulevski
relation gender
['Anita Tomulevski', 'gender', 'female']
ASK WHERE { resource:Anita_Tomulevski property:gender resource:female }
[]
common name
SYSTEM
YES
(Q9154887,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q9154887
relation P21
[ANSWER]
['Q9154887', 'P21', 'Q6581072']
ASK WHERE { resource:Q9154887 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Anita Tomulevski
relation gender
['Anita Tomulevski', 'gender', 'female']
ASK WHERE { resource:Anita_Tomulevski property:gender resource:female }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q313421
P1441
Q15416 Q234460 Q502895
USER
How many people appear in lesser number of television programs or texts than Abel ?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q313421
relation P1441
type Q15416
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?n ) WHERE { { ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15416 . ?i property:P1441 ?c } UNION { ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q234460 . ?i property:P1441 ?c } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q313421 property:P1441 ?e . { VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } . ?e rdf:type ?g } } } . FILTER ( ?n < ?z ) }
Abel
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Abel
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?n ) WHERE { { ?i rdf:type ontology:common_name . ?c rdf:type ontology:television_program . ?i property:present_in_work ?c } UNION { ?i rdf:type ontology:common_name . ?c rdf:type ontology:text . ?i property:present_in_work ?c } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Abel property:present_in_work ?e . { VALUES ( ?g ) { ( ontology:television_program ) ( ontology:text ) } . ?e rdf:type ?g } } } . FILTER ( ?n < ?z ) }
[]
television program text common name
SYSTEM
159
Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q4430779 Q249381 Q232525 Q240258 Q24579400 Q7307192 Q131195 Q2426699 Q24624067 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q2451581 Q2046277 Q715713 Q24577230 Q494455 Q673959 Q185801 Q6239779 Q34428 Q2033697 Q24622402 Q20656752 Q311556 Q294192 Q19975705 Q560559 Q25885222 Q1867479 Q134646 Q879668 Q2170784 Q181538 Q24623408 Q8413 Q2600794 Q2282686 Q459606 Q437417 Q3778878 Q3774081 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q2124082 Q24625686 Q2137929 Q315276 Q3148218 Q24577318 Q515828 Q24625326 Q25858050 Q26858752 Q923021 Q24633210 Q715547 Q3745274 Q3867479 Q1446 Q1641601 Q19348839 Q2073479 Q2723049 Q1093885 Q1346246 Q2578955 Q3010053 Q1851709 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q1377025 Q2276030 Q270438 Q2711883 Q886399 Q1341779 Q326585 Q972487 Q313395 Q2304442 Q8581 Q2651263 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q24633126 Q1091513 Q3658171 Q2601106 Q4804479 Q26721185 Q2292243 Q2448083 Q633681 Q24623790 Q2296791 Q200947 Q24083251 Q1947936 Q211396 Q25923184 Q2075711 Q312311 Q2361344 Q3275910 Q169329 Q2477603 Q110436 Q23906252 Q2519772 Q879088 Q302322 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q26858995 Q2487300 Q283466 Q9441 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q26858919 Q2047062 Q1227361
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q313421
relation P1441
type Q15416
type Q234460
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?n ) WHERE { { ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15416 . ?i property:P1441 ?c } UNION { ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q234460 . ?i property:P1441 ?c } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q313421 property:P1441 ?e . { VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } . ?e rdf:type ?g } } } . FILTER ( ?n < ?z ) }
Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Immanuel Markandeya Theodelinda Olof Björnsson Jebidiah Farnsworth Refil Constantius Chlorus Dyfnwal Moelmud Bea Hansen Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Cordelia of Britain Parikshit Salvatore Maranzano Harriet Mutesi Orville Wright Leil Mikhail Kutuzov John Hooper Philip Sisillius I Frank Fauteux Bernard C. Webber Allectus Guy of Lusignan Daniel Webster Cluff Constans II James Harcourt Jago of Britain Boniface VIII Björn Ironside Anund Uppsale Rudolf Abel Eldon Hanan Constantine the Great Erik Björnsson Locrinus Ambrosius Aurelianus Cunobeline Guglielmo Borsiere Gracianus Municeps Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Gurgustius Agilulf Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Helen Kingsleigh Sarah Katende Gorboduc George "Tiny" Myers Mandubracius Filippo Minutolo Musciatto Franzesi Caracalla Tattenai Salammbô Shaunaka Mayasura Hathi Johnny Ringo Porrex I Céleste de Chateaubriand Rud Hud Hudibras Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Bharata Archmail Charles of Valois Gurguit Barbtruc Maelgwn Gwynedd Kai Lohrasp Vortigern Buonamico Buffalmacco Authari Coel Hen Saladin Trahern Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Donald Bangs Son of Gorbonianus Phiona Mutesi Rukmi Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Björn Eriksson D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Beldgabred Magnus Maximus Elizabeth Ham Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Conrad of Montferrat Vaisampayana Cory Doctorow Caf' Francisco Sawyl Penuchel Björn at Haugi Calandrino Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Aloysius Kyazze Cunedda Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Hope Katende Marius of Britain John of Procida
159
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Abel
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?n ) WHERE { { ?i rdf:type ontology:common_name . ?c rdf:type ontology:television_program . ?i property:present_in_work ?c } UNION { ?i rdf:type ontology:common_name . ?c rdf:type ontology:text . ?i property:present_in_work ?c } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Abel property:present_in_work ?e . { VALUES ( ?g ) { ( ontology:television_program ) ( ontology:text ) } . ?e rdf:type ?g } } } . FILTER ( ?n < ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q235416
P17
Q1048835
USER
How many political territories do Gabon national football team belong to ?
(Q235416,P17,c(Q1048835))
action count
action filter_type
action find
entity Q235416
relation P17
type Q1048835
['Q235416', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q235416 property:P17 ?d . ?d rdf:type ontology:Q1048835 }
Gabon national football team
action count
action filter_type
action find
entity Gabon national football team
relation country
type political territorial entity
['Gabon national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Gabon_national_football_team property:country ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q1000
(Q235416,P17,c(Q1048835))
action count
action filter_type
action find
entity Q235416
relation P17
type Q1048835
[ANSWER]
['Q235416', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q235416 property:P17 ?d . ?d rdf:type ontology:Q1048835 }
Gabon
1
action count
action filter_type
action find
entity Gabon national football team
relation country
type political territorial entity
['Gabon national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Gabon_national_football_team property:country ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1139437
Q1048835
USER
And what about Credner Islands?
(Q1139437,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1139437
relation P17
type Q1048835
['Q1139437', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q1139437 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Credner Islands
action count
action filter_type
action find
entity Credner Islands
relation country
type political territorial entity
['Credner Islands', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Credner_Islands property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q1139437,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1139437
relation P17
type Q1048835
[ANSWER]
['Q1139437', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q1139437 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Credner Islands
relation country
type political territorial entity
['Credner Islands', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Credner_Islands property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3009947
P641
Q349
USER
Which sport did Cédric Moubamba participate in ?
(Q3009947,P641,c(Q349))
action filter_type
action find
entity Q3009947
relation P641
type Q349
['Q3009947', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3009947 property:P641 ?s . ?s rdf:type ontology:Q349 }
Cédric Moubamba
action filter_type
action find
entity Cédric Moubamba
relation sport
type sport
['Cédric Moubamba', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Cédric_Moubamba property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3009947,P641,c(Q349))
action filter_type
action find
entity Q3009947
relation P641
type Q349
Cédric Moubamba participated in [ANSWER]
['Q3009947', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3009947 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Cédric Moubamba participated in association football
association football
action filter_type
action find
entity Cédric Moubamba
relation sport
type sport
['Cédric Moubamba', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Cédric_Moubamba property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3009947
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q3009947
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3009947 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Cédric Moubamba
action filter_type
action find
entity Cédric Moubamba
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cédric_Moubamba property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3825
SYSTEM
Libreville
Q3825
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q3009947
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3009947 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Libreville
Libreville is the birthplace of that person
Libreville
action filter_type
action find
entity Cédric Moubamba
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cédric_Moubamba property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3825
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q3825,P190,c(Q56061))
action filter_type
action find
entity Q3825
relation P190
type Q56061
['Q3825', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3825 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Libreville
action filter_type
action find
entity Libreville
relation sister city
type administrative territorial entity
['Libreville', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Libreville property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33959 Q5468
SYSTEM
Nice, Durban
Q33959 Q5468
(Q3825,P190,c(Q56061))
action filter_type
action find
entity Q3825
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q3825', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3825 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Nice Durban
Nice and Durban are the sister cities of that one
Nice Durban
action filter_type
action find
entity Libreville
relation sister city
type administrative territorial entity
['Libreville', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Libreville property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q25230
P206
Q1267889 Q15324 Q56061
USER
How many administrative territories are situated in the neighbourhood of less number of waterways or bodies of water than Guernsey ?
(c(Q56061),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q25230
relation P206
type Q1267889
type Q15324
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q25230 property:P206 ?q . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } } } . FILTER ( ?a < ?n ) }
Guernsey
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Guernsey
relation located next to body of water
type waterway
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Guernsey property:located_next_to_body_of_water ?q . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:waterway ) ( ontology:body_of_water ) } } } } . FILTER ( ?a < ?n ) }
[]
waterway body of water administrative territorial entity
SYSTEM
746
Q165736 Q3579 Q991950 Q1721578 Q84 Q2003600 Q18682792 Q157478 Q1718 Q2255397 Q2752171 Q539767 Q305067 Q9248 Q3876 Q990253 Q898 Q1586529 Q3246724 Q740149 Q493544 Q957593 Q3718 Q3711 Q23311 Q3238 Q4359610 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q83178 Q3844 Q1395576 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q7054 Q25231 Q2335714 Q2454052 Q11882295 Q3549178 Q1715 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q895123 Q1416753 Q846242 Q1083051 Q18808 Q622030 Q253741 Q985642 Q11974 Q369911 Q1309 Q991532 Q934511 Q4093 Q955992 Q144773 Q3659 Q609698 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q254734 Q577891 Q631517 Q13648690 Q175258 Q209176 Q1754096 Q746096 Q2135238 Q1521492 Q653025 Q387502 Q2284683 Q38834 Q162857 Q1521199 Q1025910 Q4201085 Q1022 Q769631 Q7977 Q15377069 Q251091 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q2088134 Q5350973 Q1252635 Q9365 Q9361 Q156325 Q90 Q1519942 Q3563897 Q7673494 Q986645 Q2441552 Q588293 Q73049 Q486792 Q1610396 Q371532 Q385386 Q3397397 Q956954 Q2726062 Q9375247 Q625761 Q2357495 Q1650017 Q1930 Q14621387 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3929 Q3036324 Q328121 Q1018010 Q20714928 Q185404 Q47164 Q810309 Q3897 Q93347 Q3894 Q3748 Q15320 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q36433 Q11866294 Q2465220 Q617407 Q179454 Q23800 Q1020776 Q19613124 Q3323 Q103255 Q2060859 Q8546656 Q473914 Q206954 Q16015040 Q3026650 Q8818 Q478036 Q18923859 Q9270 Q2886833 Q1718608 Q2599767 Q635806 Q208337 Q3761 Q1779522 Q2916660 Q968631 Q379531 Q24861 Q1526933 Q793407 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q903595 Q174054 Q163091 Q2078223 Q185582 Q3483520 Q484799 Q14328 Q73221 Q9326 Q156717 Q573599 Q9918 Q1520 Q11902175 Q1646181 Q925506 Q1776515 Q997407 Q2467 Q554655 Q3561 Q3021755 Q1709 Q28218 Q4527424 Q131233 Q793 Q621483 Q2482545 Q13403152 Q5465 Q6477002 Q20730670 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q12246 Q4975194 Q2227038 Q2059003 Q1963 Q2069566 Q314367 Q1842 Q2525207 Q740066 Q997775 Q212096 Q986079 Q2280 Q550373 Q2174345 Q2627252 Q504544 Q49149 Q8851 Q200783 Q988658 Q18682241 Q4070552 Q16636995 Q1165854 Q10509 Q5474003 Q755657 Q3832 Q239 Q5476889 Q4083 Q1454043 Q995806 Q515229 Q1094123 Q733368 Q15377091 Q995159 Q508998 Q2300996 Q656709 Q3037 Q2379952 Q2719861 Q3033 Q1004822 Q238803 Q932955 Q1908062 Q846188 Q196397 Q542647 Q948468 Q145638 Q894535 Q523651 Q1741 Q987797 Q987790 Q2543792 Q1748 Q210093 Q18682719 Q1223508 Q2335535 Q2677934 Q1042366 Q2391779 Q85 Q15241507 Q533456 Q2090 Q11901984 Q2255057 Q2933890 Q966534 Q1487909 Q629786 Q737877 Q2103 Q2918470 Q73031 Q2543086 Q1735 Q1143278 Q14875773 Q984973 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q3010939 Q1785679 Q7481520 Q5330523 Q14056 Q6278969 Q70 Q425780 Q3743068 Q1648515 Q1390389 Q1585348 Q1390387 Q2321706 Q12191 Q3674 Q651997 Q7507390 Q15339 Q5912898 Q992474 Q172 Q270 Q1957 Q109535 Q847085 Q105037 Q214843 Q2336499 Q23564 Q1519434 Q40921 Q2225013 Q690 Q119446 Q1906235 Q3828 Q3274 Q941967 Q285323 Q961068 Q1807382 Q11899935 Q537214 Q18681966 Q109386 Q2729544 Q14947347 Q301415 Q2160909 Q3051477 Q920968 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q49414 Q3001 Q21197 Q736906 Q10717 Q1129607 Q1018225 Q180333 Q543904 Q592123 Q586112 Q990651 Q2578642 Q252466 Q134620 Q7107283 Q791602 Q654259 Q2842582 Q437 Q390588 Q3551 Q1265670 Q384 Q8745 Q38807 Q491999 Q858775 Q19613821 Q865808 Q6751200 Q2191422 Q2329846 Q3688 Q1780 Q1781 Q658902 Q6397865 Q2659563 Q1003576 Q2529554 Q2682753 Q1025014 Q3306 Q647543 Q11897598 Q4067724 Q914755 Q1850 Q1070428 Q477232 Q244327 Q3780 Q1314479 Q1490863 Q285778 Q1732099 Q2807 Q4357920 Q35381 Q259617 Q19613231 Q3604 Q3407596 Q4405293 Q959517 Q5638429 Q2590944 Q4207520 Q183104 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q208143 Q806414 Q3733 Q593141 Q1189066 Q1785595 Q165486 Q3739 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q7230655 Q810092 Q19613854 Q492744 Q1012411 Q3854 Q15241991 Q11902896 Q19906849 Q2574529 Q4072448 Q155955 Q10400 Q34713 Q5068781 Q183199 Q1737 Q2350941 Q1545679 Q915 Q311809 Q15682 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q5493749 Q674395 Q2007254 Q14945 Q2911365 Q1538830 Q632489 Q12047 Q2157144 Q2267399 Q9347 Q2785515 Q671557 Q1043368 Q4454 Q1800099 Q9974 Q2292517 Q989288 Q987243 Q13640603 Q614706 Q2927534 Q276274 Q2449 Q1726 Q1624013 Q17483998 Q503640 Q1792879 Q2511670 Q569804 Q1423660 Q345389 Q1729 Q1721184 Q3901 Q466046 Q3909 Q2931074 Q7056872 Q1026296 Q755389 Q64 Q1011866 Q61 Q736131 Q41572 Q306440 Q1567437 Q3766 Q9125 Q1861 Q15552182 Q1870405 Q868647 Q216939 Q2194010 Q5813 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q767357 Q1947 Q2674551 Q1981987 Q162065 Q1591499 Q50960 Q2751941 Q676689 Q2498737 Q939609 Q49550 Q37806 Q770518 Q1533868 Q795623 Q840681 Q922981 Q2077402 Q2784834 Q2351343 Q166065 Q985659 Q971550 Q2713838 Q13400194 Q18681979 Q2868 Q1886770 Q3640 Q1394778 Q5132825 Q2682566 Q647 Q40747 Q2087380 Q820949 Q727 Q649 Q304108 Q77056 Q3012 Q58940 Q2423894 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q187251 Q2948574 Q140147 Q9939 Q427044 Q28848 Q3112541 Q8050719 Q598948 Q12762569 Q806799 Q910997 Q766896 Q2830827 Q586 Q8757 Q34370 Q954764 Q15287 Q1734018 Q1669399 Q1764 Q16531502 Q630478 Q9279 Q3940 Q2236639 Q820024 Q11901684 Q2124272 Q602314 Q2704 Q1040 Q986675 Q1270505 Q1713141 Q579556 Q11900887 Q65502 Q14452 Q464955 Q508056 Q8826 Q3820 Q506700 Q6899495 Q36260 Q963894 Q123076 Q2627415 Q2281721 Q2319224 Q204234 Q787279 Q750760 Q19613699 Q988100 Q1006998 Q719379 Q54898 Q353307 Q2235 Q2432955 Q55630 Q7618827 Q4100 Q216 Q4914513 Q16016733 Q3361880 Q878809 Q4998230 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q230406 Q1867127 Q615732 Q502398 Q570990 Q222702 Q3114 Q956125 Q630334 Q773919 Q2051589 Q1553283 Q2409481 Q1341 Q578026 Q1964137 Q503763 Q2355915 Q2084446 Q2303243 Q1531454 Q1017 Q4190 Q18399563 Q2350685 Q15241523 Q7823825 Q1850580 Q2585002 Q14205508 Q1522881 Q670057 Q5646331 Q179385 Q1248930 Q11901400 Q1728043 Q1743660 Q1085
(c(Q56061),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q25230
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q25230 property:P206 ?q . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } } } . FILTER ( ?a < ?n ) }
Doesburg Tripoli Karczew Tagazar London Walton-on-Thames Vaattojärvi Lesozavodsk Düsseldorf Uitdam Ardnacrusha Ivalo Gniew Baku Lilongwe Henley-on-Thames Omsk Rothneusiedl Bisham Södermalm Makkum Den Oever Dakar Belgrade City of London Tegucigalpa El Pescadero Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Almere Brazzaville Nussdorf Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Dalnegorsk Svalbard Steeden Olney Metsäkylä Onari Hanover Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Boumba Sitra Nieuw-Lekkerland Swanscombe Pyongyang Palos de la Frontera Grinzing Góra Kalwaria Las Palmas de Gran Canaria Athlone Maastricht Grays Papendrecht Glasgow Kobryn Zakroczym N'Djamena Lorain Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto Äkäslompolo East St. Louis Marivan Taradei Novosil Ely Weybridge North Shields East Tilbury Ghazaouet Bergambacht Świecie Mobridge Nuku'alofa Kourfeye Centre Great Barford Maïné-Soroa Innishannon Stuttgart Drohiczyn Priozersk Zellerfeld Athy Torgelow East Cowes Jean Marie River Alchan Kemble Richmond San José del Cabo El Centenario Doulsou Dushanbe Bishkek Juan Fernández Islands Paris Bromham Vyadhapura Taboiaki Imanan Tondikandia Sonning Hindeloopen Aranjuez Egham Hythe Lisala Spakenburg Radley Kaspi Westmaas Winniki Bandipore Paesens Sidi Abdelaziz Ottawa Anna Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Port Louis Pangbourne Greater Tokyo Area Sidi Barrani Port Famine Bundaberg Santa Monica Oberwurmbach Luanda Mostar Kampala Monrovia Syasstroy Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Porto Jeesiö Putney Eton Pitkyaranta Valletta Cabo San Lucas Alekseyevka Belgorod Alatyr Nieuw-Beijerland Hurley Ibiza Town Kastoria Ariadnoye Lexmond Valencia Schoonhoven Busse Thimphu Basildon, Berkshire Speising Yatakala Runkel Koltur Accra Kolmane Brakel Corringham, Essex Heiligenstadt Albany Hacking Ayourou Whalley Newnham Murren Chamberlain Salisbury Lune River Volendam Isola Bella Zwiesel Kelmscott Knoxville Siggebohyttan Marbella Santa Cruz de Tenerife Tiel Vientiane Khmelnytskyi Weilburg Enkhuizen Astana Väylä Worcester Brok New Bradwell Bubaque Nassau Ronneburg Algiers Dellys Schwerin Baton Rouge Shuyskoye, Vologda Oblast South Tarawa Zwolle Villmar Tortuguero Loenen aan de Vecht Cape Town Vuotso Glen Cove Yli-Olhava Dodewaard Donetsk Maarssen Bamako Huelva Brookville, Nova Scotia Warder, Netherlands Bourne End Khartoum Penzing Tunxdorf Luxembourg Ochten Kinderdijk Palojoensuu Kastelorizo Castro Marim Municipality Minsk Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Nantucket Málaga Monschau Połaniec Mankila Arkhangelovka Glazovka Dargol Elche Köngäs Athlunkard Bangui Brussels Fox River, Nova Scotia Eschweiler Paesens-Moddergat Dobrzyń nad Wisłą Ngerulmud Rhoda Island Hoofdplaat Clausthal Ciechanowiec Marlow Caversham, Berkshire Nukunonu Kathmandu Moulsford Oost-Vlieland Göttingen Bumba, Democratic Republic of the Congo Maidenhead Scharsterbrug Matankari Wervershoof Sortavala Méhana Carabane Kashira Bosso St Mary Hoo Vienna Leixlip Inagh Youri Copenhagen Motril Tepasto Ohrid Deest Puttershoek Lilla Essingen Tamou Cairo Arkhipovka Cricklade Nuremberg Vuontisjärvi Iffley Stoneleigh Elleholm Sinder Wraysbury Termunten Bochum Rossum, Gelderland Kessel Blanchland Innsbruck Twickenham Spencer's Island Laleham Aumenau Waarde Bray Neuses Nicosia Salmon Arm Sambéra Wolvercote Eastern Tickle Jan Mayen Jormua Bern 's-Gravendeel Muonio Tounouga Landön Harikanassou Fabidji Kingston upon Thames Nantes Niamey Alcobaça, Portugal Sicamous, British Columbia Shlisselburg Houghton, Cambridgeshire Taplow Toronto Warsaw Vologda Zutphen Heinenoord Callao Tipaza Higham, Kent Podgorica Carlton Honiara Thénia Delft De Cocksdorp Łomianki Dessau-Roßlau Managua Peniche Staines-upon-Thames Chétimari Muiderberg Vaalajärvi Prenzlau Kaukonen Nampho Rotterdam Centrum Beetz Marken Rodaun Ellewoutsdijk Nellim Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Ramsberg am Brombachsee Paramaribo Chișinău Almonte Georgetown Cookham St Neots Foča Bagdad, Tamaulipas Medmenham Amini Kozienice Purley on Thames Treuchtlingen Jyväskylä Osney Awala-Yalimapo Bukoba Ameide Ljubljana Metković Rabat Dungass Skopje Vigo Suva Andijk Dartford Bichura Birni N'Gaouré Manoka Vingt Cinq Sandford-on-Thames Nouakchott Bratislava Budapest Otley Keväjärvi Little Wittenham Say Old Windsor Werkendam Inari Panama City Arrecife Tikkaperä Anuchino Dogo Phnom Penh Chertsey Aktobe Gorinchem Freetown Sorbon Haoussa Gaden bei Pförring Datchet Twillingate Madrid Kuttura Colombo Wasserburg am Inn Antonovka Djibouti Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Reimerswaal Kazakevichevo Feldkirch Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Wigan Bandé Conakry Philip Point Cires Kourteye Kempston Bissau Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Port Greville Unterwurmbach Bogoslovka Mijas Culham Bujumbura Nizhnie Luzhki Ylläsjärvi Novorossiyka Stanford-le-Hope Aurovka Kuybyshev Almería Salzburg Chalk, Kent Ioannina Bregenz Scharwoude, Koggenland Shepperton Perm Sidi Daoud Cádiz Dessa Solec Kujawski Greenhithe Littleport Raattama Fraserville, Nova Scotia Bovenkarspel N'Dounga Merseburg Borssele Gothèye Niulakita Mügeln Almere Haven Krimpen aan de Lek Malé West-Terschelling Brackley Stora Essingen Khabarovsk Wytham Weesp Skikda Yankton Kollo Banevurovo Anzourou Allhallows Wolverton Mogadishu Munich Yampupata Ettling Gunzenhausen Canning Town Tima Wyszogród Hütteldorf Łochów Erfurt Kahlenbergerdorf Moroni Salé Maseru Termunterzijl North Stoke, Oxfordshire Jinotega Athenry Berlin Tillabéri Washington, D.C. Alblasserdam Mykolaiv Abbeyfeale Hadersdorf-Weidlingau Damascus Winterthur Bangkok Tikhmenevo Lorrha Southport Essaouira Sunbury-on-Thames Canary Islands Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Caravela Juba West Tilbury Neuwaldegg Dishoek Havelse Demmin South Stoke, Oxfordshire Gravesend Dorney Lechlade Maó-Mahón Port Vila Boumerdès Godmanchester Oud-Beijerland Kinsale Mijnsheerenland Aldeburgh Dreumel Benson, Oxfordshire Lelystad Ciechocinek West Thurrock Vaghena Island Dornbach Kelontekemä Lima Malawa Ankara Falmey Cliffe, Kent Clifton Hampden Rennes Pierre Northfleet Gougane Barra Amsterdam Moscow Isola dei Pescatori Edam Ulm Capolago Funafala Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Vestmannaeyjar Champ d'Asile Brest Huizen Guilladjé Saint Paul Vuren Ydrefors Wargrave Arenibek Bankilaré Wyszków Gaya Remenham Bonn A Coruña Rotterdam Thames Ditton Novaya Ladoga Karma Killorglin Reykjavík Baryshevo Rixensart Bandar Seri Begawan Victoria Oosterdijk, Enkhuizen Kupiškis Virmaila Maasdam Ruo Pescara Karlsruhe Gorouol Deline Juliusplate Labasa Venetpalo Bönigen Easter Island Windsor Filingué Palma Beirut Ueckermünde Mongewell Apia Kilrush Palmyra Atoll Schellinkhout Teddington Goring-on-Thames Milton Keynes Stony Stratford Sliedrecht Beloyarovo Wallingford Sutton Courtenay Sachs Harbour San Cristóbal de La Laguna Addlestone Veliky Novgorod Isleworth Novi Sad Stone, Kent Baden-Baden Vilnius Binsey, Oxfordshire Orlinoye Schardam Bitinkodji Burcot, Oxfordshire Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Zurich, Friesland Lobsing Breukelen Oranje, Drenthe Lakewood Tarifa Canberra Kouré Bad Berka Aunu'u Streatley, Berkshire Gueskérou Little Thurrock Tolyatti Kleszczele Namaro Pappenheim Czyżew Arzew Shiplake Glin Aachen Passau Argunskoye Tolhuin Abramovka Too Good Arm Hambleden Brockham Barra de Potosí Killaloe, County Clare Birgitz Hampton Wick Greenwich Bishop's Waltham Vikajärvi Sheremetyevo Kirtachi Prague
746
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Guernsey
relation located next to body of water
type waterway
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Guernsey property:located_next_to_body_of_water ?q . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:waterway ) ( ontology:body_of_water ) } } } } . FILTER ( ?a < ?n ) }
[]