Mailing list ARC-DEV: Archives

Re: [arc-dev] Query of a local RDF file

From: Patrick Murray-John 
Subject: Re: [arc-dev] Query of a local RDF file
Date: Fri, 10 Jul 2009 16:50:41 -0400


In the past, I've tackled this in one of two ways...

If I know I'm going to want it in the ARC store, and if the file is 
small enough, I've just copied it into ARC's endpoint with INSERT.  Not 
elegant, but does the job.

For general just querying around rdf files before I know I want them in 
the store, I've often used Twinkle [1] .  It's a java app that'll let 
you query local files directly.

Patrick

[1] http://www.ldodds.com/projects/twinkle/

J.Philip wrote:
>
> Hello,
>
>  
>
> Is it possible to query a local RDF file without having the data in MySql?
>
>  
>
> I could parse the data and get the triples, but I did not find how to 
> query it.
>
>  
>
> One problem I ran into to parse a file on Window was that I had to use 
> a full local URL like file://c:/data/myfile.owl 
> <file:///c:%5Cdata%5Cmyfile.owl> because if I used just 
> c:/data/myfile.owl or a relative path, PHP changed it into 
> file://c:\data\myfile.owl <file:///c:%5Cdata%5Cmyfile.owl> which 
> causes the parse_url function to fail.
>