if (mapContext.instanceOf(geosparql_cookbook_schema.RegionalOrganisation)) { graph.remove(focusNode, geosparql_cookbook_schema.inRegionalOrganisation, mapContext) } if (mapContext.instanceOf(geosparql_cookbook_schema.IntergovernmentalOrganisation)) { graph.remove(focusNode, geosparql_cookbook_schema.inIntergovernmentalOrganisation, mapContext) }
order
Lija
Prefix declaration
Sweden
Blank node
JavaScript constraint
source constraint component
Kenya
Xagħra
Santa Venera
Node constraint component
Brazilian–Argentine Agency for Accounting and Control of Nuclear Materials
South Asian Association for Regional Cooperation
Kingdom of the Netherlands
JavaScript library URL
Hungary
Anglo-Irish Intergovernmental Conference
Ireland
detail
stem
Organisation internationale de la Francophonie
sum
Żebbuġ Gozo
Intergovernmental Platform on Biodiversity and Ecosystem Services
Alpine pearls
Disjoint constraint component
Equals constraint component
Union for the Mediterranean
League of Nations
South Korea
European Space Agency
European Cooperation in Science and Technology
Mano River Union
JavaScript library
Spain
Gudja
Kuwait
Interpol
Bangladesh
Xewkija
UNESCO
International Civil Defence Organisation
Cyprus
Yemen
United Nations Truce Supervision Organization
SPARQL SELECT executable
Validator
result annotation
Target
Kiribati
Haiti
Ukraine
Philippines
namespace
Mozambique
Papua New Guinea
Visegrád Group
expression
United Arab Emirates
International Council for the Exploration of the Sea
Inter-Agency Space Debris Coordination Committee
Sudan
Trinidad and Tobago
Liechtenstein
source shape
Central European Initiative
Kirkop
Paola
Żurrieq
Community of Latin American and Caribbean States
Alliance of Small Island States
North Macedonia
International Network for Bamboo and Rattan
Msida
min inclusive
Mellieħa
annotation property
Singapore
Guinea-Bissau
Mexico
Arctic Council
CIRDAP
qualified max count
Interparliamentary Union
Southern Baltic Sea Parliamentary Forum
International Cospas-Sarsat Programme
Algeria
entailment
target node
constraint (in SPARQL)
And constraint component
Min-length constraint component
Mali
European Union Agency for the Operational Management of Large-Scale IT Systems in the Area of Freedom, Security and Justice
rule
Zangger Committee
Solomon Islands
Bolivia
Zimbabwe
Oman
Nigeria
Arab Institute for Training and Research in Statistics
Germany
Bhutan
Għaxaq
United Nations Angola Verification Mission III
International Hydrographic Organization
Pacific Community
Qualified-max-count constraint component
EUMETNET
Fiji
Serbia
Santa Luċija
Mechanism for International Criminal Tribunals
World Confederation of Labour
Joint Institute for Nuclear Research
Blank node or literal
Mauritius
Nuclear Energy Agency
Mqabba
European Atomic Energy Community
Council of the Baltic Sea States
Israel
Constraint component
Digital 5
World Organisation for Animal Health
Organization for Security and Co-operation in Europe
African Parliamentary Union
SPARQL constraint
European Schools
Mercosur
Qala
Saint Kitts and Nevis
Africa
SPARQL UPDATE executable
property
Mdina
Islamic Development Bank
Inter-American Tropical Tuna Commission
Paraguay
Venezuela
max length
Azerbaijan
Validation report
Tarxien
IRI or literal
South Africa
Republic of the Congo
ASEAN Centre for Biodiversity
Peru
values
Brazil
target subjects of
Has-value constraint component
intersection
Kalkara
Seychelles
North Korea
Centre for Humanitarian Data
Argentina
Sahel G5
Senegal
language in
unique languages
Tuvalu
value
Ghana
Iberoamerican Social Security Organization
pattern
World Customs Organization
optional
SPARQL target
Syria
United Nations Protection Force
United Nations Mission of Observers in Tajikistan
United Nations Interim Force in Lebanon
Southeast Asian Ministers of Education Organization
United States of America
Tunisian National Dialogue Quartet
Lake Victoria Fisheries Organization
Pietà
Union of South American Nations
Palau
Southeast Asian Fisheries Development Center
Bosnia and Herzegovina
rural Council of Deputies
Central European Defence Cooperation
Saudi Arabia
European Economic Area
FAO representation in Kenya
class
EU–LAC Foundation
Mekong–Ganga Cooperation
Closed constraint component
Kerċem
Conseil de l'Entente
Southern African Customs Union
Luxembourg
Kyrgyzstan
Cameroon
focus node
Belize
Union of Kansai Governments
Pakistan
International Seabed Authority
Liberia
Result annotation
Gambia River Development Organization
SPARQL CONSTRUCT executable
International Joint Commission
Russia
Permanent Court of Arbitration
Rabat
Organisation for Economic Cooperation and Development
Tajikistan
Jordan
Eswatini
United Nations Assistance Mission for Rwanda
Comoros
result
Nordic Innovation
African Union
Pacific Alliance
Gabon
Angola
Sannat
Bahrain
Saint Lucia
The ITER Organization
Oceania Tennis Federation
United Nations Statistics Division
Ta' Xbiex
zero or one path
Qormi
exactly one
Vietnam
Node shape
ignored properties
Libya
Commonwealth War Graves Commission
JavaScript rule
Romania
Intergovernmental Authority on Development
label template
JavaScript function
max count
Chad
Madagascar
Togo
Southeast Asia Treaty Organization
Arab Maghreb Union
Cape Verde
Melanesian Spearhead Group
Has value with class constraint component
Unique-languages constraint component
United Nations Observer Mission in Georgia
Marsaxlokk
JavaScript-based constraint
Cuba
Floriana
SPARQL target type
Reification (Statements about Statements)
Attard
Victoria
count
African Regional Intellectual Property Organization
International Energy Agency
Uzbekistan
Moldova
target
Nordic Patent Institute
JavaScript executable
update
zero or more path
description
European Coal and Steel Community
Arab League
Cospicua
Intelsat
desc
ASEAN
Denmark
Warning
International Center for Promotion of Enterprises
JavaScript constraint component
United Nations Military Observer Group in India and Pakistan
United Nations Office for Outer Space Affairs
message
Macierz Ziemi Cieszynskiej
Property shape
St. Julian's
Visegrad Patent Institute
West African Power Pool
Irish Republic
Parameterizable
qualified value shapes disjoint
Senegal River Basin Development Authority
European Free Trade Association
Tonga
Qualified-min-count constraint component
SPARQL SELECT validator
Intergovernmental Organisation for International Carriage by Rail
EU Med Group
Replace with default value suggestion generator
North Atlantic Cooperation Council
Għasri
Blank node or IRI
Switzerland
European Payments Union
subject
Belarus
United Nations Statistical Commission
Lithuania
African Virtual University
Australia
then
Niger Basin Authority
Honduras
Weimar Triangle
Central American Integration System
group concat
International Grains Council
Qrendi
Comité d’Etat Major opérationnel conjoint
Literal
limit
Armenia
United Nations Confidence Restoration Operation in Croatia
Għargħur
Council of Europe
Cooperation Council for the Arab States of the Gulf
Austria
Maldives
Żebbuġ Malta
Thailand
offset
Organisation of African, Caribbean and Pacific States
Organization of Arab Petroleum Exporting Countries
GCC Patent Office
Datatype constraint component
deactivated
Nauru
European Space Policy Institute
nodes
Euratom Supply Agency
European Space Astronomy Centre
annotation variable name
United Nations Relief and Works Agency for Palestine Refugees in the Near East
Guatemala
Nordic Council of Ministers
property validator
less than or equals
Sahara and Sahel Observatory
Danish Realm
Stem constraint component
Nepal
Ivory Coast
Somalia
South America Tennis Confederation
NATO
qualified min count
Meteoalarm
Procurement G6
datatype
Lebanon
Violation
Dominican Republic
EUMETSAT
International Organization for Migration
European Initiative for Sustainable Development in Agriculture
Dutch Language Union
Birkirkara
Contact Point for Roma and Sinti Issues
Central American & Caribbean Tennis Confederation
Sierra Leone
Barents Euro-Arctic Council
Confederation of African Tennis
condition
Japan
France
suggested shapes graph
Georgia
Class constraint component
Nile Basin Initiative
Rwanda
Żejtun
Cambodia
shapes graph
Joint FAO/WHO Expert Committee on Food Additives
Organisation for the Prohibition of Chemical Weapons
Pattern constraint component
path
Guyana
El Salvador
Pacific Islands Forum
exists
Naxxar
International Organization of Supreme Audit Institutions
European Youth Information and Counselling Agency
Canada
International Authority for the Ruhr
Dingli
Burundi
JavaScript target type
Node-kind constraint component
Ecuador
Expression constraint component
inverse path
Sliema
Min-exclusive constraint component
European and Mediterranean Plant Protection Organization
Colombo Plan
Costa Rica
not
United Nations Conference on Trade and Development
Heads of Medicines Agencies
Italy
Chile
Caribbean Community Secretariat
ask
Nuclear Suppliers Group
Shape
result severity
Portugal
Salzburg Forum
South Sudan
St. Paul's Bay
Slovakia
Fontana
Turkmenistan
Poland
Lake Chad Basin Commission
Nadur
Max-count constraint component
SPARQL CONSTRUCT rule
severity
Estonia
Brunei
Bulgaria
Mtarfa
Eritrea
shapes graph well-formed
Birgu
Property group
Benin
Kazakhstan
United Nations Iraq–Kuwait Observation Mission
Tunisia
International Commission for the Conservation of Atlantic Tunas
Or constraint component
Network on Education Quality Monitoring in the Asia Pacific
Missile Technology Control Regime
Marsaskala
Burkina Faso
Bay of Bengal Initiative for Multi-Sectoral Technical and Economic Cooperation
North Atlantic Marine Mammal Commission
Vanuatu
International Renewable Energy Agency
alternative path
Finabel
Ethiopia
Rule
Southeast Europe Transport Community
European Space Operations Centre
Botswana
Malta
max exclusive
Centre régional africain d'administration du travail
target objects of
São Tomé and Príncipe
Southern States Energy Board
Monaco
Gżira
Node kind
Indonesia
Barbados
distinct
source constraint
object
Abstract result
Organisation of African Unity
Xgħajra
Marshall Islands
Federated States of Micronesia
Namibia
Max-exclusive constraint component
Unique value for class constraint component
Not constraint component
else
Finland
Function
prefixes
Panama
Comprehensive Nuclear-Test-Ban Treaty Organization
African Union Mission to Somalia
result message
University of the South Pacific
select
East African Community
Organisation of Eastern Caribbean States
Saint Lawrence
Organization of the Petroleum Exporting Countries
Eurasian Patent Organization
Andean Community
Slovenia
Andorra
Iran
Mauritania
Safi
Association of South-East Asia
Colombia
Swieqi
ISSN International Centre
Iklin
result path
conforms
Samoa
min count
D-8 Organization for Economic Cooperation
East Timor
ASECNA
ASEAN Regional Forum
Nicaragua
Morocco
SPARQL executable
Latvia
Convenio Andrés Bello
Greece
Valletta
Set to default value suggestion generator
Validation result
prefix
SPARQL ASK validator
Central African Republic
Niger
Għajnsielem
SPARQL constraint component
Khmer Rouge Tribunal
Asia Cooperation Dialogue
Association of Caribbean States
Multilateral Investment Guarantee Agency
Afghanistan
European Centre for Medium-Range Weather Forecasts
Organisation of Islamic Cooperation
Suriname
Group of Ten
South Pacific Regional Trade and Economic Cooperation Agreement
United Nations
parameter
World Food Programme
Parameter constraint component
equals
Mġarr
Pan American Union
Ħamrun
West African Development Bank
declare
Equatorial Guinea
United Nations Observer Mission in Liberia
Organization of Ibero-American States
max
annotation value
Egypt
African Groundnut Council
Laos
Djibouti
Malaysia
Exactly one constraint component
Min-inclusive constraint component
Severity
orderBy
Grenada
Less-than-or-equals constraint component
union
San Ġwann
construct
People's Republic of China
qualified value shape
Info
Use declared datatype constraint component
filter shape
Property constraint component
min length
min
Baltic Sea Parliamentary Conference
Zambia
Lesotho
GUAM Organization for Democracy and Economic Development
predicate
San Marino
Max-length constraint component
SPARQL ASK executable
Council of Asian Liberals and Democrats
European Insurance and Occupational Pensions Authority
Jamaica
International Sugar Organization
Indian Ocean Tuna Commission
Iceland
Partnership for Peace
Economic Cooperation Organization
International Pacific Halibut Commission
European Union
Paneuropean Union
Birżebbuġa
Saint Vincent and the Grenadines
In constraint component
group
Luqa
Iraq
Mongolia
max inclusive
Joint FAO/WHO Meeting on Pesticide Residues
Qatar
Common Fund for Commodities
JavaScript target
Uruguay
closed
Norway
Uganda
Marsa
min exclusive
United Nations High Commissioner for Refugees
Financial Action Task Force on Money Laundering
Economic Community of West African States
Commonwealth of Nations
Language-in constraint component
Dominica
Gulf of Guinea Commission
The Bahamas
return type
Franco-German Youth Office
Min-count constraint component
West African Health Organisation
Għarb
this
separator
disjoint
validator
Balzan
West African Economic and Monetary Union
Target type
less than
Siġġiewi
node kind
Antigua and Barbuda
Democratic Republic of the Congo
Albania
The Gambia
Żabbar
Pembroke
flags
Indian Ocean Commission
United Nations Peacekeeping Force in Cyprus
has value
minus
Central African Economic and Monetary Community
Tanzania
United Nations Disengagement Observer Force
target class
UNIDROIT
SPARQL function
Myanmar
and
Max-inclusive constraint component
Munxar
British-Irish Intergovernmental Conference
French Fifth Republic
Croatia
Fgura
Commission on Genetic Resources for Food and Agriculture
G20
Vatican City
Anglo-Irish Intergovernmental Council
JavaScript validator
Parameter
United Kingdom
node
India
W3C Shapes Constraint Language (SHACL) Vocabulary
Senglea
Malawi
Sri Lanka
Less-than constraint component
Turkey
IRI
Guinea
Mosta
name
Czech Republic
Agency for International Trade Information and Cooperation
default value
Montenegro
JavaScript function name
Asian Tennis Federation
node validator
New Zealand
Rio Group
one or more path
Belgium
IGAD Peace Support Mission in Somalia
Triple rule
United Nations Preventive Deployment Force
United Nations Mission for the Referendum in Western Sahara
Allows the definition of geometric shapes
/** * Removes a country from an organisation * @param {resource} regionalOrgContext - the regional organisation set as mapContext */ removeFromOrganisation(regionalOrgContext){ let updatedOrgs = this.inRegionalOrganisation.filter(org => !org.equals(regionalOrgContext)) this.inRegionalOrganisation = updatedOrgs }
Schema and Shapes for the GeoSPARQL cookbook example
Describes physical buildings and monuments
SELECT DISTINCT $this $value WHERE { $this $PATH $value . $this geosparql:hasGeometry ?aGeometry . ?aGeometry a geosparql:Geometry ; OPTIONAL { ?aGeometry geosparql:asWKT ?wktPolygon } . OPTIONAL { ?aGeometry geosparql:asGML ?gmlPolygon } . BIND(COALESCE(?wktPolygon, ?gmlPolygon) as ?polygon) . $value a ?type ; geo:lat ?lat; geo:long ?lon BIND(spatialf:convertLatLon(?lat, ?lon) as ?valueWKT) . FILTER(!geof:sfWithin(?valueWKT, ?polygon)) . }