Questions tagged [topbraid-composer]

Topbraid Composer is a semantic web modeling tool for RDF/OWL graphs and SPARQL queries.

TopBraid Composer is a semantic web modeling tool for RDF/OWL graphs and SPARQL queries.

Editions:

In order to get TopBraid Composer Free Edition, select "Free Edition" in the "Product" drop-down list on the "Installation" page.

53 questions
1
vote
1 answer

Ontology merging not working properly using Protege 5.0 or TopBraid Composer

Both tools just concatenate the ontologies instead of merging them. For Protege, I have used the option "Refactor -> Merge Ontologies" For Topbraid Composer, I have used this option: Open one ontology, Import other ontology. Both tools result in…
1
vote
2 answers

Ontologies - Do superclasses get instances of their subclasses?

My question is about superclass inheritance. My understanding says that if I have instances that belong to Class B, then Class A which is the mother class of Class B will also have these instances. For instance: suppose I have a superclass called…
user1894963
  • 635
  • 3
  • 11
  • 18
1
vote
1 answer

Run SPARQL/SPIN templates using TopBraid SPIN API

I'm trying to run templates using the SPIN API. For simple templates, this works well but I have trouble with templates that include FILTERs. For verification purposes, I print the templates' bodies before running them and what I see is not what I…
casualcoder
  • 480
  • 4
  • 17
1
vote
1 answer

How to use CONSTRUCT / WHERE in a SPARQL SPIN rule declaration

Summary Thank you in advance for helping me write a CONSTRUCT/WHERE statement that can be declared as a SPIN Rule in TopBraid Composer Free Edition and used. I am trying to embed a SPARQL CONSTRUCT/WHERE statement in a spin:rule declaration and then…
1
vote
1 answer

Jena's subquery intersection returns empty contrary to the results from Protégé/TopBraid Composer

I'm running the same SPARQL Query on apache-jena-2.11.1 (eclipse 64jvm), Protégé and TopBraid Composer (free edition). Jena returns an empty set while both Protégé and TopBraid Composer return/find the correct results. The SPARQL Query: PREFIX …
smokez
  • 13
  • 5
1
vote
1 answer

how to return XML with TopBraid Composer SPARQL Web Pages?

I'm learning SWP (SPARQL Web Pages) using TopBraid Composer Maestro Edition and I am able to create a SWP file. This SWP file uses SPARQL to query the sample dataset to return results as HTML. This is the code snippet that I have in my project:…
Charlie Ou Yang
  • 631
  • 7
  • 16
0
votes
0 answers

what is the preferred approach to express pure shacl shape inheritance

I have a quick question about the best way to express inheritance between pure shacl shapes. E.g. :aShape a sh:nodeShape . :bshape a sh:nodeShape . Are the following 2 options equivalent, and which one is the reocmmended ? bShape rdfs:subClassOf…
MaatDeamon
  • 9,532
  • 9
  • 60
  • 127
0
votes
0 answers

Topbraid EDG HTTP API - SPARQL Update

The following Python script executes a SPARQL CONSTRUCT query returning the contents of the named graph as text/turtle import os import getpass import requests # pip install requests username =…
Neil Graham
  • 593
  • 1
  • 5
  • 17
0
votes
0 answers

How to assert inverse triples via SHACL (provided that they do not yet exist?)

I have an ontology in which each thematic role (e.g., has-agent) is represented via an object property. Furthermore, the inverse property is always defined (e.g., is-agent-of). I want to assert in the ontology all inverse triples via SHACL rules…
0
votes
1 answer

Where have all my labels gone? Topbraid owl to SHACL conversion

I'm trying to convert my ontology, from OWL to SHACL. However, the SKOS labels, preflabels, comments etc. are not being converted. At least, they don't come back in the ttl file that is generated. Right now, I load my original TTL file into…
Robin
  • 135
  • 10
0
votes
1 answer

TopQuadrant Shacl Rule Engine Iterative inference

does the Shacl API Rule engine support sh:order for Rule execution as TopBraid Composer does. I tested rule ordering in TBC and it goes iteratively until it reach a fixed point. No more rule to execute. I suspect that it is considered one-pass, but…
MaatDeamon
  • 9,532
  • 9
  • 60
  • 127
0
votes
0 answers

Using sh:maxExclusive to compare (the values of) two datatype properties

Connected to this question: I cannot use sh:lessThan with xsd:positiveInteger Indeed, I managed to make my example working by writing: sh:property [ sh:path ontology:has-age ; sh:maxExclusive 16 ; ] ; However,…
0
votes
1 answer

I cannot use sh:lessThan with xsd:positiveInteger

I have the following small ontology, with two classes ("DataSubject" and "Minor"), one property has-age from DataSubject(s) to xsd:positiveInteger, and one individual ("John", who is a DataSubject and has-age equal to 20). ontology:DataSubject …
0
votes
0 answers

subclasses with the same name in making an OWL ontology

I'd like to make an ontology of the XML code below:
Nili
  • 91
  • 8
0
votes
1 answer

Check for differences between RDF models with non-deterministic (UUID-based) URIs?

A college and I are individually instantiating electronic health records into triples. We'd like to compare our sets of 10k to 100k triples to see if they have the same shapes. As a policy, I create URIs based on UUIDs, so nothing semantic is…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34