Hi Adrian, In fact the issue is not related to the use of owl:sameAs , seems for the “DESCRIBE” query the graph name need to be specified as I had the same issue even just trying to describe a simple set of inserted triples and found, even from “isql”, that the graph name needed to be added for the query to run:
SQL> sparql insert into <hugh> {<http://s> <http://p> <http://o>};
Done. -- 6 msec.
SQL> sparql describe <http://s> ;
S P O
VARCHAR VARCHAR LONG VARCHAR
_______________________________________________________________________________
0 Rows. -- 5 msec.
SQL> sparql describe <http://s> from <hugh>;
S P O
VARCHAR VARCHAR LONG VARCHAR
_______________________________________________________________________________
http://s http://p http://o
1 Rows. -- 1 msec.
SQL>
Thus determined the name of the graph for your
<http://lod.opentransportdata.swiss/didok/BSGB> entity with the query:
select distinct ?g where {GRAPH
?g{<http://lod.opentransportdata.swiss/didok/BSGB> ?p ?o}}
http://lindas-data.ch/sparql?default-graph-uri=&qtxt=select+distinct+%3Fg+where+%7BGRAPH+%3Fg%7B%3Chttp%3A%2F%2Flod.opentransportdata.swiss%2Fdidok%2FBSGB%3E+%3Fp+%3Fo%7D%7D&should-sponge=&format=text%2Fhtml&timeout=0&debug=on
and found it to be <http://lindas-data.ch/resource/ld-didok> , thus appended to
the describe query which then returned the result set match:
describe <http://lod.opentransportdata.swiss/didok/BSGB> from
<http://lindas-data.ch/resource/ld-didok>
http://lindas-data.ch/sparql?default-graph-uri=&qtxt=describe+%3Chttp%3A%2F%2Flod.opentransportdata.swiss%2Fdidok%2FBSGB%3E+from+%3Chttp%3A%2F%2Flindas-data.ch%2Fresource%2Fld-didok%3E&should-sponge=&format=text%2Fhtml&timeout=0&debug=on
I have reported to development to look into for other describe queries the
graph name is not required …
Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc. // http://www.openlinksw.com/
Weblog -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter -- http://twitter.com/OpenLink
Google+ -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers
> On 15 Aug 2016, at 13:31, Adrian Gschwend <[email protected]> wrote:
>
> On 13.08.16 02:10, Hugh Williams wrote:
>
> Hi Hugh,
>
>> The Virtuoso DEFINE input:same-as “yes” pragma can be use for the
>> owl:sameAs relation ie
>
> Thanks, that's good to know.
>
> But for what reason do I get no triples back without that? IMHO the
> sameAs should still be returned in DESCRIBE as well, as it does in a SELECT?
>
> regards
>
> Adrian
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. http://sdm.link/zohodev2dev
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
