add cart choropleth column cross cube error file folder geo help home lock obs poi rdf remove search slice spreadsheet success table unlock warning

[this is a icon-] developer tool

SPARQL 1.1 Query: Results

Edit query
Query results
s p_blank o_blank
http://opendatacommunities.org/id/geography/administration/npark/E26000003 http://www.w3.org/1999/02/22-rdf-syntax-ns#type geosparql: Geometry
http://opendatacommunities.org/id/geography/administration/npark/E26000003 geosparql: asWKT MULTIPOLYGON (((-2.869630185939233 54.19145844027805, -2.87569313172323 54.1934054012562, -2.878464961874234 54.193633492454396, -2.878436486250401 54.20203365882427, -2.884360714264552 54.208431360583845, -2.885050110114363 54.21146426661107, -2.888352962396977 54.21246454086863, -2.897446221029 54.21252996764101, -2.900863347004189 54.21171719014703, -2.903194245794001 54.21484387040348, -2.9063110095833 54.214163371858824, -2.910774831264118 54.214762904992696, -2.911034987025065 54.2113856441351, -2.912646718301283 54.21019156054387, -2.912953418559421 54.20732525399137, -2.91415529410457 54.20610939794989, -2.914293216105317 54.204002000336885, -2.918201736587344 54.20288362443668, -2.930709329010013 54.20437996819382, -2.930848025657402 54.203197152936724, -2.933456138873802 54.20180507301348, -2.935751582465849 54.202875893139726, -2.934622903654751 54.20593345860787, -2.944138776659962 54.20676235013629, -2.946464781446366 54.20517404860632, -2.950433760650342 54.20496879061677, -2.952594650128362 54.207921456269844, -2.952575381456111 54.20953083167798, -2.949562874289573 54.211543997837296, -2.953200397719509 54.21437770649523, -2.953196396921729 54.21672184483877, -2.957255447429953 54.21674877146344, -2.96157781161947 54.22093041587461, -2.959593656204759 54.222959908066315, -2.958999199795884 54.22491974852644, -2.965455024345774 54.22521434051876, -2.970953152190182 54.226547083112976, -2.973143418531372 54.226480114344575, -2.976811021598991 54.22786359799002, -2.984890510226951 54.22976470190866, -2.989443626714805 54.2296879135515, -2.991282272999961 54.228855191334716, -2.99530640104068 54.22311507563341, -3.001999409833191 54.22617563419346, -3.00743082466776 54.22805943807473, -3.01119723451449 54.2267240791721, -3.013463672822694 54.22516938184576, -3.01431465343304 54.22225243278853, -3.016608554499137 54.21972325389378, -3.018845348498831 54.22027787451368, -3.022620027590275 54.21976642799732, -3.026219806981809 54.217743039113536, -3.030034284412383 54.218910748929474, -3.034203096887016 54.222050638149675, -3.037973139155167 54.22682903312288, -3.042819668023756 54.22599903529181, -3.046468877552892 54.22445026242108, -3.049493487596904 54.224147980121955, -3.051699706632192 54.22492470696706, -3.050684368895612 54.23234792260289, -3.051893586151747 54.23326619377543, -3.052054335929637 54.23566522299313, -3.053358704542867 54.23708568090746, -3.05716056144188 54.23821262495179, -3.061232811091583 54.240982950593406, -3.06203609118359 54.244027904699585, -3.064525150631978 54.24519652003944, -3.065583054704889 54.247026978821175, -3.067771564153574 54.2483860878939, -3.069642834592895 54.2512875371334, -3.071826694248088 54.25305357968294, -3.07282634812371 54.255002587172854, -3.074872947645663 54.256467870205924, -3.079975458336921 54.25848996376977, -3.085696894501369 54.25909856906692, -3.088603381439009 54.25896196010751, -3.092388264646897 54.25974150149271, -3.098097359921969 54.25930425150496, -3.107863041925212 54.259163859148174, -3.113791981043873 54.25606234248309, -3.122018532936212 54.252984925379394, -3.127751514071608 54.253476973237056, -3.133774810178917 54.25457072672669, -3.146058497789078 54.25608775421405, -3.151351149600807 54.254516521704, -3.158694225370527 54.253277153725584, -3.163633729623583 54.25486984121583, -3.170192084561336 54.25533395131181, -3.173558310766876 54.257077169482415, -3.17852596063973 54.256594607873964, -3.181143859166635 54.25888546752883, -3.180063121018929 54.26102041732612, -3.181079275795011 54.26275551152425, -3.180619835826808 54.26561295216905, -3.18588983714938 54.26741200916421, -3.191614848455653 54.26866762714039, -3.199104965932388 54.269850377963124, -3.204547837126789 54.27169155756514, -3.20736743196345 54.273127940464796, -3.207790514253575 54.27468757795945, -3.210031465547571 54.277101357788005, -3.211699556534002 54.27600690954827, -3.214938075625771 54.27182153539034, -3.215856696657859 54.2693161977293, -3.222534324236309 54.27063419524791, -3.225923286314329 54.270952555066955, -3.224301367359434 54.27546951688627, -3.227799982596486 54.2776616473301, -3.228393729589782 54.28155798934318, -3.233326022171742 54.28349505889367, -3.235082607433899 54.28256270818929, -3.235214760201667 54.28092374932862, -3.236828605375679 54.278500580866506, -3.237698366647904 54.27525323854833, -3.23923946896394 54.272817044300204, -3.24369172351306 54.27111999557798, -3.248970494315946 54.271947777588096, -3.251449492381271 54.27021834566112, -3.256089371236342 54.26862562693318, -3.258505569492969 54.26835481939959, -3.260510716794744 54.267029819551254, -3.264723926914778 54.26053835157169, -3.263860620907651 54.2581251742055, -3.265319344095224 54.25597620703354, -3.272658422186812 54.25431273351682, -3.280021888736204 54.253779779507575, -3.283565356325099 54.25152095047504, -3.287816796454513 54.2497063853567, -3.284818518099168 54.247753409531406, -3.286097980649868 54.245430819897585, -3.290790576355251 54.24432135104871, -3.294333664041255 54.24260751638719, -3.302835023641631 54.23781392820964, -3.306262994588927 54.23538221630982, -3.307811484530036 54.2332710627003, -3.317342846853565 54.22613044710294, -3.323614492441595 54.22262473954237, -3.325513809299393 54.222662003173134, -3.33112708919323 54.22153558828481, -3.33000230994051 54.21935840851707, -3.33161115431435 54.21806769039792, -3.331712375288377 54.21621093602015, -3.334986877675461 54.21378524750791, -3.336004055251411 54.21052347863873, -3.340507799683222 54.20831768742501, -3.348445090769841 54.206393125369175, -3.35070402622398 54.20883704747806, -3.353214640072079 54.212586167645114, -3.362253954288817 54.222948393557544, -3.365077209757867 54.225938160955586, -3.37465514168538 54.23495876174337, -3.386213673550819 54.243144521358694, -3.395742176206984 54.2491899257461, -3.400673135338372 54.25398494850394, -3.402420415227123 54.257402336264526, -3.406209926850719 54.2613712002143, -3.411054628231494 54.26770052930182, -3.414262258946843 54.270350178073855, -3.424964895545929 54.281648304888634, -3.429799011847586 54.28772065941428, -3.428141611180732 54.29420143825362, -3.425411248945102 54.29802549186054, -3.425207597393781 54.300845743112255, -3.423384331512413 54.303544709818134, -3.423724976252237 54.30954552204874, -3.425882453550343 54.315853999456564, -3.428551378019101 54.32065129331586, -3.432541071327838 54.32522416117067, -3.434901962859652 54.32734525185514, -3.43971987290033 54.33045912397227, -3.442161117391735 54.335673977517246, -3.441444589281515 54.33800610590176, -3.442798103814902 54.34192307032512, -3.444647285073823 54.34305662172684, -3.447169227595852 54.345828026535784, -3.472711727948815 54.358509693151426, -3.472592981530168 54.35975445160419, -3.44178859644812 54.37118571135765, -3.439649479946805 54.37277940787474, -3.437263542613164 54.37272022176494, -3.435866042481422 54.37418437619036, -3.426797209925875 54.37615729897276, -3.424034000352746 54.37527442273934, -3.422869134354368 54.377067116707295, -3.418091133229109 54.37818257212547, -3.415892545614128 54.380021878289185, -3.416526347840656 54.38181740203406, -3.420267572313373 54.38436776296457, -3.418642849069956 54.38749367419189, -3.419671941128046 54.393504717432556, -3.422066370022899 54.396095424968834, -3.428462870925075 54.40031689241104, -3.431662480194537 54.4040730715611, -3.431458601677548 54.408233451807895, -3.434913793186864 54.41242226135547, -3.434585640300509 54.41361383397981, -3.43836692966495 54.41632099627598, -3.44333377342274 54.418647609971764, -3.443762003305074 54.420046569566544, -3.450654649598183 54.42401756569174, -3.457949153673586 54.42782024386511, -3.463735995854798 54.429895440410306, -3.467206358601708 54.43339531285032, -3.474209623239853 54.43665973351057, -3.477559630832252 54.43992875745204, -3.479166838390563 54.44046944007379, -3.478922125036171 54.44258262308672, -3.476277265827521 54.44426885126806, -3.47219913414379 54.444375880243314, -3.468974031989778 54.44513764684614, -3.466934790432907 54.449853614545475, -3.465174241660445 54.450996187335264, -3.467246599372753 54.45527550341166, -3.467211004256868 54.45645642388957, -3.464948070708933 54.458515237309626, -3.464649954891542 54.46059474386672, -3.461513570973893 54.46396588833198, -3.462914790327042 54.46659050666113, -3.461878705669296 54.46926987271057, -3.462396346708521 54.47353350169632, -3.459263018767002 54.47731404164818, -3.456627574920243 54.485875170249, -3.451159751647857 54.495027609069915, -3.454133444285866 54.4971819531478, -3.457970911831872 54.49883992203077, -3.460671949840809 54.49876507146987, -3.463924833452485 54.49973111473684, -3.460508096314908 54.50194294162815, -3.46038494796659 54.503333731476594, -3.46765833607298 54.5051946503918, -3.471143254833768 54.50531284124376, -3.480278024771514 54.50938689545133, -3.481922349877625 54.51142902922612, -3.481061961203797 54.516110510900724, -3.487191380524379 54.51610161889341, -3.490849729809084 54.51775247475897, -3.495160509837105 54.51776206239817, -3.493443632921349 54.51976182843, -3.491127513556583 54.518982898867485, -3.487254742910402 54.52067994541076, -3.485524804505205 54.522360551280585, -3.478180959795508 54.52557847740102, -3.475352501998167 54.527195666239194, -3.468823334086187 54.52943760796642, -3.464138459123708 54.530101051959946, -3.462325550883381 54.53109294134969, -3.456201056779919 54.53161632294598, -3.453091959128032 54.52921185824942, -3.451962850394076 54.530917201530016, -3.448219606549647 54.53146328202328, -3.447530767445155 54.53024443053225, -3.443821341880976 54.53099640970132, -3.43969038870307 54.530080885529834, -3.438363402335709 54.531203140019926, -3.43255004179105 54.53233591071824, -3.423923873998322 54.535357501222684, -3.421803102468616 54.537122967777044, -3.416845769455457 54.53792641431641, -3.416269724149315 54.53862942337212, -3.410341166840209 54.5413994853489, -3.408016076771192 54.54310727468951, -3.405062519799801 54.54381022200069, -3.404630661571776 54.54598984451878, -3.405977746347453 54.54758833212391, -3.412121686593929 54.54999751386248, -3.414505824316705 54.55299754350096, -3.41586329692881 54.5536577089902, -3.417168021999216 54.5564529247722, -3.41660007884312 54.56609662614481, -3.419552660993813 54.56660617828793, -3.420185173781525 54.56788791065711, -3.417558668985972 54.571989968906124, -3.410794426989666 54.57395604858194, -3.410671186821363 54.576121388752625, -3.408639821653282 54.579149162347036, -3.404653288311325 54.58130606583575, -3.399004090813569 54.5829953477794, -3.396141131896758 54.5845481701495, -3.392073071128673 54.58878971517294, -3.388882987929613 54.589303433951414, -3.386207507546555 54.590582974887454, -3.385163892300576 54.59297437691042, -3.375006318554831 54.592895501274015, -3.368763347666296 54.59092094742064, -3.364981369360688 54.594570341501345, -3.361417223727823 54.59540042143838, -3.361125102433849 54.597998992801784, -3.36752577570996 54.59671587821601, -3.371031122324061 54.59553983946431, -3.372803252726181 54.59389581034293, -3.377417323297952 54.59633752427683, -3.378690284808715 54.597988937889426, -3.386011199112505 54.597057354066244, -3.38939691252587 54.598614772617175, -3.395384899301079 54.59886784364276, -3.393044525540378 54.60084398659621, -3.38972624171688 54.60540146415431, -3.388355814493448 54.60595518697125, -3.389818808153956 54.60799357231793, -3.388596419841527 54.609146915499764, -3.389398250172844 54.61136084832117, -3.38579370563115 54.61151341430677, -3.383582270479076 54.614723102310634, -3.379479245017116 54.61708928687222, -3.376100251362325 54.62020190093343, -3.387596382292014 54.62589250693135, -3.391391932953252 54.626626757032746, -3.387307098665194 54.629670124061306, -3.384523117577765 54.63260298240617, -3.384908590124889 54.635243392443854, -3.382478568107678 54.63845580205352, -3.371737247645623 54.637950062037866, -3.371810266047786 54.641897638358884, -3.359331291364645 54.64176393883608, -3.359085298347684 54.642606173228046, -3.353408702408784 54.641366496953964, -3.350541146894649 54.641244347404516, -3.348359519612936 54.642454442833234, -3.351205860334508 54.64365058344721, -3.350828814266 54.64671721641975, -3.344702466530514 54.65222079809367, -3.338532627536993 54.65461522133915, -3.334310088772942 54.65523296632404, -3.327904570840076 54.663803970261405, -3.325435329973701 54.665188676169144, -3.332040713561315 54.66897998570802, -3.335318633326757 54.67319430065056, -3.351645912877216 54.68056718794384, -3.348729698438635 54.6830008994236, -3.346781915797266 54.68566095759882, -3.349288460134114 54.68604310921549, -3.350544953628503 54.68465570660482, -3.354062319770684 54.686322925490906, -3.351745579317285 54.688575449454426, -3.352922585150804 54.68955640416086, -3.348083341237617 54.69221419999387, -3.344016903263566 54.6933560022722, -3.340303234044061 54.69688793030778, -3.333870097451674 54.701593926695075, -3.317392616231918 54.713291586228145, -3.305309332126831 54.72130261332313, -3.301625263463849 54.72189890224012, -3.296060362185726 54.717786745535214, -3.294636194733671 54.71723787616369, -3.290265751338358 54.71354660788077, -3.284334829807518 54.71449979759564, -3.281328738332576 54.71447194768161, -3.276581806814188 54.71874905058281, -3.272846670038185 54.71937013682671, -3.266442266632191 54.71921312977539, -3.263020688993363 54.717301974599565, -3.261511072384859 54.71452546013488, -3.262801590352499 54.713227110711614, -3.262502250350333 54.710618994899264, -3.258241211121809 54.70970828520884, -3.254164808782319 54.7129659043592, -3.250247395473382 54.714727181394004, -3.249609853039571 54.71664734918433, -3.246321694059749 54.71972354562209, -3.248249297556649 54.72219570010834, -3.249487374421174 54.726417617775624, -3.240476929862622 54.72743530861443, -3.237141161814689 54.72903177792492, -3.227226063022617 54.730380826672686, -3.220840292435356 54.730563420916866, -3.215906129913742 54.732874000200376, -3.212588783094808 54.73281918649696, -3.208841372491668 54.73425299835066, -3.203167849423885 54.73383748139923, -3.195535692892095 54.73384292592557, -3.191400951417565 54.735117542404495, -3.166683304270763 54.740513058874946, -3.163074697976799 54.739163581066954, -3.158714709478153 54.73942032311468, -3.156480624773203 54.73784251597477, -3.151958743869908 54.737316717146335, -3.148531211737938 54.737870913348694, -3.144175744061041 54.7370720907664, -3.141009103584893 54.73471109415387, -3.137128103107929 54.73339444656969, -3.135851218078705 54.732353665475074, -3.131553377593077 54.73212088093952, -3.111479706895499 54.73712142883643, -3.107151235479416 54.73792283264039, -3.101692849582942 54.74032407793292, -3.103614146312071 54.74076395785998, -3.105065626686689 54.74304973195029, -3.105872075802937 54.74634146299345, -3.115344993299156 54.75035347880116, -3.117535415575702 54.756681103498266, -3.087856681043094 54.760685253761174, -3.064680606546875 54.76359506483828, -3.057443166057068 54.762511577031, -3.057352333092809 54.75865541651944, -3.058994331016249 54.75467052865319, -3.057476906528313 54.752770389319544, -3.053093683971814 54.75040747331642, -3.052296122613124 54.74937443681356, -3.048779600534584 54.7497789906966, -3.041408403472414 54.74926329390651, -3.035534656700088 54.749707066631885, -3.033537676086243 54.74854190063781, -3.027561601047391 54.749315166581084, -3.025704044712168 54.748585260069355, -3.023138538946445 54.74964844159777, -3.021554975204526 54.748517784538976, -3.026161884277654 54.74803879827338, -3.025988445953653 54.74705507111609, -3.021609319310408 54.74579807124523, -3.02349390938378 54.74220943782522, -3.020593042277265 54.73972976215889, -3.015514635453314 54.73873104797623, -3.015647887299381 54.73753873810719, -3.011643587116494 54.73653450981091, -3.011386213679905 54.73461035882793, -3.008391812034927 54.73460413303978, -3.00236773811447 54.733172935999356, -2.996683621118631 54.733612284775226, -2.996083281413636 54.731486049409924, -2.992610237365114 54.73066035966578, -2.992833352976745 54.72907809328716, -2.989610674658593 54.727762304130934, -2.98376635173568 54.72784231867867, -2.978565183543378 54.725897888432385, -2.974708025792089 54.72593388430744, -2.973062992492619 54.72402530413806, -2.974583189447065 54.72276390678417, -2.971695340142094 54.71938638502919, -2.966981206903365 54.70999660296997, -2.963334263760157 54.70054432099634, -2.960417726443039 54.69546114684982, -2.960529908223215 54.69180898847352, -2.973621486397939 54.67920460282625, -2.96791068748233 54.67518862395653, -2.961218629752563 54.672723017967364, -2.952534188598147 54.66793286796579, -2.940530725581382 54.661844862748296, -2.928961395254178 54.65700365339975, -2.927148017612076 54.65454878029767, -2.924385065865911 54.65226472696467, -2.923169739219496 54.642954410119316, -2.920862066275252 54.643359133561034, -2.903150549948486 54.64210855031258, -2.894581520767586 54.64333416312742, -2.880146812148672 54.643524064651494, -2.872323893157879 54.64160409537998, -2.869165669852365 54.64133627505899, -2.868513457097853 54.63942025787528, -2.852400088127835 54.64182674174858, -2.842872677187545 54.64413246836277, -2.823015332960126 54.64609835487476, -2.793807170246248 54.637127988391946, -2.793574610390201 54.63494483454733, -2.792290395054886 54.633261449082205, -2.788444665681418 54.63160024193593, -2.783533064884387 54.632681933146195, -2.783215755051785 54.63071864662638, -2.784148177115722 54.629087930385886, -2.781267878397874 54.6252684143537, -2.779430631893551 54.625031996614354, -2.778717159291676 54.62171154440263, -2.781793078451707 54.620400812579284, -2.777683852767114 54.61677646621219, -2.778958982694528 54.61572619350162, -2.773308193379069 54.611936509527425, -2.76697211536029 54.616015089364275, -2.76584077116288 54.61735598049379, -2.762456135242324 54.61934325861471, -2.758653427013099 54.61992210678478, -2.756294172796043 54.62365228822048, -2.753224012329715 54.62535789894759, -2.750796565942736 54.62321077609866, -2.749773208565385 54.621095072883634, -2.746618133039063 54.61768085627102, -2.742864640730005 54.618162435577915, -2.742654714990248 54.6215279400764, -2.740386922903495 54.62225222912644, -2.739367242097534 54.6238563178933, -2.735206426694504 54.62441232184704, -2.734642334928262 54.62269474536282, -2.730496153634311 54.61790761152582, -2.724230300646676 54.61307575915504, -2.723257157942181 54.61161249639905, -2.726711952799297 54.61141373723262, -2.718069310521053 54.60873037061051, -2.715566883326653 54.60226295060884, -2.715660629157032 54.59987411481946, -2.714684741700771 54.59773635846443, -2.711790725357705 54.59502953860332, -2.70618842041394 54.59332032024618, -2.70766591124452 54.5915637201836, -2.701350688135155 54.58913626299912, -2.698697647113948 54.58873639786053, -2.697308577501968 54.584509875466566, -2.697434402280726 54.58208435552076, -2.696506932914418 54.580265770108184, -2.700443813721508 54.574909258854426, -2.700442976963086 54.57204480483999, -2.698353848142196 54.569760718139186, -2.697087975201598 54.56724492911206, -2.69755940846791 54.564272711942756, -2.694975738632242 54.56437283059716, -2.6940361456719 54.558002098060115, -2.697358579422663 54.558529215133056, -2.70884120162549 54.557457138051284, -2.71128846109904 54.555267764141874, -2.719145517548051 54.55368786041785, -2.718374932339026 54.55010774528676, -2.714276386582511 54.547348588064125, -2.71054720146121 54.54572720958549, -2.70507560015529 54.544198322929745, -2.699753177865473 54.541385990407456, -2.694435495982501 54.537047289035904, -2.697416901011942 54.535549084994194, -2.698373367741357 54.53366864212708, -2.700983940624361 54.53156165663977, -2.697994646396683 54.528882994340165, -2.700505434668008 54.5255478985213, -2.699567948539467 54.52380830424076, -2.695709422578892 54.52218399319951, -2.690768262746682 54.52251396867327, -2.68748143470134 54.52043565233695, -2.686569385211756 54.518445581636264, -2.684307586621592 54.51718380179452, -2.681032556027908 54.517117350014516, -2.679251374894608 54.51410043692681, -2.680685161133709 54.51284808732352, -2.681251714850053 54.51028949077932, -2.680130396244516 54.50864219517915, -2.680946236181729 54.50524597269896, -2.677331656432954 54.50147529826451, -2.672904342883724 54.487072958169655, -2.673305876146231 54.479472685153354, -2.670747369562156 54.47502986304562, -2.671122266093536 54.473408272993915, -2.66423406338626 54.473057218249174, -2.661097638805957 54.474247237276586, -2.65083173967647 54.47933574713639, -2.649497261149769 54.48034049920975, -2.646165832856771 54.47950459268502, -2.645802137800513 54.47601504718127, -2.642918969136959 54.47519912185347, -2.640689782978547 54.47376404362544, -2.640354539906004 54.47107418221767, -2.636920242324776 54.46703466167377, -2.633831428365995 54.46438876237955, -2.625683844203463 54.4627715992144, -2.627036722824875 54.46093654344965, -2.626734513824715 54.45848125865931, -2.62497850187334 54.4575851929847, -2.625380936634099 54.45385317604741, -2.622583419854705 54.45177125611182, -2.622490728381766 54.45057083125716, -2.61984136082595 54.4490191726365, -2.620599111858235 54.44551073905602, -2.617912191465761 54.44446237123013, -2.618211622844954 54.44242877454532, -2.614288213641071 54.441936134906065, -2.610655150917252 54.44205442379033, -2.606888010676719 54.43918592208202, -2.605302285930203 54.43860987204687, -2.601322499511962 54.43566517233497, -2.599514485850462 54.43314908811534, -2.601848940852851 54.42900509407469, -2.601945740992239 54.4257525533834, -2.600024812829462 54.420575029176256, -2.600653830192867 54.41774784483181, -2.601914420366029 54.416752418660536, -2.601786034005771 54.41417010472748, -2.602797912402668 54.41151075929563, -2.606749956091552 54.40692982937297, -2.605713017522608 54.40549906431915, -2.605448133450686 54.40103462269327, -2.601180689355923 54.39583147551003, -2.594482720876143 54.39115285919984, -2.591897498121031 54.38898646178969, -2.586070376210924 54.38558363281985, -2.582730587678971 54.382522825501695, -2.58373780338288 54.37721748703364, -2.588539140864284 54.37717127147194, -2.591305208438607 54.37804354621386, -2.602793716765118 54.37863952954156, -2.610730164002202 54.376461505646034, -2.616312429393503 54.377393764808815, -2.621333612899727 54.37395834766361, -2.628880906168895 54.37114808434394, -2.634346770071672 54.37052672674984, -2.641034439356303 54.37044318803605, -2.640617037197688 54.37143835219595, -2.648483537943557 54.37211358746135, -2.65019880476335 54.373582463354275, -2.652968944752168 54.37358350134996, -2.657876924503859 54.37528601701273, -2.662480379877152 54.377799137168644, -2.665578383433349 54.37776733208803, -2.671614566549548 54.37952358166041, -2.673894044866207 54.3810158004677, -2.675009205544554 54.38307367182853, -2.673340164533322 54.38601649236049, -2.678540342780707 54.38745268801954, -2.67899756003129 54.38924742261149, -2.681140344468207 54.39090752889272, -2.682496154034387 54.39339157771797, -2.685290774793725 54.39466441922755, -2.687395358990215 54.399977524310586, -2.69419289837644 54.398768712605616, -2.69807997003446 54.399418218095995, -2.702138372774988 54.40267697312688, -2.706787060672578 54.40324396681913, -2.70827407817742 54.399669977693655, -2.710418317353629 54.39761276884745, -2.714663974319266 54.396053396284444, -2.72009692670482 54.39271026393075, -2.723303257313666 54.39185330184756, -2.727060433002328 54.38922525135782, -2.733368913677205 54.38565099374099, -2.735065205930039 54.385803705594945, -2.735942382087476 54.38265744677971, -2.737669073590566 54.37987195091186, -2.742203988618343 54.37554416808658, -2.747097452200569 54.375726722042174, -2.75111322094141 54.3751187497425, -2.752812335743872 54.374223623499574, -2.757758036936607 54.37327878666862, -2.764224127877609 54.37355313658283, -2.765899554377719 54.37429758698116, -2.770781824929188 54.3738860942725, -2.772611160080246 54.37289436498188, -2.774278022693204 54.36879714377408, -2.776517539179388 54.369090568094435, -2.779361700947089 54.372035226431954, -2.785408325852192 54.37488192673608, -2.793376549837572 54.37550748576853, -2.793830312867603 54.37445453330815, -2.791962731113045 54.37162850969763, -2.787879335708203 54.369285832978825, -2.794329818490632 54.366683836457874, -2.797662322195644 54.36407251952841, -2.794377938656461 54.36221654877832, -2.793116992411517 54.360135999471474, -2.790882895258611 54.35879344483854, -2.786519646663694 54.357650677347344, -2.783676964237384 54.354052351275904, -2.780063232224682 54.35214420247853, -2.774323249542295 54.346985954666636, -2.773747266256271 54.344183782930244, -2.771252776737384 54.34324176558437, -2.764232296132732 54.338922824408584, -2.765457096316585 54.33717222075709, -2.76216232721445 54.334559520513274, -2.765478013077006 54.332599648395146, -2.767758829323011 54.33244626788954, -2.765715554915225 54.32932774047984, -2.763275734562346 54.32746780816302, -2.765998680942777 54.32636405843995, -2.765019736975808 54.325373101916334, -2.765719664673608 54.32256348682133, -2.767687874953948 54.32193337226325, -2.766079289102685 54.320447070958316, -2.767127215244922 54.319498843303904, -2.767240060260804 54.31547474051747, -2.771612647723282 54.31015398000102, -2.772135341571318 54.307559321804604, -2.771633435024234 54.302724942065964, -2.770498677437064 54.300478616639346, -2.766857353906564 54.30031225586524, -2.769936137838694 54.297433659800824, -2.769300460852405 54.29465864714273, -2.767520516811573 54.29367365736798, -2.763561226954331 54.2930394896709, -2.766374883683422 54.29058408404938, -2.767793570748589 54.28807290333838, -2.767892455290225 54.283394321162646, -2.767280976504831 54.27960411512401, -2.769341794374323 54.27882591837679, -2.769526319543171 54.27735880433644, -2.771882798502493 54.27498747626512, -2.778997894099092 54.273338267747654, -2.784685637887149 54.27300575619863, -2.788658604604885 54.27589328986443, -2.790381915530259 54.277905856582976, -2.791675151393919 54.27435715227138, -2.790871473566984 54.273451468604854, -2.791370303657085 54.26979844278542, -2.793528130691986 54.26469411268222, -2.805158484025283 54.26534969057743, -2.812206796658969 54.264075577230095, -2.814334613192728 54.2623607493848, -2.812629066199752 54.260180164184916, -2.8138254813959 54.25654029628674, -2.809146106798319 54.25393582229755, -2.808157218904833 54.25084528685576, -2.811913007308209 54.25038511301166, -2.814511025106547 54.24897001203577, -2.814285464775582 54.24508345690539, -2.813037807740806 54.24355698878577, -2.808290427399653 54.242679806367406, -2.800999668306408 54.245587815387175, -2.797613774199526 54.24159385678927, -2.799314555292895 54.23788590491438, -2.803055573936064 54.234354197220235, -2.803945630238402 54.2328751475587, -2.80410768047164 54.22783824841204, -2.804799188126557 54.22608007987342, -2.809253105978372 54.22198562358722, -2.811882049985483 54.2208151377938, -2.815463971333486 54.22052482240625, -2.822015404428916 54.221186228878715, -2.826961478493646 54.220028926708764, -2.830163814622983 54.21980650182286, -2.832064770625868 54.21885053306046, -2.835130700053604 54.21574657250891, -2.839746770475809 54.20877743179481, -2.840432342546484 54.20683890483853, -2.838821032783926 54.20258284274778, -2.843567175332641 54.19932677368119, -2.845700210924107 54.1983373534714, -2.851127245341047 54.196902374443596, -2.854313128091462 54.195209091045605, -2.85760398965181 54.19429507412667, -2.862711156825824 54.1937816777835, -2.865784721530607 54.19201853534931, -2.869630185939233 54.19145844027805)))
SPARQL API: The Basics

The most flexible way to access the data is by using SPARQL, a query language, analagous to SQL for relational databases, for retrieving and manipulating data from graph databases like ours. We support SPARQL 1.1 query syntax. Many online tutorials are available.

To submit a SPARQL query from your code, you issue an HTTP GET or POST to our endpoint:http://opendatacommunities.org/sparql, with the query itself as a url-encoded parameter called query.

For example, to run the following simple SPARQL query and get the results as JSON:

SELECT * WHERE {?s ?p ?o} LIMIT 10

Option 1: POST (recommended)

Issue a POST to the endpoint, with the query in the body, and an Accept header of sparql-results+json:

POST http://opendatacommunities.org/sparql HTTP/1.1
Host: opendatacommunities.org
Accept: application/sparql-results+json
Content-Type: application/x-www-form-urlencoded

query=SELECT+%2A+WHERE+%7B%3Fs+%3Fp+%3Fo%7D+LIMIT+10

Option 2: GET

Issue a GET to the following URL (note the .json extension - see the formats section for more detail on this):

GET http://opendatacommunities.org/sparql.json?query=SELECT+%2A+WHERE+%7B%3Fs+%3Fp+%3Fo%7D+LIMIT+10

Scroll down to the end of this page for examples of both of these methods in a few different languages.

Results formats

As with other aspects of our API, to get the data in different formats, you can use either (a) a format extension or (b) an HTTP Accept header. Available result formats depend on the type of SPARQL query. There are four main forms:

SELECT queries return tabular results, and the formats available reflect this:

Format Extensions Accept Headers
XML .xml application/xml,
application/sparql-results+xml
JSON .json application/json,
application/sparql-results+json
Text .txt, .text text/plain
CSV .csv text/csv

CONSTRUCT and DESCRIBE queries return graph data, so the results are available in the same formats as our resource APIs:

Format Extensions Accept Headers
RDF/XML .rdf application/rdf+xml
N-triples .nt, .txt, .text application/n-triples,
text/plain
Turtle .ttl text/turtle
JSON-LD .json application/ld+json,
application/json

ASK queries return a boolean result:

Format Extensions Accept Headers
XML .xml application/xml,
application/sparql-results+xml
JSON .json application/json,
application/sparql-results+json
Text .txt, .text text/plain
Results pagination

We accept page and per_page parameters for paginating the results of SELECT queries (we automatically modify your query to apply LIMIT and OFFSET clauses). For other query types (i.e. DESCRIBE, CONSTRUCT, ASK), pagination like this doesn’t make so much sense, so these parameters are ignored.

For requests made through the website (i.e. HTML format), the page size is defaulted to 20. For requests to our sparql endpoint for data formats (i.e. non-HTML), there will be no defaults for these parameters (i.e. results are unlimited. For performance reasons we generally advise LIMITing your query if possible).

Parameter Substitution

You can parameterise your SPARQL by including %{tokens} in your queries, and providing values for the tokens in the request parameters.

Note that the following tokens are reserved and cannot be used as parameters for substitution:

  • controller
  • action
  • page
  • per_page
  • id
  • commit
  • utf8
  • query
Cross Origin Resource Sharing

Our servers are configured to allow access from all domains. This means that if you’re writing JavaScript to request data from our server in to a web page hosted on another domain, your browser should check this header and allow it.

If you need to support very old browsers, you can additionally pass a callback parameter and the results will be wrapped in that function. For example:

http://opendatacommunities.org/sparql.json?callback=myCallbackFunction&query=SELECT+%2A+WHERE+%7B%3Fs+%3Fp+%3Fo%7D+LIMIT+10

This help topic on the jQuery website has more details.

Examples

Using cURL

Here’s a couple of examples running a query using the widely available cURL command line program.

Request the results as XML, using a POST:

curl -X POST -H "Accept: application/sparql-results+xml" -d "query=SELECT%20*%20WHERE%20%7B%3Fs%20%3Fp%20%3Fo%7D%20LIMIT%2010" http://opendatacommunities.org/sparql

Request the results as JSON, using a GET:

curl -X GET -H "Accept: application/sparql-results+json" http://opendatacommunities.org/sparql?query=SELECT%20*%20WHERE%20%7B%3Fs%20%3Fp%20%3Fo%7D%20LIMIT%2010

Using JavaScript

This example HTML page uses jQuery to issue a POST to our SPARQL endpoint, requesting the results as JSON.

<!DOCTYPE html>
<html>
<head>
	<script src='http://code.jquery.com/jquery-1.9.1.min.js'></script>
</head>
<body>
<script type='text/javascript'>

	var query = 'SELECT * WHERE {?s ?p ?o} LIMIT 10';
	var url = 'http://opendatacommunities.org/sparql.json';
	$.ajax({
		method: 'POST',
		dataType: 'json',
		url: url,
		data: {query: query},
		success: function(data) {
			alert('success: ' + data.results.bindings.length + ' results');
			console.log(data);
		}
	});
</script>
</body>
</html>