Amazon Neptune RDF-star support for edge properties in RDF graphs
I am currently working with an Amazon Neptune RDF graph and evaluating a use case that requires storing properties on edges using RDF-star.Specifically, I want to create a relationship (edge triple)...
View ArticleList types (Bag, Seq, Alt) in PDF/A Extension Schemas with non-Literal Items
My starting point is this PDF/A extension schema, slightly modified:<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description...
View ArticleHow to create a class that consists of a relation between two other classes?
I would like to create the following scenario in OWL:Lets say there is a game which is played by pairs of players (just like tennis doubles).I have the class "Player";I have the object property...
View ArticleValidating an RDF graph with SHACL with e.g. Apache Jena / Fuseki
I am trying to understand how the flow should be of inserting and validating a knowledge graph using SHACL.I am building a knowledge graph based on traceability using the provenance ontology.When a new...
View ArticleBlank node in RDF
I just started learning about RDF and my question is:What is the purpose of the blank node?Example:ex:John foaf:knows _:p1_:p1 foaf:birthDate 04-21This means that John knows someone who is born on...
View ArticleHow to compare dateTime values using SWRL temporal built-ins?
I am using the SWRL temporal built-ins provided in [1] to compare dateTime values. I am mainly interested in the following operators: equals, before, after."before" and "after" work for me given the...
View ArticleInference with SPARQL CONSTRUCT
I am modeling an ontology in Protégé 5.1.0. I want to model something that, once the inference-engince is running, it is inferred that, under certain circumstances an instance be of class...
View ArticleLimiting cardinality of predicates in SPARQL queries
I'm trying to create a query to match what we call the "shape" of a node in our rdf data. One of the things that goes into this shape is a cardinality for each type of predicate that can link to it.As...
View ArticleHow to concatenate full form and abbreviation in labels using Turtle syntax?
I am working on a .ttl file and I want to incorporate abbreviations into the ontology. Some "things" in my knowledge graph have abbreviations derived from a full form. I want the label of those things...
View ArticleJSON-LD value objects with native JSON types in @value
I am trying to represent a typed value (numeric in this case, but it is the same for boolean) in JSON-LD in such a way that would allow my JavaScript code to work with it easily. If I declare the value...
View ArticleRdflib.js, how to serialize the data into turtle (.ttl) format?
How can I serialize RDF in turtle using rdflib.js? There's not much documentation. I can use:Serializer.statementsToN3(destination);to serialize into the N3 format, but not much besides that. I've...
View ArticleDerived items in Wikibase/Wikidata [closed]
How are dependencies between properties handled on wikidata? If there are properties A, B in the database and I'm interested in property C which follows from A and B, am I supposed to add C myself as a...
View ArticleSemantic web search application for the Linked open data [closed]
I would like to build a semantic web search application to search into the Linked open data. However I don't know where to start from. As the web 3.0 could be seen as a big graph database, I would like...
View ArticleRDF standard ontology for statement with a start and end
I am building an application that builds SPARQL query, and I'm trying to make it as generic as possible.In my data, I need to be able to model some affiliations between people and structures. These...
View ArticleSELECT query does not return graph name when querying from named graphs
One SPARQL select query returns graph name while another does not return any data for the given example data.Below is the example data for the two queries. There are two named graphs - Main and...
View ArticleHow do I query for the classes that make up an owl:unionOf?
I've got an ontology with properties whose domains are unions of classes. Given such a property I would like to be able to find those classes that are in the domain, but haven't been able to figure out...
View ArticleHow to make RDF graph IRI dereferenceable in Virtuoso Open Source?
I'm using Virtuoso Open Source Edition 07.20.3230 (Linux/Ubuntu), and I'm trying to make a named RDF graph publicly dereferenceable via its IRI so that it passes a Linked Data metadata checking...
View ArticleCount nodes in SPARQL property path to find nearest node of type
Image of example graphI have an RDF graph, representing duct networks. All components are connected with the symmetric property exchangesFluidWith (see picture for example).For all air terminals, I...
View ArticleHow to select only direct subClassOf element in a GraphDB custom ruleset?
In a GraphDB custom ruleset, I need to access only the explicitly declared superclass of an element, but I can't find any predicate (like sesame:directSubClassOf), nor use the implicit/explicit context...
View ArticleProtege does not include the datatype in the RDF/XML syntax
I have an n-triple file and want to change it to RDF/XML using protege. I need the datatypes to be included but I can't figure out how. For instance I want<rdfs:label...
View Article