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
1 answer

JSON schema nesting based on linked data

I've dataset pulled from a linked data platform. The dataset looks like this: label relationClass Organization Department Department Employee I want to create a JSON Schema based on this data where the hierarchy between objects is…
Sef
  • 85
  • 7
0
votes
1 answer

How to import multiple ontologies into neo4j with multiple labels for the owl:Class

I have 3 ontologies and I want to import them in the same graph in neo4j, but I would like to import each owl:Class of each ontology under a different label. Any guidance or suggestions are greatly appreciated.
Curious
  • 139
  • 2
  • 5
0
votes
0 answers

Sparql Querty to DBpedia endpoint

I am new to SPARQL, and I need to write Sparql query to retrieve all the entities and links that DBpedia use from the Ordnance Survey ontologies. In words, I need to find out, how DBpedia is linked to Ordnance ontologies and how DBpedia …
Satoti
  • 53
  • 5
0
votes
1 answer

Realizing and Retrieving information from a producer-consumer OWL model

I have the following scenario modelled in OWL: Producer ----producesResource---> Resource <------consumesResource ---- Consumer Producer, Resource and Consumer are OWL Classes, while producesResource and consumesResource are object properties. The…
user0221441
  • 368
  • 4
  • 11
0
votes
2 answers

Title Case Conversion in SPARQL Query with REGEX

I am one inch away from the solution to my problem. I am attempting title case conversion of strings retrieved via SPARQL. I am using the REPLACE function in combination with LCASE and REGEX: BIND (replace(lcase(?label), "(\\b[a-z](?!\\s))",…
Menelao
  • 15
  • 5
0
votes
1 answer

How to match on non-existence of property and not output a default value in JSON-LD framing?

I have a graph of schema:ProductGroup and schema:ProductModel nodes, and I've written a frame to output it in a nested structure, conceptually similar to the library-book-chapter examples. Everything works, except that the framed output includes a…
King Chung Huang
  • 5,026
  • 28
  • 24
0
votes
0 answers

Sparql: Query DBPedia and follow redirects

I'm trying to query DBPedia for some animal pictures. The species I'm querying for is Pan_troglodytes. When one visits https://en.wikipedia.org/wiki/Pan_troglodytes in a browser, one gets redirected to https://en.wikipedia.org/wiki/Chimpanzee. I'd…
duhaime
  • 25,611
  • 17
  • 169
  • 224
0
votes
1 answer

Showing both the custom message and default message in a shacl validation report

When validating my shapes with a shacl Validator, I get a validation report which includes the value I input for sh:message. However, the default message sometimes contains useful information that my custom sh:message cannot capture. Is there a way…
Robin
  • 135
  • 10
0
votes
0 answers

SPARQL and linked data: Getting the attribute of an external property

I think I'm having a logical problem that might be connected to the understanding of the linked data structure, but it could also just be a SPARQL issue. I inserted the following extract of a turtle-code to my triple store. I create an observation.…
Nebukadnezar
  • 87
  • 2
  • 11
0
votes
0 answers

GraphDB error Statement (3742, 6, 4301, 3657) found in one collection, but not found in another

Can anyone please explain why I keep getting this error when I make PUT requests to a GraphDB repository? ... 77 common frames omitted at…
0
votes
1 answer

SPARQL Inference with SKOS

We are trying to showcase inference with linked-data. The simple graph looks like the following in turtle-format: PREFIX rdf: PREFIX rdfs: PREFIX ex:…
onew4y
  • 83
  • 6
0
votes
1 answer

How to write paginated SPARQL query to fetch product list having multiple same nodes

I want to fetch paginated data using SPARQL query for one type of record that has some duplicate attributes like type, image. below query returns duplicates and hence pagination get wrong. PREFIX rdf:…
0
votes
1 answer

How to write SPARQL query to fetch counts based on outer subject

I am struggling to write a SPARQL query to fetch a list of products by the owner along with a count of other owners. following is the query i expect to get the result PREFIX rdf: PREFIX rdfs:…
0
votes
1 answer

SPARQL CONSTRUCT subClassOf

i want to create a construct query with triples of subjects, that has a certain subclass. That works fine: PREFIX rdfs: PREFIX rdf: PREFIX AS:…
naturzukunft
  • 79
  • 1
  • 8
0
votes
0 answers

SPARQL selecting unittext (blank nodes)

I recently started working with Linked Data and SPARQL. I've a dataset which contains unittext, indicating what kind of unit the property has (meters, kilograms and so on). The unit is a values which is inserted on the relationship between object…
Sef
  • 85
  • 7