Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify type of property assertion for individuals that reference external properties. #667

Closed
vChavezB opened this issue Jan 2, 2024 · 1 comment

Comments

@vChavezB
Copy link
Contributor

vChavezB commented Jan 2, 2024

The xslt parser ignores named individual assertions whose URI is not defined in the ontology.

<xsl:if test="some $prop in (/rdf:RDF/(owl:ObjectProperty|owl:DatatypeProperty)/(@*:about|@*:ID)) satisfies $prop = $currentURI">

This means that any assertion which relates to an external ontology will not be displayed.

How to reproduce

I made a small ontology sample to reproduce this (turtle file with txt extension due to github blacklisting .ttl files)

external.ttl

These are my assertions for individual car 1. Please ignore the nonsense of the assertions, I just wanted to do a
quick test on different scenarios.

grafik

and how it looks in WIdoco

grafik

Suggestion

As we already have the ontology loaded in Widoco with the owlapi, it would be nice to enrich the metadata for external assertions from the ontology itself if provided. Please check my draft PR for my suggestion #668

I thought of this since I am working with the QUDT ontology and there you get all assertions for individuals independent if the assertions relate to object properties, named inviduals or data properties that are imported from another ontology.

Example

https://qudt.org/vocab/unit/AT

@dgarijo
Copy link
Owner

dgarijo commented Jan 9, 2024

Addressed in develop, will be there in the next release

@dgarijo dgarijo closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants