Hello, I know it has been some time since I posted this question, but for the sake of those who might encounter the same problem I would like to report that the problem has been solved now. Openlink support was kind enough to inform me that the issue is related to a bug that has been identified and is solved in version 7 and all version 6 builds as of build number 3138.
Regards, Frans On 2013-06-21 19:23, Frans Knibbe | Geodan wrote: > Hello all, > > I have imported a turtle file into a RDF graph in Virtuoso and I have > made a rewrite rule for dereferencing the URIs. I notice strange > behaviour with some of the URIs in this graph. For those URIs, the data > format when directly dereferencing the URI always seems to be Turtle. > This is noticeable by just opening a URI in a web browser. An example of > a URI that resolves to HTML (as it should) is: > (A) http://lod.geodan.nl/hhnk/zoneringen/zonering. > An example of a URI that should resolve to HTML but turns out as Turtle is: > (B) http://lod.geodan.nl/hhnk/zoneringen/hhnk. > > I have spent quite some time trying to find out the cause of this > difference. I think there is nothing wrong the rewrite rule. It rewrites > the URI to a SPARQL DESCRIBE query with a format specification. When I > issue a request in that shape I notice the same difference in content > type. The following command (A) gets a HTML response: > curl -g -i > "http://lod.geodan.nl/sparql?query=DESCRIBE+<http://lod.geodan.nl/hhnk/zoneringen/zonering>+FROM+<http://lod.geodan.nl/hhnk/zoneringen/>&format=text/html" > > But this one (B) gets a Turtle response: > curl -g -i > "http://lod.geodan.nl/sparql?query=DESCRIBE+<http://lod.geodan.nl/hhnk/zoneringen/hhnk>+FROM+<http://lod.geodan.nl/hhnk/zoneringen/>&format=text/html" > > The funny thing is that in both cases the HTTP response header claims > the format to be text/html. > > How could this behaviour be explained? I have tried to look at the > problem from different angles but I am stumped now. > > Regards, > Frans > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users - ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users