Uses FILTER to formulates queries that eliminate solutions from a result set. – 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 Jena Full Text Search https://ld4pe.dublincore.org/learning_resource/jena-full-text-search/ Sun, 13 Aug 2017 08:18:11 +0000 https://ld4pe.dublincore.org/learning_resource/jena-full-text-search/ This documentation explains how to configure and use the Full Text extension to Apache Jena's ARQ (the module is included in Fuseki). The extension combines SPARQL and full-text search via Lucene or ElasticSearch (built on Lucene). It gives applications the ability to perform indexed full-text searches within SPARQL queries. Although SPARQL allows the use of regular expressions in FILTER, this is a test on a value retrieved earlier in the query and its use is not indexed. In other words, if you're searching for occurrences of a specific term in the rdfs:label of a bunch of products, then the search will need to examine all selected rdfs:label statements and apply the regular expression to each label in turn. If there are many such statements and many such uses of regex, then it may be appropriate to consider using this extension to take advantage of the performance potential of full text indexing.

URL: http://jena.apache.org/documentation/query/text-query.html
Keywords: SPARQL, REGEX, FILTER, Apache Jena
Publisher: Apache Jena
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P2H
Educational use: professionalDevelopment

]]>
Equality and Inequality in SPARQL https://ld4pe.dublincore.org/learning_resource/equality-and-inequality-in-sparql/ Sun, 13 Aug 2017 08:18:11 +0000 https://ld4pe.dublincore.org/learning_resource/equality-and-inequality-in-sparql/ This brief blog post discusses issues surrounding expression semantics in SPARQL. Practices that people are used to from other languages (like the use of "=" and "!="), can often be confusing to new – and even not so new- SPARQL developers. The author suggests that an awareness of type errors will allow the user to understand what is occurring. Example queries show how type errors are treated when using FILTER. An alternative method involving project expressions or BIND is proposed.

URL: http://www.cray.com/blog/equality-inequality-sparql/
Keywords: SPARQL, BIND, FILTER, Type errors, Project expressions
Author: Vesse, Rob
Publisher: Cray
Date created: 2013-04-23 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

]]>
SPARQL and Linked Data Homework Exercises https://ld4pe.dublincore.org/learning_resource/sparql-and-linked-data-homework-exercises/ Sat, 21 Jan 2017 06:46:40 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-and-linked-data-homework-exercises/ This document contains several "written" and "electronic" homework questions originally from the course "Semantic Web Topics" at LeHigh University. They include: Write a series of SPARQL queries using a provided schema; Write a SPARQL construct query that generates all triples inferred by a specific RDFS entailment rule; Write a SPARQL construct query to generate
owl:sameAs statements between domains which share specified property; Describe the pros and cons of generating links in the manner specified in the previous question; Using Jena, create a class that can read in all the files in a specified directory and create a Web page that lists a series of publications organized by topic – reading all of the files into a single model and only using SPARQL to retrieve information from the model.

URL: http://www.cse.lehigh.edu/~heflin/courses/sw-2013/hw2.pdf
Keywords: SPARQL, RDF Schema, Entailment regime, Apache Jena, Java
Author: Heflin, Jeff
Date created: 2013-02-01 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P4H
Educational use: assessment
Educational audience: teacher-educationSpecialist
Interactivity type: active

]]>
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

]]>
SPARQL: Using DESCRIBE and CONSTRUCT Tutorial and Quiz https://ld4pe.dublincore.org/learning_resource/sparql-using-describe-and-construct-tutorial-and-quiz/ Thu, 24 Nov 2016 05:51:17 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-using-describe-and-construct-tutorial-and-quiz/ This slide tutorial focuses on using DESCRIBE and CONSTRUCT in SPARQL queries, but also includes other basic operators. 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-describe.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: P20M
Educational use: instruction
Educational audience: professional
Interactivity type: expositive

]]>
SPARQL: Using ASK Tutorial and Quiz https://ld4pe.dublincore.org/learning_resource/sparql-using-ask-tutorial-and-quiz/ Thu, 24 Nov 2016 05:51:17 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-using-ask-tutorial-and-quiz/ This slide tutorial focuses on using ASK in SPARQL queries, but also includes other basic operators. 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-ask.html
Keywords: SPARQL, DBpedia
Author: Kim, Seonghun
Publisher: Sungkyunkwan University (SKKU)
Date created: 2016-11-22 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Educational use: instruction
Educational audience: teacher-educationSpecialist
Interactivity type: mixed

]]>
SPARQL: Using SELECT Tutorial and Quiz https://ld4pe.dublincore.org/learning_resource/sparql-using-select-tutorial-and-quiz/ Thu, 24 Nov 2016 05:51:17 +0000 https://ld4pe.dublincore.org/learning_resource/sparql-using-select-tutorial-and-quiz/ This slide tutorial focuses on using SELECT in SPARQL queries, but also includes other basic operators. 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-select.html
Keywords: SPARQL, DBpedia
Author: Kim, Seonghun
Publisher: Sungkyunkwan University (SKKU)
Date created: 2016-11-22 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Educational use: instruction
Educational audience: teacher-educationSpecialist
Interactivity type: mixed

]]>
DBPedia SPARQL Endpoint Exercises https://ld4pe.dublincore.org/learning_resource/dbpedia-sparql-endpoint-exercises/ Thu, 24 Nov 2016 05:51:17 +0000 https://ld4pe.dublincore.org/learning_resource/dbpedia-sparql-endpoint-exercises/ This slide tutorial teaches the user how to form SPARQL queries to answer various questions of interest and retrieve results from DBpedia's SPARQL endpoint. In each example, a prompt is given and then followed by the completed query and results table. Also discussed is how to find an appropriate vocabulary using the Linked Open Vocabularies (LOV).

URL: http://skkudatalab.weebly.com/dbpedia.html
Keywords: SPARQL, DBpedia, Linked Open Vocabularies (LOV)
Author: Kim, Seonghun
Publisher: Sungkyunkwan University (SKKU)
Date created: 2016-11-22 05:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Educational use: instruction
Educational audience: teacher-educationSpecialist
Interactivity type: mixed

]]>
Using DBPedia https://ld4pe.dublincore.org/learning_resource/using-dbpedia/ https://ld4pe.dublincore.org/learning_resource/using-dbpedia/#respond Thu, 13 Aug 2015 13:45:22 +0000 https://ld4pe.dublincore.org/learning_resource/using-dbpedia/ A brief video on DBPedia and SPARQL. Demonstrates how to query DBPedia for useful/interesting questions. Shows not just how to construct SPARQL queries, but also the critical process of determining the appropriate classes and properties of a resource which one must first know before attempting to construct a query.

URL: https://www.youtube.com/watch?v=BmHKb0kLGtA
Keywords: Properties, Classes, Ontology, DBPedia, SPARQL
Author: JohnM
Date created: 2014-05-11 07:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P10M

]]>
https://ld4pe.dublincore.org/learning_resource/using-dbpedia/feed/ 0
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