You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, all I see is this. The Subject class is never shown.
While I was debugging this, I accidentally added a triple to the d:tonyUser making it of type Subject as well as User. This doesn't really make sense, but it did cause the subClassOf edge to start appearing, so I'm pretty sure the triples are correct, but for some reason, the subClassOf does not get explored when I didn't have the below triple.
d:tony rdf:type :Subject .
Visualization with the Subject type:
Thanks
The text was updated successfully, but these errors were encountered:
I think the behaviour you describe is intended and this is why:
First of all I don't think your class "Subject" will be discovered in your example because there are no entities which are directly Subjects, only Users and Groups.
This is the SPARQL query being used to extract the classes:
SELECT DISTINCT ?class (count(?sub) AS ?instanceCount)
WHERE {
?sub a ?class.
}
GROUP BY ?class
ORDER BY DESC(?instanceCount);
As you see, there is no part to take instances of subclasses into account.
Secondly, as LD-VOWL only works on the ABox, subclass relations are detected via the number of common instances in step 2 of the extraction:
Speaking in sets you would expect this to be true:
|User| < |Subject| and |User ∩ Subject| = |User|
Every user is a subject but not every subject is a user, so the class User is a proper subset of class Subject which indicates User is a subclass of Subject
But if you make one entity of type User also of type Subject you will end up with the following:
|Subject| < |User| and |User ∩ Subject| = |Subject|
Now the class Subject is a proper subset of User and this is why the arrow in your second screenshot goes into the wrong direction.
Hi,
I found this tool and started to make use of it to visualize my RDF database, which is great!
I don't quite understand what is happening with respect to
subClassOf
edges though. This example helps demonstrate.The class hierarchy is:
From reading your paper I think that
subClassOf
relations should be the second step in extracting data.However, all I see is this. The
Subject
class is never shown.While I was debugging this, I accidentally added a triple to the
d:tony
User
making it of typeSubject
as well asUser
. This doesn't really make sense, but it did cause thesubClassOf
edge to start appearing, so I'm pretty sure the triples are correct, but for some reason, thesubClassOf
does not get explored when I didn't have the below triple.Visualization with the
Subject
type:Thanks
The text was updated successfully, but these errors were encountered: