Tarql is a command-line tool for converting CSV files to RDF using SPARQL 1.1 syntax. In short, a CSV file’s contents are input into a SPARQL query as a table of bindings. This allows manipulation of CSV data using the full power of SPARQL 1.1 syntax, and in particular the generation of RDF using CONSTRUCT queries. Includes design patterns and examples. Discusses how to deal with variations in header rows, delimiters, quotes and character encoding encountered in CSV/TSV files.
URL: http://tarql.github.io/
Keywords: CSV (Comma Separated Values), SPARQL CONSTRUCT, SPARQL OFFSET, Apache Jena, Java (programming language)
Author: Cyganiak, Richard
Date created: 2017-06-22 04:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P45M
- Knows methods for generating RDF data from tabular data in formats such as Comma-Separated Values (CSV).
- Creating and transforming Linked Data
- Creating RDF data
- Knows methods for generating RDF data from tabular data in formats such as Comma-Separated Values (CSV).
- Knows methods for generating RDF data from tabular data in formats such as Comma-Separated Values (CSV).
- Creating RDF data
- Creating and transforming Linked Data
- Uses a CONSTRUCT query to preview changes before executing an INSERT/DELETE operation.
- Interacting with RDF data
- Manipulating RDF data
- Knows the SPARQL 1.1 Update language for updating, creating, and removing RDF graphs in a Graph Store
- Uses a CONSTRUCT query to preview changes before executing an INSERT/DELETE operation.
- Uses a CONSTRUCT query to preview changes before executing an INSERT/DELETE operation.
- Knows the SPARQL 1.1 Update language for updating, creating, and removing RDF graphs in a Graph Store
- Manipulating RDF data
- Interacting with RDF data
- Uses CONSTRUCT to extract and transform results into a single RDF graph specified by a graph template.
- Interacting with RDF data
- Querying RDF data
- Demonstrates a working knowledge of the forms and uses of SPARQL result sets (SELECT, CONSTRUCT, DESCRIBE, and ASK).
- Uses CONSTRUCT to extract and transform results into a single RDF graph specified by a graph template.
- Uses CONSTRUCT to extract and transform results into a single RDF graph specified by a graph template.
- Demonstrates a working knowledge of the forms and uses of SPARQL result sets (SELECT, CONSTRUCT, DESCRIBE, and ASK).
- Querying RDF data
- Interacting with RDF data
- Uses OFFSET to control where the solutions processed start in the overall sequence of solutions.
- Interacting with RDF data
- Querying RDF data
- Understands the major SPARQL result set modifiers, e.g., to limit or sort results, or to return distinct results only once.
- Uses OFFSET to control where the solutions processed start in the overall sequence of solutions.
- Uses OFFSET to control where the solutions processed start in the overall sequence of solutions.
- Understands the major SPARQL result set modifiers, e.g., to limit or sort results, or to return distinct results only once.
- Querying RDF data
- Interacting with RDF data