Questions tagged [linked-data]

Linked Data refers to a set of best practices for publishing data on the Web under the Semantic Web standards (RDF, SPARQL, etc.). Please consider asking your question on https://opendata.stackexchange.com, if your question is not closely related to programming or is related to a particular Linked Data dataset.

T. Berners-Lee outlines four principles of linked data in his "Linked Data" note:

  1. Use URIs as names for things
  2. Use HTTP URIs so that people can look up those names
  3. When someone looks up a URI, provide useful information, using the standards (RDF*, SPARQL)
  4. Include links to other URIs, so that they can discover more things
371 questions
0
votes
3 answers

Where can I find the descriptions of data types from 'http://www.w3.org/2001/XMLSchema#'

I am using protege to a create semantic model that uses the data types from the namespace http://www.w3.org/2001/XMLSchema#. When I analyzed the DataType list I saw two types that are more or less the same: http://www.w3.org/2001/XMLSchema#dateTime…
whitefang1993
  • 1,666
  • 3
  • 16
  • 27
0
votes
1 answer

Getting rid of blank node in subject of triple generated using pyLD

I am looking to transform data from a NoSQL database into RDF using pyLD. This is a snippet of the code: doc = { 'http://example.com': 'test', 'http://purl.org/net/something#isGiven':'dose'} context =…
kurious
  • 1,024
  • 10
  • 29
0
votes
1 answer

Link LSOA codes with ordnance survey postcodes and endpoint

I am new to linked data and trying to link ordnance survey postcodes to LSOA data. I am using the OS linked Data Sparql API and the end point is: http://data.ordnancesurvey.co.uk/datasets/os-linked-data/apis/sparql I have a query which returns the…
paulg
  • 49
  • 5
0
votes
0 answers

Obtaining start and end date from a DBPedia CareerStation

I am trying to write a query that will return my all CareerStation objects that are associated with Arsenal FC. Then I want to be able to get the start and end dates of these CareerStations, currently I can only get the start date. It may be that…
Stuart Miller
  • 647
  • 3
  • 8
0
votes
0 answers

Linked Geo Data seems to contain only a few of all housenumbers of OSM. How can it be?

I have a question regarding the retrieval of the house numbers from Open Street Map through the Linked Geo Data sparql endpoint: If I run a query to select all the buildings which have a house number located in the city of, for example, of Esino…
ffa
  • 747
  • 1
  • 6
  • 14
0
votes
1 answer

How to INSERT all triples from an RDFlib graph into another repository without iterating through every triple?

This question is related to What URI to use for a Sesame repository while executing a SPARQL ADD query. I'm trying to INSERT all triples from a Sesame repository into another (Dydra). There are a couple of ways to do it, such as using SERVICE clause…
kurious
  • 1,024
  • 10
  • 29
0
votes
1 answer

What URI to use for a Sesame repository while executing a SPARQL ADD query

I'm trying to copy the data from a Sesame repository to another triplestore. I tried the following query: ADD TO The query gets executed with…
kurious
  • 1,024
  • 10
  • 29
0
votes
1 answer

How to iterate over CONSTRUCT output from rdflib?

This is a follow-up question from How to prevent triples from getting mixed up while uploading to Dydra programmatically? I've created a new graph using SPARQL CONSTRUCT query. I now want to iterate over it so that I can add the statements to an…
kurious
  • 1,024
  • 10
  • 29
0
votes
2 answers

How to prevent triples from getting mixed up while uploading to Dydra programmatically?

I am trying to upload some data to Dydra from a Sesame triplestore I have on my computer. While the download from Sesame works fine, the triples get mixed up (the s-p-o relationships change as the object of one becomes object of another). Can…
kurious
  • 1,024
  • 10
  • 29
0
votes
0 answers

Get administration information

I have checked the ontology of GeoSPARQL and I have found this: an administrative division of a country, undifferentiated as to administrative…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
0
votes
1 answer

OWLAPI 4.1x + Restrictions + example

Hi I'm following the http://owlapi.sourceforge.net/owled2011_tutorial.pdf to understand and attempt to parse an ontology in OWL2/RDF. I'm wondering how to obtain restrictions provided within a class and the code example in the tutorial as well as…
user1111871
  • 137
  • 1
  • 12
0
votes
0 answers

ELDA - Linked Data API, define sorting option

I have the endpoint which lists all games which include {name} parameter and what I want to implement currently is to give user an option of choosing the ordering of the results. games?name={game} Something similar…
mr. Holiday
  • 1,780
  • 2
  • 19
  • 37
0
votes
1 answer

How to parse OWL2 file with OWLAPI - AnnotationProperties

I have an OWL file (OWL2) that I need to parse and ultimately write the data into some file. The file contains AnnotationProperties, DataProperties, ObjectProperties and Classes. My first aim is to try to list out the property information as much…
user1111871
  • 137
  • 1
  • 12
0
votes
1 answer

Database design and Elastic Search

DISCLAIMER: I've never been a DB guru. And I'm only getting started with Elastic Search. :) I'm creating a Dictionary-type Database. In MySQL terms, I'd have a table of "Words", like this: |------------------- | Words |------------------- | id |…
Dr.Kameleon
  • 22,532
  • 20
  • 115
  • 223
0
votes
1 answer

Creating context for JSON-LD

As a simple exercise I wanted to take some test-data from a little app I had which produced a user record in JSON and turn it into JSON-LD, testing on JSON-LD.org's playground gives some help, but I don't know if I'm doing it right. The original…
Dave Alger
  • 339
  • 7
  • 23