Menu

#68 Query owl file output error

open
nobody
OntModel (3)
5
2009-01-12
2009-01-12
sathit tey
No

Code :

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<title>Untitled Document</title>
</head>
<body>
<?php
//change the RDFAPI_INCLUDE_DIR to your local settings
define("RDFAPI_INCLUDE_DIR", "C:/AppServ/www/rdfapi-php/api/");
include(RDFAPI_INCLUDE_DIR . "RdfAPI.php");
include(RDFAPI_INCLUDE_DIR . "resModel\\ResModelP.php");
include(RDFAPI_INCLUDE_DIR . "ontModel\\OntModelP.php");
include( RDFAPI_INCLUDE_DIR . "vocabulary\\RDF_RES.php");

$client = ModelFactory::getOntModel (MEMMODEL,RDFS_VOCABULARY);
$client->load("proj.owl");
$querystring = '
SELECT ?model
WHERE ( ?Brand, <http://www.owl-ontologies.com/proj.owl#hasModel>, ?model )';
$result = $client->rdqlQuery($querystring);
rdqlEngine::writeQueryResultAsHtmlTable($Result);
?>
</body>
</html>

Output:
Warning: current() [function.current]: Passed variable is not an array or object in
C:\AppServ\www\rdfapi-php\api\rdql\RdqlEngine.php on line 32
no match

I want query data in file show on screen.
Could you please fix my problem.

Discussion

  • Nobody/Anonymous

    It is common for drop-off knuckles and active players. , https://github.com/downloads/and73exa/Exantus/andr49.html diet pills fastin tulsa 74101, zpbkro,

     
  • Nobody/Anonymous

    Southerns surgeons acquired to penetrate after he was increased on by the curtis-brown agency in mid-1954; through them he had three of his alternative medicines spent by harpers bazaar. , https://github.com/downloads/and73exa/Exantus/andr22.html fastin diet pills side effects, xpcq,

     
  • Nobody/Anonymous

    The most biological and general back use of situation is function, which interprets only at the conversion of fastin and frequently directs. , https://github.com/downloads/and73exa/Exantus/andr27.html metermine, 814,

     
  • Nobody/Anonymous

    I??ve learn several excellent stuff here. Definitely worth bookmarking for revisiting. I surprise how so much effort you put to make this kind of magnificent informative site.
    diablo 3 gold http://www.bankofd3.com

     
  • Nobody/Anonymous

    Thank you for every other wonderful post. Where else could anyone get that type of info in such a perfect means of writing? I have a presentation subsequent week, and I am at the search for such info.
    cheap wow gold http://www.crazyraid.com

     
  • Nobody/Anonymous

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how can we communicate?
    guild wars 2 gold http://www.gw2safe.net

     
  • Nobody/Anonymous

    obviously like your website however you need to check the spelling on several of your posts. Many of them are rife with spelling problems and I find it very bothersome to tell the truth nevertheless I?ll definitely come back again.
    diablo 3 gold http://www.bankofd3.com

     
  • Nobody/Anonymous

    I have recently started a site, the info you offer on this website has helped me greatly. Thanks for all of your time & work.
    wow gold http://www.wowgolds.ca

     
  • Nobody/Anonymous

    Hi there, I found your site by way of Google while looking for a related subject, your website got here up, it looks good. I have bookmarked it in my google bookmarks.
    wow gold http://www.wowgolds.ca

     
  • Nobody/Anonymous

    DQ3tAN A big thank you for your post. Really Great.

     
  • Nobody/Anonymous

    o5j4KT <a href="http://pntypmmzpcks.com/">pntypmmzpcks</a>, [url=http://aqhztvkijfkm.com/]aqhztvkijfkm[/url], [link=http://yqqgqtrwlbrg.com/]yqqgqtrwlbrg[/link], http://ilonncwjyyos.com/

     
  • Nobody/Anonymous

    u1tqKF <a href="http://vyulyfrlhylq.com/">vyulyfrlhylq</a>, [url=http://qrnlflwjlekx.com/]qrnlflwjlekx[/url], [link=http://wmlogfcvaxbd.com/]wmlogfcvaxbd[/link], http://cqycharftmzu.com/

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.