Jörn Hees wrote:
On Tuesday 03 August 2010, Nathan wrote:
Aldo Bucchi wrote:
Hi Ivan, Jorn,
I've run into similar requirements. A catch-all solution to this could
be to surface the ability to specify a custom deref procedure
define input:iri_deref "DB.DBA.MY_CUSTOM_IRI_DEREF"
This should get all the context to decide whether to perform a fetch
and also have access to the sponger infrastructure.
This is a broad and raw idea, I know. The point is that the current
visibility into what happens under the covers is too low. Of course,
in an ideal world, sources should play along with the Linked Data
rules ( including specifying caching TTL ) but in reality you might
and ETag's!
want to override some sources, implement specific caching strategies,
etc.
Spongers provide some flexibility in the "how do I get stuff from a
IRI" part. But perhaps the controller part could also be "extensible".
FWIW, +1 unless you can simply designate sponger to use a proxy, which
would solve all use cases from what I can tell.
Yupp, I definitely agree. AFAIK there currently is no possibility to make use
of let's say a local DBpedia mirror in case you're using the IRI-dereferencing
options:
If I use:
DEFINE get:proxy "localhost:8890"
with this query:
DEFINE input:grab-all "yes"
DEFINE input:grab-depth 1
SELECT DISTINCT ?p ?lp ?o ?lo
WHERE {
<http://dbpedia.org/resource/Barack_Obama> ?p ?o.
OPTIONAL { ?p rdfs:label ?lp. }
OPTIONAL { ?o rdfs:label ?lo. }
}
I'm told that get:proxy only makes sense with a FROM clause. So is there any
possibility to use a proxy (e.g., the current datastore's URL rewriting) for
IRI dereferencing, or perhaps even Aldo's suggestion of a special
DB.DBA.MY_CUSTOM_IRI_DEREF ?
Cheers,
Jörn
All,
Have you digested this tutorial re. use of Sponger for de-referencing IRIs?
See:
http://virtuoso.openlinksw.com/presentations/SPARQL_Tutorials/SPARQL_Tutorials_Part_7/SPARQL_Tutorials_Part_7.html
Kingsley
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
--
Regards,
Kingsley Idehen
President & CEO
OpenLink Software
Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen