Uses UNION to formulate queries with multiple possible graph patterns. – Linked Data for Professional Education https://ld4pe.dublincore.org Learning resources tagged by competency Thu, 19 Nov 2020 14:45:03 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.16 Ordnance Survey Linked Data: Combining Postcode and Spatial Queries https://ld4pe.dublincore.org/learning_resource/ordnance-survey-linked-data-combining-postcode-and-spatial-queries/ Mon, 16 Jan 2017 06:46:07 +0000 https://ld4pe.dublincore.org/learning_resource/ordnance-survey-linked-data-combining-postcode-and-spatial-queries/ Building on previous blog posts, the author shows how to query and combine data from two different datasets. Although the datasets were published by the same organization, they are in two different file formats (CSV and shape). The two datasets are, however, implicitly linked via a key. By converting both datasets into a common data language (RDF), those implicit links can be made explicit, allowing the user to easily query both datasets together.

URL: https://johngoodwin225.wordpress.com/2013/08/05/ordnance-survey-linked-data-combining-postcode-and-spatial-queries/
Keywords: SPARQL, Linked Open Data (LOD), Government Open Data
Author: Goodwin, John
Date created: 2013-08-05 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Educational use: instruction

]]>
Ordnance Survey Linked Data: A Simple Postcode Query https://ld4pe.dublincore.org/learning_resource/ordnance-survey-linked-data-a-simple-postcode-query/ Mon, 16 Jan 2017 06:46:07 +0000 https://ld4pe.dublincore.org/learning_resource/ordnance-survey-linked-data-a-simple-postcode-query/ This blog post shares give some simple examples of what can be done with the Code-Point(R) Open dataset, available as Linked Open Data (LOD). This dataset has a URI for every Postcode Unit, Postcode Sector, Postcode District and Postcode Area in England, Scotland and Wales. Includes example SPARQL queries and also serves as a brief exercise in how to find the URIs of particular resources within a dataset and determine which predicates describe important relationships between those resources. These skills are necessary to form SPARQL queries.

URL: https://johngoodwin225.wordpress.com/2013/08/05/ordnance-survey-linked-data-a-simple-postcode-query/
Keywords: Linked Open Data (LOD), SPARQL
Author: Goodwin, John
Date created: 2013-08-05 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
Educational use: professionalDevelopment
Educational audience: student
Interactivity type: expositive

]]>
Ordnance Survey Linked Data: Simple SPARQL Example https://ld4pe.dublincore.org/learning_resource/ordnance-survey-linked-data-simple-sparql-example/ Mon, 16 Jan 2017 06:46:07 +0000 https://ld4pe.dublincore.org/learning_resource/ordnance-survey-linked-data-simple-sparql-example/ This blog post shares how to retrieve several variables of data from the Ordnance Survey dataset, available as Linked Open Data (LOD). Includes SPARQL queries and instructions on how to retrieve the desired output format from the SPARQL endpoint.

URL: https://johngoodwin225.wordpress.com/2013/08/01/ordnance-survey-linked-data-simple-sparql-example/
Keywords: Linked Open Data (LOD), SPARQL
Author: Goodwin, John
Date created: 2013-08-01 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

]]>
SPARQL: Using Operators Tutorial and Quiz https://ld4pe.dublincore.org/learning_resource/sparql-using-operators-tutorial-and-quiz/ Thu, 24 Nov 2016 05:51:17 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-using-operators-tutorial-and-quiz/ This slide tutorial focuses on using various operators in SPARQL queries. Several examples are provided which include the RDF data being queried, the SPARQL query itself, and the result table. This is followed by quiz questions which ask the user to query DBpedia's SPARQL endpoint. The answers to the question (in the form of completed SPARQL queries) are included.

URL: http://skkudatalab.weebly.com/sparql-operators.html
Keywords: DBpedia, SPARQL
Author: Oh, Sam
Publisher: Sungkyunkwan University (SKKU)
Date created: 2016-11-22 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P40M
Educational use: instruction
Educational audience: professional
Interactivity type: expositive

]]>
Example SPARQL queries https://ld4pe.dublincore.org/learning_resource/example-sparql-queries/ Sat, 16 Jan 2016 13:43:29 +0000 https://ld4pe.dublincore.org/learning_resource/example-sparql-queries/ This page, which contains SPARQL tools, tips, sample queries, is just starting out and the authors hope it can become a resource for useful snippets of information shared among members of the community. There is also a "Tools" page in Sourceforge that lists more substantial contributions and extensions to VIVO. This page also contains an example of a JSON result and a JavaScript example of how to run a SPARQL query and get back JSON.

URL: https://wiki.duraspace.org/display/VIVO/Example+SPARQL+queries
Keywords: JavaScript, JSON, VIVO, SPARQL
Author: Conlon, Mike
Publisher: Duraspace
Date created: 2016-08-24 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng

]]>
Updating RDFS ABoxes and TBoxes in SPARQL https://ld4pe.dublincore.org/learning_resource/updating-rdfs-aboxes-and-tboxes-in-sparql/ Tue, 15 Sep 2015 02:33:08 +0000 https://ld4pe.dublincore.org/learning_resource/updating-rdfs-aboxes-and-tboxes-in-sparql/ Updates in RDF stores have recently been standardized in the SPARQL 1.1 Update specification. However, computing answers entailed by ontologies in triple stores is usually treated orthogonal to updates. Even SPARQL 1.1 Update language and SPARQL 1.1 Entailment Regimes specifications explicitly exclude a standard behavior about how SPARQL endpoints should treat entailment regimes other than simple entailment in the context of updates. In this paper, the authors take a first step to close this gap by discussing possible semantics along with potential strategies for implementing them.

URL: http://arxiv.org/ftp/arxiv/papers/1403/1403.7248.pdf
Keywords: RDF Schema, Web Ontology Language (OWL), SPARQL, Basic Graph Pattern (BGP), Description Logics, DL-Lite
Author: Polleres, Axel
Publisher: Vienna University of Economics and Business
Date created: 2014-01-01 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P30M
Educational use: instruction
Educational audience: teacher-educationSpecialist
Interactivity type: expositive

]]>
SPARQL Tutorial: Alternatives in a Pattern https://ld4pe.dublincore.org/learning_resource/sparql-tutorial-alternatives-in-a-pattern/ https://ld4pe.dublincore.org/learning_resource/sparql-tutorial-alternatives-in-a-pattern/#respond Thu, 13 Aug 2015 03:26:20 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-tutorial-alternatives-in-a-pattern/ This brief tutorial shows that another way of dealing with the semi-structured nature of RDF data is to query for one of a number of possibilities. This section covers UNION patterns, where one of a number of possibilities is tried.

URL: http://jena.apache.org/tutorials/sparql_union.html
Keywords: SPARQL
Publisher: The Apache Software Foundation
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M
Educational audience: student
Interactivity type: mixed

]]>
https://ld4pe.dublincore.org/learning_resource/sparql-tutorial-alternatives-in-a-pattern/feed/ 0
Simple SPARQL Tutorial: Using the UNION Keyword https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-using-the-union-keyword/ https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-using-the-union-keyword/#respond Thu, 13 Aug 2015 03:26:19 +0000 https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-1429-using-the-union-keyword/ Tutorial showing how to modify a query to combine the results of two separate graph patterns (or conditions) using the UNION keyword. The topic is discussed further in the next video of the series.

URL: https://www.youtube.com/watch?v=sEBfxZbEEtc
Keywords: SPARQL
Author: Sadawi, Noureddin
Date created: 2014-03-03 07:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M

]]>
https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-using-the-union-keyword/feed/ 0
Simple SPARQL Tutorial: More on SPARQL UNION https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-more-on-sparql-union/ https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-more-on-sparql-union/#respond Thu, 13 Aug 2015 03:26:18 +0000 https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-1529-more-on-sparql-union/ Tutorial explaining how the UNION keyword works using RDF principles. Topic is continued from the last video of the series, which showed an example of the UNION keyword in use.

URL: https://www.youtube.com/watch?v=rPp1DOkk4RE
Keywords: SPARQL
Author: Sadawi, Noureddin
Date created: 2014-03-03 07:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P5M

]]>
https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-more-on-sparql-union/feed/ 0
Simple SPARQL Tutorial: Subqueries (Queries Inside Queries) https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-subqueries-queries-inside-queries/ https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-subqueries-queries-inside-queries/#respond Thu, 13 Aug 2015 03:26:18 +0000 https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-2129-subqueries-queries-inside-queries/ Tutorial explaining how the it is possible to nest one query within another query in order to avoid the queries running independently (and thus returning multiple results of the same triples). Shows both the proper syntax for subqueries and explains the rationale (including how they differ from the use of UNION).

URL: https://www.youtube.com/watch?v=olnu2SwQn4U
Keywords: SPARQL
Author: Sadawi, Noureddin
Date created: 2014-03-03 07:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M

]]>
https://ld4pe.dublincore.org/learning_resource/simple-sparql-tutorial-subqueries-queries-inside-queries/feed/ 0