372
questions
0
votes
0
answers
42
views
Generate OWL from RDF generated data
I have simple relational database tables
drugs (drug_id(PK), traditional_name, category, factory_id(FK) ....)
chemical composition (Id(PK), scientific_name, ... )
drugs_compositions (Id(pk), drug_id, ...
0
votes
0
answers
70
views
How to Develop a Dynamic Schema Handler for Scalable Dataset Management on a Website?
I'm currently working on my final project, which involves creating a website for storing, managing, and visualizing datasets uploaded by users. My inspiration for this project comes from this
https://...
0
votes
0
answers
27
views
Is the linear regression the best fit for this study?
Since I found out that there is a correlation between Timeliness and Semantic Accuracy (I'm studying linked data quality dimensions assessment, trying to evaluate a dimension quality -in this case ...
1
vote
0
answers
94
views
Is there a way to prevent WebVOWL creating undefined union classes?
I'm working on a digital humanities project where I'm trying to use WebVowl to visualise an ontology I made in Protégé. When I import the ontology into WebVowl it generates a lot of undefined union ...
1
vote
1
answer
73
views
How to set up the ID of a json element in rdflib
Context
I am loading a rdf file in rdflib, and am trying to export it in json-ld.
The original rdf looks like:
<cim:Substation rdf:ID="_1234">
<cim:IdentifiedObject.name>A ...
1
vote
0
answers
63
views
With multiple SERVICE clauses and large numbers of relationships in the path, how to execute SPARQL federated query statement?
Regarding the following SPARQL federated query statements:
There are over 10000 ?s2 related to ?s1
There are over 10000 ?s3 related to the previously found ?s2
There are over 10000 ?s4 related to the ...
1
vote
0
answers
112
views
What's the principle of SPARQL `SERVICE` clause query?
I know that SPARQL federated query engine (such as Jena) decomposes it into individual SPARQL based on Service, then sends it to the specified SPARQL endpoint for execution, and finally combines the ...
0
votes
0
answers
27
views
DBPedia Query not returning All I need
I want to retrieve from DBpedia all the states and territories in India as well as all the cities contained in them. I have a long query that does a UNION and returns the territories but not any ...
1
vote
1
answer
55
views
What is the logic of the SPARQL CONSTRUCT LIMIT?
What is the logic of LIMIT when using CONSTRUCT queries in SPARQL?
When I use CONSTRUCT to query DBpedia, I find that the results sometimes don't match the LIMIT
Example
SPARQL:
CONSTRUCT {
?s a ?...
1
vote
1
answer
81
views
Specify subframe for elements of id-value property map in a JSON-LD frame
I am trying to write a JSON-LD frame that serializes some RDF documents in a consistent way. Currently, the RDF is being parsed out from JSON-LD that is correctly structured and I would like the frame ...
1
vote
1
answer
388
views
Is the Knowledge Graph and the Linked Open Data the same thing?
I started to dive into the topic "Knowledge Graph" and I get the feeling that this is the same as the "Linked Open Data". I have some questions 1) If so, why did they need to ...
0
votes
0
answers
73
views
Are there some Linked data websites use distributed sparql Endpoints and provide cross-domain data search services?
Is there a website x:
Searching rdf resources from distributed sparql Endpoints.
Rdf resources come from multiple subject areas and are related .
Provide some semantic services such as QA, route ...
1
vote
0
answers
51
views
Rdflib and activitystreams
so I'm investigating rdflib to use with ActivityStreams. My current main goal is to input an Object and get the same one back!
My current try looks like this
import rdflib
G = rdflib.Graph()
G.parse('...
4
votes
1
answer
312
views
SHACL - Attribute is optional, but if it exists, it has to have once a specific value
a class has an optional attribute. If you use this attribute, you have to set it once to a specific value. All other uses of this attribute are not restricted.
The real world example is dcat:...
0
votes
1
answer
43
views
Wikidata SPARL query by generic property return object instead of statement
I want to disseminate the query by spreading the nodes like in the below query.
SELECT ?item ?itemLabel ?prop ?object ?objectLabel ?prop2 ?object2
WHERE
{
VALUES (?item) { (wd:Q12418)}
?item ?...
0
votes
2
answers
449
views
Using shacl to validate a property that has at most one value in its properties
I'm trying to create a shacl based on the ontology that my organization is developing (in dutch): https://wegenenverkeer.data.vlaanderen.be/
The objects described have attributes (properties), that ...
0
votes
2
answers
85
views
How does SPARQL queries automatically read namespaces for abbreviations in virtuoso?
I've set up some namespaces in virtuoso, but when I used jena to do sparql queries in virtuoso, some namespaces were not abbreviated:
@prefix sio: http://semanticscience.org/resource/SIO_ .
@...
1
vote
2
answers
1k
views
The process of creating knowledge graphs [closed]
So I am new to the world of the semantic web, RDF's and Ontologies
How does the process of creating knowledge graphs work?
Say I want to create knowledge graphs about a specific team and link ...
2
votes
1
answer
448
views
How do I define a custom @context for a verifiable credential?
Here is an example of a verifiable credential I want to create
{
"@context": ["https://www.w3.org/2018/credentials/v1"],
"credentialSubject": {
"id": &...
0
votes
1
answer
56
views
Whether cross-domain URIs are supported by rdflib.js? [duplicate]
Whether cross-domain URIs are supported by rdflib.js?
The following URIs are not parsed by fetcher.nowOrWhenFetched:
https://www.w3.org/2000/01/rdf-schema#
https://www.dublincore.org/specifications/...
1
vote
1
answer
124
views
How to get RDF data returned by remote HTTP IRI through linux curl (e.g. DBpedia, GENEPIO ...)?
I know that the following remote HTTP IRI can be parsed directly with 'curl http://xxx' because they return RDF data directly:
https://www.w3.org/1999/02/22-rdf-syntax-ns#
http://www.w3.org/2000/01/...
-1
votes
2
answers
223
views
How to parse arbitrary RDF IRI through javascript?
RDF IRI such as:
https://www.w3.org/1999/02/22-rdf-syntax-ns
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.ttl
http://dbpedia.org/resource/...
0
votes
1
answer
118
views
How do linked open data datasets linked together?
I'm learning about RDF databases and the concept of "Linked Open Data (LOD)". According to what Wiki saids about LOD, many open-accessible datasets are published online and some of the ...
0
votes
0
answers
48
views
How to discover the paths of two nodes in an endpoint or different endpoints
How to discover the paths of two nodes in an endpoint, preferably the paths of different endpoints. Can sparql be implemented , or is there any other way to do it
0
votes
1
answer
462
views
How can I only download the individuals that I have created in Protégé?
I like to download the individuals that I have created in Protégé and upload them in GraphDB as a file. When I downloaded the whole ontology, I saw that the individuals were also downloaded in the XML/...
0
votes
2
answers
96
views
How to show "2022-09-12T00:00:01"^^xsd:dateTime only as 2022-09-12 or at least without ^^xsd:dateTime in my SPARQL results?
How to show "2022-09-12T00:00:01"^^xsd:dateTime only as 2022-09-12 or at least without ^^xsd:dateTime in my SPARQL results?
0
votes
0
answers
75
views
Sequence with conditional nodes in OWL
I want to represent a sequence of action in OWL using protege. What I want to be able to represent is statement like : "if this action is true, then the next action is X. If it's false, then the ...
0
votes
0
answers
269
views
Adding and storing json-ld to an existing website / database
I've seen that there is a vote for a close request because the question is too broad. Let me rewrite the question:
There is a need to add metadata to different database tables (and thus records) which ...
2
votes
1
answer
350
views
retrieving the countries details from geonames using a sparql query
I am trying to get specific countries informations from geonames using "Linked Data HTW Chur sparql endpoint" (url: http://linkeddata.fh-htwchur.ch/lodestar/sparql ):
PREFIX gn: <http://...
0
votes
1
answer
45
views
Cannot create blank nodes from D2RQ mapping
I have one table (FCT_POPULATION) with the following structure, representing a quantity of a range over the years for a single city. So, in the same year, I have two quantities, varying according to a ...
1
vote
2
answers
336
views
skos:related vs skos:relatedMatch
Can someone explain to me the difference between skos:related and skos:relatedMatch predicates? My current understanding is that skos:related applies to concepts that are related "within" a ...
0
votes
1
answer
163
views
Sequence in OWL using protege
I'm trying to define a sequence of action in OWL using protege. I have read the following topics:
Modelling sequence order in OWL-DL ontology
Assigning sequence in OWL using Protege
The problem I ...
0
votes
1
answer
162
views
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 ...
2
votes
1
answer
181
views
Why does Activity Pub make servers wrap "Note" objects into "Create" activities?
What I've gathered is that new posts are published by POSTing a JSON-LD Activity Streams object of type Note to an actor's outbox.
{"@context": "https://www.w3.org/ns/activitystreams&...
1
vote
1
answer
157
views
SPARQL Federated Query takes too long to respond
I have a SPARQL federated query where I join data from wikidata and dbpedia. When I run the first two queries it takes reasonable time. However, when I add the 3rd service it takes too much time. In ...
-1
votes
1
answer
315
views
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 ...
0
votes
0
answers
83
views
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 ...
1
vote
1
answer
187
views
Alias a JSON-LD keyword and simultaneously provide a @context for it
I have the following JSON document (based on GitHub API output):
{
"@id": "https://github.com/octadocs/octadocs",
"license": {
"key": "mit",
...
0
votes
1
answer
37
views
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 ...
3
votes
1
answer
3k
views
URI to identify certificates
Are there some commonly used or standardized URI schemes or patterns that are used to identify SSL certificates, for example for description in linked data applications? The URI does not necessarily ...
1
vote
0
answers
112
views
How to import the OWL classes as a Node in Neo4j?
I am working on Neo4j, and I imported my ontology, but I didn't understand how Neo4j import the class owl:NamedIndividual or the other class other than owl:Class, because it gives me just one node ...
0
votes
2
answers
499
views
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 (...
0
votes
1
answer
186
views
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 ...
1
vote
0
answers
110
views
How best to describe material of parts of a schema.org/Product in JSON-LD?
The schema.org/Product type has a material property for “[the] material that something is made from.” I'd like to describe the materials that each part of a product is made from.
For example, suppose ...
0
votes
0
answers
155
views
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 ...
1
vote
1
answer
65
views
How to compact an @id?
Is it possbile to compact iris in @id via the context?
I didn't found a solution for that, without using @base.
{
"@context": {
"MaxMustermann": "http://...
0
votes
1
answer
147
views
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 ...
1
vote
1
answer
332
views
Query wikidata for wikipedia urls in multiple langauges
I'm trying to use Wikidata as an intermediary to get from a unique identifier listed in Wikidata (for example VIAF ID) to a Wikipedia description.
I've managed to piece together this query to get the ...
0
votes
0
answers
87
views
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-...
1
vote
1
answer
167
views
How to restrict units in property shapes?
I'm looking to make some SHACL shapes for certain properties in my ontology that have a speicified unit. Example:
My instance data would look something like this:
otlc:surgeprotector_1
rdf:type otlc:...