Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Latest commit

 

History

History
52 lines (27 loc) · 2.99 KB

Getting-Started.md

File metadata and controls

52 lines (27 loc) · 2.99 KB

Getting Started with dotNetRDF

This page serves as a quick reference on how to add dotNetRDF to your projects and what features are found in which libraries. If you've done this already you can jump ahead to the Library Overview which will introduce you to the Core APIs in dotNetRDF.

Add dotNetRDF to your Project/Solution

Firstly you need to add dotNetRDF to your project/solution, you can do this using NuGet or manually yourself.

Using NuGet

Using NuGet is our preferred and recommended way to manage dotNetRDF since it will ensure you install the correct version and all required dependencies. Typically you add a reference to the dotNetRDF package(s) you want within your project file and the build process will retrieve and install those pacakges for you. On older platforms you may need to use the NuGet command-line tool to retrieve the packages.

The Libraries

The standard distribution of dotNetRDF comes with a variety of different libraries. This section details what features can be found in each library.

Core

The Core library provides all the core RDF and SPARQL infrastructure of dotNetRDF. It includes all the classes for reading and writing RDF, manipulating it in memory and a SPARQL 1.1 implementation. It also includes support for a variety of popular 3rd party triple stores as detailed in Triple Store Integration.

The Core library depends on AngleSharp, HtmlAgilityPack, Json.Net and VDS.Common.

This core library is installed using the dotNetRDF NuGet package.

Data.DataTables

The Data.DataTables library provides an IRdfHandler interface that turns triples (e.g. from a parsed file) into rows in a DataTable.

This library is installed using the dotNetRDF.Data.DataTables NuGet package.

Data.Virtuoso

The Data.Virtuoso library provides for integration with OpenLink Virtuoso a popular open source/commercial triple store. It is separate from the Core library unlike some other connectors because it requires additional dependencies in the form of the Virtuoso ADO.Net provider.

This library is installed using the dotNetRDF.Data.Virtuoso NuGet package.

Query.FullText

The Query.FullText library provides full text querying extensions to SPARQL based on top of Lucene.Net. See Full Text Querying with SPARQL for more details on this functionality.

This library is installed using the dotNetRDF.Query.FullText NuGet package.


Tutorial Navigation

The next topic in the tutorial is the Library Overview

Users interested in learning more may wish to jump straight to one of the following topics: