Query of a local RDF file
From: "J.Philip"
Subject: Query of a local RDF file
Date: Fri, 10 Jul 2009 12:02:22 -0800
This is a multi-part message in MIME format.
------=_NextPart_000_00FB_01CA0156.4DE13320
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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:\data\myfile.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:\data\myfile.owl> which causes
the parse_url function to fail.
------=_NextPart_000_00FB_01CA0156.4DE13320
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>Hello,<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Is it possible to query a local RDF file without =
having the
data in MySql?<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I could parse the data and get the triples, but I =
did not
find how to query it.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>One problem I ran into to parse a file on Window =
was that I
had to use a full local URL like <a =
href=3D"file:///c:\data\myfile.owl">file://c:/data/myfile.owl</a>
because if I used just c:/data/myfile.owl or a relative path, PHP =
changed it
into <a =
href=3D"file:///c:\data\myfile.owl">file://c:\data\myfile.owl</a> which
causes the parse_url function to fail.<o:p></o:p></p>
</div>
</body>
</html>
------=_NextPart_000_00FB_01CA0156.4DE13320--
''' ;
ns1:returnPath "<jphilip@noatak.com>" ;
ns1:xOriginalTo "arc-dev@semsol.org" ;
ns1:deliveredTo "web11p1@p15192371.pureserver.info" ;
ns1:received """from fnjbpd2 (fnjbp-d2.iab.uaf.edu [137.229.80.225])
by sidik.uaf.edu (8.13.8/8.13.8/uaf3) with ESMTP id n6AK36qd015585
for <arc-dev@semsol.org>; Fri, 10 Jul 2009 12:03:12 -0800""" ;
ns1:from '"J.Philip" <jphilip@noatak.com>' ;
ns1:to "<arc-dev@semsol.org>" ;
ns1:subject "Query of a local RDF file" ;
ns1:date "Fri, 10 Jul 2009 12:02:22 -0800" ;
ns1:messageID "<00fa01ca0199$5c047320$140d5960$@com>" ;
ns1:mIMEVersion "1.0" ;
ns1:contentType '''multipart/alternative;
boundary="----=_NextPart_000_00FB_01CA0156.4DE13320"''' ;
ns1:xMailer "Microsoft Office Outlook 12.0" ;
ns1:threadIndex "AcoBmVaF3xMbETWSS1Sw4qO8UIIDsQ==" ;
ns1:contentLanguage "en-us" ;
ns1:xSpamCheckerVersion """SpamAssassin 2.64 (2004-01-11) on
p15192371.pureserver.info""" ;
ns1:xSpamLevel "*" ;
ns1:xSpamStatus """No, hits=1.4 required=5.0 tests=AWL,HTML_60_70,HTML_MESSAGE
autolearn=no version=2.64""" ;
ns1:xUIDL '''1hR"!,~A!!1$*#!F++!!