Just to provide my use case,

I presumed if there is a graph like

```turtle
ex:a rdf:type sch:Class1 .
sch:Class1 owl:equivalentClass sch:Class2 .
```
. a query like this should work
```sparql
select ?s where {
?s rdf:type sch:Class2 .
}
```

Thanks!


With regards,
Jason Koh
cseweb.ucsd.edu/~jbkoh

On Thu, Feb 22, 2018 at 5:33 PM, Jason Koh <jb...@eng.ucsd.edu> wrote:

> Hi,
>
> I would like to exploit OWL/RDFS inferences like here: https://virtuoso.
> openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSPARQLReasoningTutorial#
> Step 6.: SPARQL Inference Queries
>
> 1. However, I can't find the "define rules" for owl:equivalentClass as
> mentioned here: http://docs.openlinksw.com/virtuoso/
> virtuosotipsandtricksrdfschowlinfrl/.
>
> What is the exact keyword to use owl:equivalentClass like ``DEFINE
> input:same-as "yes"``?
>
>
> 2. And if I use inference instead of transitive search like
> ``rel:ancestorOf+``, is it faster?
>
> Thank you!
>
>
> With regards,
> Jason Koh
> cseweb.ucsd.edu/~jbkoh
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to