You can subscribe to this list here.
2005 |
Jan
|
Feb
(16) |
Mar
(6) |
Apr
(38) |
May
(23) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
(10) |
Oct
(7) |
Nov
(6) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(20) |
Feb
(32) |
Mar
(24) |
Apr
(29) |
May
(5) |
Jun
(10) |
Jul
(12) |
Aug
(7) |
Sep
(1) |
Oct
(2) |
Nov
(27) |
Dec
(4) |
2007 |
Jan
(37) |
Feb
(10) |
Mar
(19) |
Apr
(10) |
May
(10) |
Jun
(7) |
Jul
(19) |
Aug
(29) |
Sep
(5) |
Oct
(17) |
Nov
(14) |
Dec
(2) |
2008 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
(8) |
May
|
Jun
(8) |
Jul
(1) |
Aug
(7) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
2010 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(2) |
2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <tob...@we...> - 2006-11-28 08:40:21
|
Hi. Yes FILTER queries are supported but we have still some problems with complex filters and filters that contain type casts. You should have no problems with "FILTER (?date >= 12345 && ?date <= 54321)" . Regards Tobias > A quick question if I may, are FILTER queries currently supported? An example: > > PREFIX ll: <http://www.gsowww.uklinux.net/librarylinks/vocabulary#> > SELECT * > WHERE { ?url ll:title ?title . > ?url ll:abstract ?abstract . > ?url ll:date ?date . FILTER (?date >= 12345 && ?date <= 54321) . > ?url ll:publisher ?publisher } > ORDER BY DESC(?date) > |
From: GSO <gs...@ya...> - 2006-11-27 22:39:58
|
A quick question if I may, are FILTER queries currently supported? An example: PREFIX ll: <http://www.gsowww.uklinux.net/librarylinks/vocabulary#> SELECT * WHERE { ?url ll:title ?title . ?url ll:abstract ?abstract . ?url ll:date ?date . FILTER (?date >= 12345 && ?date <= 54321) . ?url ll:publisher ?publisher } ORDER BY DESC(?date) |
From: <jsp...@gm...> - 2006-11-27 10:30:59
|
I have noticed this error message some days ago as well. The problem is almost in the end of scripts edit.php and query.php You need to add a space between opening tag <?php and character '}'. It seems. PHP 5.2 went more strict to code formatting :-) Best regards Josef Petr=E1k On 11/24/06, GSO <gs...@ya...> wrote: > RDF DB Utils, when clicking on Edit or Query, results in the following er= ror: > > Parse error: syntax error, unexpected '}' in > /opt/lampp/htdocs/rdfapi-php/tools/rdfdb-utils/query.php on line 376 > > (humble apologies for not having glanced at the code myself). > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Richard C. <ri...@cy...> - 2006-11-27 10:03:05
|
Hi, On 27 Nov 2006, at 09:09, AJ Chen wrote: > When firefox opens a rdf file generated by rdfapi, it automatically > parses it as xml file. The result is unreadable. This is what Firefox does with all XML files. > So, I want Firefox to open rdf file as is, showing content within > xml structure. Any suggestion how to do that? Select "View Source" from the menu. > Maybe something can be added to the top of rdf file, which will > prevent it from parsing by xml parser. You could do that, but then it wouldn't be an RDF file any more, and therefore most RDF tools would not recognize it. (As a better solution, you could use an XML processing instruction to associate a CSS or XSLT stylesheet with the RDF document, see [1].) RDF files are not meant to be displayed to a human. It doesn't really matter if it's parsed as XML, or if the raw XML is displayed, Non- geeks will not be able to understand either of those. Look at how links to RSS and Atom feeds are usually handled, they are hidden away behind [RSS] buttons or <link> elements in the HTML head, human readers will usually not see it, and RSS clients know where to look for it. I think the same approach should be used for RDF. Yours, Richard [1] http://www.w3.org/TR/xml-stylesheet/ > Or configure firefox not to parse rdf file. But I can't find a way > to add rdf file type to firefox download manager. > Thanks, > -- > AJ Chen, PhD > Palo Alto, CA > http://web2express.org > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: AJ C. <ca...@gm...> - 2006-11-27 08:10:01
|
When firefox opens a rdf file generated by rdfapi, it automatically parses it as xml file. The result is unreadable. So, I want Firefox to open rdf file as is, showing content within xml structure. Any suggestion how to do that? Maybe something can be added to the top of rdf file, which will prevent it from parsing by xml parser. Or configure firefox not to parse rdf file. But I can't find a way to add rdf file type to firefox download manager. Thanks, -- AJ Chen, PhD Palo Alto, CA http://web2express.org |
From: GSO <gs...@ya...> - 2006-11-24 20:43:46
|
RDF DB Utils, when clicking on Edit or Query, results in the following error: Parse error: syntax error, unexpected '}' in /opt/lampp/htdocs/rdfapi-php/tools/rdfdb-utils/query.php on line 376 (humble apologies for not having glanced at the code myself). |
From: GSO <gs...@ya...> - 2006-11-23 21:16:14
|
Bug fixed, there should be a ':' in the PREFIX declaration. i.e, 'PREFIX ll: <...>'. This colon is omitted in the RAP SPARQL documentation, threw me out a bit. On 23/11/06, GSO <gs...@ya...> wrote: > <error text> > > SPARQL PARSER ERROR: Unbound Prefix: ll > In Query: > > PREFIX ll <http://www.gsowww.uklinux.net/librarylinks/vocabulary#> > SELECT ?title ?url > WHERE { ?url ->ll:title<- > > Fatal error: Call to a member function getFromNamedPart() on a > non-object in /opt/lampp/htdocs/rdfapi-php/api/sparql/SparqlEngine.php > on line 417 > > </error text> > > As far as I can see 'll' is bound to a prefix - if anyone can spot the > bug it'd be appreciated. > > Thx > > > GSO > http://www.gsowww.uklinux.net/pub > |
From: GSO <gs...@ya...> - 2006-11-23 20:59:43
|
<error text> SPARQL PARSER ERROR: Unbound Prefix: ll In Query: PREFIX ll <http://www.gsowww.uklinux.net/librarylinks/vocabulary#> SELECT ?title ?url WHERE { ?url ->ll:title<- Fatal error: Call to a member function getFromNamedPart() on a non-object in /opt/lampp/htdocs/rdfapi-php/api/sparql/SparqlEngine.php on line 417 </error text> As far as I can see 'll' is bound to a prefix - if anyone can spot the bug it'd be appreciated. Thx GSO http://www.gsowww.uklinux.net/pub |
From: <jsp...@gm...> - 2006-11-20 16:56:56
|
Hello, thanks for answer. You actually expected it but I wanted to be sure. So the result is that the best practise is to avoid any name colisions and I did so. Best regards. Josef Petr=E1k On 11/20/06, Richard Cyganiak <ri...@cy...> wrote: > Hi Josef, > > On 18 Nov 2006, at 20:19, Josef Petr=E1k wrote: > > While working on an ontology and later implementing it as a RAP > > vocabulary class, one question came on my mind? > > > > Are URLs case-sensitive or not? > > In RDF, URIrefs are case-sensitive. > > > And my further question is if RAP handles URIref in a case- or > > noncase- sesitive way? > > In general, RAP handles URIrefs case-sensitive. But PHP ignores case > in some places, such as function names and class names. For example, > RDF::TYPE() is the same as rdf::type(). There's nothing we can do > about this, it's the PHP language. > > Richard > > > > > > It is very importnant if you have properties' and classes' names > > equal ;-) > > > > Thanks for your answer > > > > Josef Petr=E1k > > > > ---------------------------------------------------------------------- > > --- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php? > > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > > _______________________________________________ > > Rdfapi-php-interest mailing list > > Rdf...@li... > > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > > > |
From: Richard C. <ri...@cy...> - 2006-11-20 16:51:34
|
Hi Josef, On 18 Nov 2006, at 20:19, Josef Petr=E1k wrote: > While working on an ontology and later implementing it as a RAP > vocabulary class, one question came on my mind? > > Are URLs case-sensitive or not? In RDF, URIrefs are case-sensitive. > And my further question is if RAP handles URIref in a case- or > noncase- sesitive way? In general, RAP handles URIrefs case-sensitive. But PHP ignores case =20 in some places, such as function names and class names. For example, =20 RDF::TYPE() is the same as rdf::type(). There's nothing we can do =20 about this, it's the PHP language. Richard > > It is very importnant if you have properties' and classes' names =20 > equal ;-) > > Thanks for your answer > > Josef Petr=E1k > > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Chris B. <ch...@bi...> - 2006-11-20 15:40:35
|
Great :-) Chris -- Chris Bizer Freie Universit=E4t Berlin Phone: +49 30 838 54057 Mail: ch...@bi... Web: www.bizer.de > -----Urspr=FCngliche Nachricht----- > Von: rdf...@li... = [mailto:rdfapi-php- > int...@li...] Im Auftrag von Christian = Weiske > Gesendet: Montag, 20. November 2006 15:56 > An: rdf...@li... > Betreff: Re: [Rdfapi-php-interest] RdfAPI / patches / future >=20 > Hello Chris, >=20 >=20 > > Especially work on the SPARQL engine is highly welcome, for > > instance a better SPARQL to SQL rewriting algorithm would be really > cool. > That's will be one of my primary goals. >=20 > > Do you work together with S=F6ren's other student who is doing the = D2RQ > > implementation in PHP? > Currently, I'm starting to fiddle into all the things but haven't = spoken > with the other people, but will do that soon. >=20 > > Do you also work on OntoWiki? I saw S=F6ren's presentation about = OntoWiki > at > > ISWC and it really seams to be a very nice tool. > No. >=20 > > I'm not to sure about porting RAP to PEAR. RAP consists of quite a > number of > > interlinked classes and the last time it was tried to fit RAP into = the > PEAR > > naming schema we were not too happy with the > > results(http://pear.php.net/package/RDF). > Ok, so we'll let it the way it is now. >=20 > > So if you want to contribute to > > the core classes of RAP, I think working on improved exeption = handling > and > > porting the core classes to PHP5 (for instance using the PHP = standard > > iterators instead of our propietary iterators) would be much more > usefull > Sounds reasonable. >=20 >=20 > -- > Regards/MfG, > Christian Weiske |
From: Christian W. <cw...@cw...> - 2006-11-20 15:02:46
|
Chris, > porting the core classes to PHP5 (for instance using the PHP standard Completely dropping PHP4 support? --=20 Regards/MfG, Christian Weiske |
From: Christian W. <cw...@cw...> - 2006-11-20 14:56:04
|
Hello Chris, > Especially work on the SPARQL engine is highly welcome, for > instance a better SPARQL to SQL rewriting algorithm would be really coo= l. That's will be one of my primary goals. > Do you work together with S=C3=B6ren's other student who is doing the D= 2RQ > implementation in PHP? Currently, I'm starting to fiddle into all the things but haven't spoken with the other people, but will do that soon. > Do you also work on OntoWiki? I saw S=C3=B6ren's presentation about Ont= oWiki at > ISWC and it really seams to be a very nice tool. No. > I'm not to sure about porting RAP to PEAR. RAP consists of quite a numb= er of > interlinked classes and the last time it was tried to fit RAP into the = PEAR > naming schema we were not too happy with the > results(http://pear.php.net/package/RDF). Ok, so we'll let it the way it is now. > So if you want to contribute to > the core classes of RAP, I think working on improved exeption handling = and > porting the core classes to PHP5 (for instance using the PHP standard > iterators instead of our propietary iterators) would be much more usefu= ll Sounds reasonable. --=20 Regards/MfG, Christian Weiske |
From: Chris B. <bi...@ze...> - 2006-11-19 16:08:02
|
Hi Christian, it great that you want to work on RAP, do bug fixes and extend RAP's functionality. Especially work on the SPARQL engine is highly welcome, for instance a better SPARQL to SQL rewriting algorithm would be really cool. Do you work together with Sören's other student who is doing the D2RQ implementation in PHP? Do you also work on OntoWiki? I saw Sören's presentation about OntoWiki at ISWC and it really seams to be a very nice tool. I'm not to sure about porting RAP to PEAR. RAP consists of quite a number of interlinked classes and the last time it was tried to fit RAP into the PEAR naming schema we were not too happy with the results(http://pear.php.net/package/RDF). So if you want to contribute to the core classes of RAP, I think working on improved exeption handling and porting the core classes to PHP5 (for instance using the PHP standard iterators instead of our propietary iterators) would be much more usefull than just to rename the classes as it was done for the PEAR RAP version in 2004. Tobias already started into this direction and I'm sure, he will be happy to send you his code. Please send the patches that you already have to Tobias and he will put them into the CVS. Later, you will of course also get CVS access. The unit tests are at http://rdfapi-php.cvs.sourceforge.net/rdfapi-php/rdfapi-php/test/unit/ Cheers Chris Hello all, I am a student of information technologies in Leipzig, Germany and I am doing my master/German Diplom under supervision of Sören Auer (creator of Powl). My task is to port Powl to use SPARQL, and to fix/enhance RAP's SPARQL engine to be more efficient and support the QL standard better. Now I do already have some patches lying on my harddisk that fix some of the simple bugs in the bug tracker, and half of a bigger one that wraps RAP into a PEAR-compatible package that can be installed and used more easily than today. Question is if the devs here do want this, or if I'm wasting my time. Advantages of the PEAR approach are: - Consistent class namings that don't clash with other packages. For this, I prefixed the classes with RAP_ and modified them according to the directory structure (e.g. RAP_Model_DbModel since it's in RAP/Model/DbModel.php) - Classes include the files they need directly, without those strange "proxy" files you are currently using (such as Model/DBase.php) that only include two files. - One of the bigger advatages: including files is a breeze, since PEAR has its own include path in most PHP installations - no need to define a RDFAPI_INCLUDE_DIR, just do a "require_once RAP/Model/DbModel.php" and you're done. - Very easily installable: "pear install RAP-0.9.6.tgz" and it's done. That way, other packages can /depend/ on RAP, so that it gets installed automatically if they install some PEAR-compatible-packaged application. I will spend the next 3/4 year working on Powl and RAP. May I get CVS access (username is cw...@us...) some time in the future? Whom shall I sent my patches? Another question: test/Readme.txt states that there are Unit tests for the API on the homepage. Unfortunately, I did not find them there or in CVS. Could somebody point me to the right place please? -- Regards/MfG, Christian Weiske ----- Original Message ----- From: "Christian Weiske" <cw...@cw...> To: <rdf...@li...> Sent: Tuesday, November 14, 2006 7:36 AM Subject: [Rdfapi-php-interest] RdfAPI / patches / future > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------------------------------------------------------------------------- > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: <jsp...@gm...> - 2006-11-18 19:19:14
|
Hello folks! While working on an ontology and later implementing it as a RAP vocabulary class, one question came on my mind? Are URLs case-sensitive or not? And my further question is if RAP handles URIref in a case- or noncase- sesitive way? It is very importnant if you have properties' and classes' names equal ;-) Thanks for your answer Josef Petr=E1k |
From: Tom H. <tom...@gm...> - 2006-11-18 18:33:09
|
Hi Christian, That sounds like great news that you'll have time to work on RAP. I can't speak on behalf of the developers at all, but as an enthusiastic user of RAP (in implementing projects such revyu.com) I love the idea of even more development time being available to work on the library. In particular the work on the SPARQL engine sounds great. I'll keep an ear open for how it's going, and good luck :D Tom. On 14/11/06, Christian Weiske <cw...@cw...> wrote: > Hello all, > > > I am a student of information technologies in Leipzig, Germany and I am > doing my master/German Diplom under supervision of S=F6ren Auer (creator > of Powl). My task is to port Powl to use SPARQL, and to fix/enhance > RAP's SPARQL engine to be more efficient and support the QL standard bett= er. > > Now I do already have some patches lying on my harddisk that fix some of > the simple bugs in the bug tracker, and half of a bigger one that wraps > RAP into a PEAR-compatible package that can be installed and used more > easily than today. Question is if the devs here do want this, or if I'm > wasting my time. > > Advantages of the PEAR approach are: > - Consistent class namings that don't clash with other packages. For > this, I prefixed the classes with RAP_ and modified them according to > the directory structure (e.g. RAP_Model_DbModel since it's in > RAP/Model/DbModel.php) > - Classes include the files they need directly, without those strange > "proxy" files you are currently using (such as Model/DBase.php) that > only include two files. > - One of the bigger advatages: including files is a breeze, since PEAR > has its own include path in most PHP installations - no need to define a > RDFAPI_INCLUDE_DIR, just do a "require_once RAP/Model/DbModel.php" and > you're done. > - Very easily installable: "pear install RAP-0.9.6.tgz" and it's done. > That way, other packages can /depend/ on RAP, so that it gets installed > automatically if they install some PEAR-compatible-packaged application. > > > I will spend the next 3/4 year working on Powl and RAP. May I get CVS > access (username is cw...@us...) some time in the > future? Whom shall I sent my patches? > > > Another question: test/Readme.txt states that there are Unit tests for > the API on the homepage. Unfortunately, I did not find them there or in > CVS. Could somebody point me to the right place please? > > -- > Regards/MfG, > Christian Weiske > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > > > |
From: Christian W. <cw...@cw...> - 2006-11-14 06:36:01
|
Hello all, I am a student of information technologies in Leipzig, Germany and I am doing my master/German Diplom under supervision of S=C3=B6ren Auer (creat= or of Powl). My task is to port Powl to use SPARQL, and to fix/enhance RAP's SPARQL engine to be more efficient and support the QL standard bett= er. Now I do already have some patches lying on my harddisk that fix some of the simple bugs in the bug tracker, and half of a bigger one that wraps RAP into a PEAR-compatible package that can be installed and used more easily than today. Question is if the devs here do want this, or if I'm wasting my time. Advantages of the PEAR approach are: - Consistent class namings that don't clash with other packages. For this, I prefixed the classes with RAP_ and modified them according to the directory structure (e.g. RAP_Model_DbModel since it's in RAP/Model/DbModel.php) - Classes include the files they need directly, without those strange "proxy" files you are currently using (such as Model/DBase.php) that only include two files. - One of the bigger advatages: including files is a breeze, since PEAR has its own include path in most PHP installations - no need to define a RDFAPI_INCLUDE_DIR, just do a "require_once RAP/Model/DbModel.php" and you're done. - Very easily installable: "pear install RAP-0.9.6.tgz" and it's done. That way, other packages can /depend/ on RAP, so that it gets installed automatically if they install some PEAR-compatible-packaged application. I will spend the next 3/4 year working on Powl and RAP. May I get CVS access (username is cw...@us...) some time in the future? Whom shall I sent my patches? Another question: test/Readme.txt states that there are Unit tests for the API on the homepage. Unfortunately, I did not find them there or in CVS. Could somebody point me to the right place please? --=20 Regards/MfG, Christian Weiske |
From: Daniel W. <Dan...@er...> - 2006-11-10 13:11:17
|
Guten Tag! Ich bin neu auf dieser Liste, ich arbeite an einem Tool zur Computerunterst=FCtzung von Diskursanalysen i= n=20 ver=F6ffentlichen Dokumenten v.a. wissenschaftlichen Zeitschriften. Dieses = Tool=20 ist PHP/MYSQL-basiert und operiert konform zu diversen Standards wie MODS,= =20 MARCXML, Endnote, openSearch, z3950 etc. Nach Versuchen, dieses Tool an=20 existierende, meist kommerzielle Annotationswerkzeuge anzubinden, kam ich z= um=20 Schluss, dass eine simples Annotationstool unter PHP die Zwecke besser=20 erf=FCllt. Meine Idee: Markieren von Textabschnitten als "Quotation" mit XM= L=20 und einer eindeutigen ID. Seperate Annotationen (zwei Typen:=20 Kategorisierungen und Notizen) nach dem Annotea-Standard. Die M=F6glichkeit= ,=20 Annotationen zu annotieren. Grafische Darstellung der Verweisnetze. Bedienu= ng=20 =FCber eine Erweiterung des bestehenden Webinterface. Die GU ist nicht mein= =20 Problem, da bin ich erfahren, die XML Bearbeitung auch nicht, aber die=20 Annotation mit RDF! Meine Frage: Gibt es Vorarbeiten zur Anbindung der PHP RDF-API an Annotea o= der=20 an andere Standards zur Annotation von Texten sowie zur Weiterverarbeitung= =20 solcher Annotationen? Oder: Denke ich falsch und brauche einen anderen Standard (z.B. OWL?), ist= =20 Annotea veraltet (die letzten Kommentare auf der dortigen Seite sind von=20 2002, die Gruppe ist aufgel=F6st, wenn ich recht verstanden habe) Ich bin an allem Interessiert, was OpenSource und PHP/Javascript ist. =46=FCr Hinweise dankbar Daniel Wrana=20 ___________________________ Daniel Wrana Justus-Liebig-Universit=E4t Gie=DFen Professur f=FCr Weiterbildung Web: http://www.weiterbildung.uni-giessen.de/wrana |
From: <tob...@we...> - 2006-11-10 12:25:05
|
Hi Atat, I'm sorry for the inconvenience. I think there is a typo in our documentation. Using "SparqlEngine::writeQueryResultAsHtmlTable($result);" instead of "SPARQLEngine::writeQueryResultAsHtmlTable($result);" should solve the problem. Tobias > Hello, > I'm trying to use the Sparql client to connect to a SPARQL service running on the same machine. Here is the code I used: > > // Include all RAP classes > define("RDFAPI_INCLUDE_DIR", "C:/downloads/Semantic/rdfapi-php/api/"); > include(RDFAPI_INCLUDE_DIR . "RdfAPI.php"); > > // Create a SPARQL client > $client = ModelFactory::getSparqlClient("http://localhost:2020/sparql"); > > $querystring = ' > PREFIX person: <http://www.owl-ontologies.com/person.owl#> > > SELECT ?FirstName ?LastName > WHERE { > ?x person:first_name ?FirstName ; > person:last_name ?LastName > > } > '; > > $query = new ClientQuery(); > $query->query($querystring); > $result = $client->query($query); > > foreach($result as $line) { > $value = $line['?FirstName']; > if($value != "") > echo $value->toString()."<br>"; > else > echo "undbound<br>"; > } > > The SPARQL service is from a Joseki server. I get this message: > > Fatal error: Class 'SparqlClient' not found in > C:\downloads\Semantic\rdfapi-php\api\model\ModelFactory.php on line > 272 > > Any ideas how to fix this? Thanx a lot! > > > sts.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: atat <ast...@ya...> - 2006-11-09 21:29:39
|
As it turned out several of the .php files from the SPARQL client are incom= patible with PHP 5.1.4. The start with "<?" instead of "<?php" so I fixed t= hat and now the code runs fine...But when I tried to run =0A=0A=09SPARQLEng= ine::writeQueryResultAsHtmlTable($result);=0Ainstead of looping, I get this= =0A=0AFatal error: Class 'SPARQLEngine' not found=0A=0AAnother compatibilit= y error?=0A=0A=0A=0A=0A =0A________________________________________________= ____________________________________=0AYahoo! Music Unlimited=0AAccess over= 1 million songs.=0Ahttp://music.yahoo.com/unlimited |
From: atat <ast...@ya...> - 2006-11-09 20:51:31
|
Hello,=0AI'm trying to use the Sparql client to connect to a SPARQL service= running on the same machine. Here is the code I used:=0A=0A// Include all = RAP classes =0Adefine("RDFAPI_INCLUDE_DIR", "C:/downloads/Semantic/rdfapi-p= hp/api/");=0Ainclude(RDFAPI_INCLUDE_DIR . "RdfAPI.php"); =0A=0A// Create a = SPARQL client=0A$client =3D ModelFactory::getSparqlClient("http://localhost= :2020/sparql");=0A=0A$querystring =3D '=0APREFIX person: <http://www.owl-on= tologies.com/person.owl#>=0A=0ASELECT ?FirstName ?LastName =0AWHERE { =0A = ?x person:first_name ?FirstName ;=0A person:last_name ?LastName =0A=0A}= =0A';=0A=0A$query =3D new ClientQuery();=0A$query->query($querystring);=0A$= result =3D $client->query($query);=0A=0Aforeach($result as $line) {=0A $= value =3D $line['?FirstName'];=0A if($value !=3D "")=0A echo $value= ->toString()."<br>";=0A else=0A echo "undbound<br>";=0A}=0A=0AThe S= PARQL service is from a Joseki server. I get this message:=0A=0AFatal error= : Class 'SparqlClient' not found in =0AC:\downloads\Semantic\rdfapi-php\api= \model\ModelFactory.php on line =0A272=0A=0AAny ideas how to fix this? Than= x a lot!=0A=0A=0A=0A=0A =0A________________________________________________= ____________________________________=0ADo you Yahoo!?=0AEveryone is raving = about the all-new Yahoo! Mail beta.=0Ahttp://new.mail.yahoo.com |
From: Danilo S. B. <ds...@ho...> - 2006-10-01 08:23:38
|
My problem is with ResModel. I wrote MemModel in the last email. Thanks. I was reading : "Creating a Resource does not make the Resource visible to the model; Resources are only "in" Models if Statements about them are added to the Model" What for ResModel exist , if we can´t use it to store in a bank without statements ? Thanks _________________________________________________________________ Acompanhe os desfiles do evento São Paulo Fashion Week. http://www.msn.com.br/diversao/spfw/ |
From: Danilo S. B. <ds...@ho...> - 2006-10-01 07:14:32
|
I don´t get store MemModel in my DB No error messages are show. I don´t know what to do even more. Someone could send a complete example of creating a MEMMODELl (without files) and storing in a data base ?. By statemant i get. It´s kind urgent. Thank you very much ! My tests <? define("RDFAPI_INCLUDE_DIR", "C:/Arquivos de programas/Apache Group/Apache/htdocs/rap/api/"); include(RDFAPI_INCLUDE_DIR . "RdfAPI.php"); include("func1.php"); $bd = conecta(); $resultado = mysql_query("select * from artigo where(id='1');",$bd); $titulo = mysql_result($resultado,0,2); $id_artigo = mysql_result($resultado,0,0); $model = ModelFactory::getResModel(MEMMODEL); define('DSB', 'http://www.dc.uel.br/~dsbizarro/'); $URI = "http://www.dc.uel.br/~dsbizarro/artigo#"; $fullName = "John Smith"; $modelURI = "http://www.dsb.com"; $modelURI2 = "http://www.dsb2.com"; $full = $model->createLiteral($fullname); $artigo = $model->createResource($URI); $compra = $model->createProperty(DSB.'compra'); $vende = $model->createProperty(DSB.'vende'); $artigo->addProperty($compra , $full); $artigo2 = $model->createResource($URI); $literal1 = $model->createLiteral("COMPROU"); $literal2 = $model->createLiteral("VENDEU"); $artigo2->addProperty($compra, $literal1); $artigo2->addProperty($vende, $literal2); // List the nicknames echo '<b>Known nicknames for '.$full->getLabel().':</b><BR>'; foreach ($artigo2->listProperties($vende) as $currentResource) { echo $currentResource->getLabelObject().'<BR>'; }; $bag_smiths = $model->createBag(); $beckySmith = $model->createResource('http://somewhere/BeckySmith'); $beckySmithFN = $model->createLiteral('Becky Smith'); $beckySmith->addProperty($compra,$beckySmithFN ); // Add persons to bag $bag_smiths->add($beckySmith); $bag_smiths->add($artigo); $DBmodel = ModelFactory::getDbStore(); $DB = $DBmodel->getModel($modelURI); //$DB->add($statement); //$model->addModel($DB); //$DBmodel->putModel($model,$modelURI) ; $DBmodel->putModel($model,$modelURI) ; $DBmodel->close(); ?> _________________________________________________________________ Inscreva-se no novo Windows Live Mail beta e seja um dos primeiros a testar as novidades-grátis. Saiba mais: http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d |
From: Chris B. <bi...@ze...> - 2006-09-27 10:10:12
|
Hi Kisehi, > The situation: I've loaded several rdf documents to a DB and now I want to > query > it using SPARQL. > The problem: How can I query all these documents at the same time? Do I > have > to define a dataset? How can I define it? RAP has a dataset API which you can use to combine several documents into a RDF dataset. See http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/tutorial/usingNamedGraphs.htm for details. Cheers Chris > Thanks a lot! > > ______________________________________________________________________ > You are receiving this email because you elected to monitor this forum. > To stop monitoring this forum, login to SourceForge.net and visit: > https://sourceforge.net/forum/unmonitor.php?forum_id=213511 |
From: Hans T. <han...@qu...> - 2006-08-23 16:10:06
|
Richard, If I am well informed multiple typing, i.e. multiple inheritance, is normal practice in RDF/RDFS/OWL. Would using rdf:about the 2nd to nth time inside a triple store help to solve this problem? Regards, Hans ____________________ OntoConsult Hans Teijgeler ISO 15926 specialist Netherlands +31-72-509 2005 www.InfowebML.ws han...@qu... ---------- Forwarded message ---------- From: Richard Cyganiak <ri...@cy...> Date: Aug 23, 2006 5:00 PM Subject: Re: [Rdfapi-php-interest] Double rdf:type gives bug in RAP netapi? To: Benjamin Nowack <bn...@ap...> Cc: rdfapi-php-interest <rdf...@li...>, Onno Paap <onn...@gm...> You are right Benjamin, and I was wrong. The spec says that the rdf:ID must indeed be unique. Apologies for spreading misinformation ... (The full rule is: The same combination of rdf:ID and xml:base must never occur twice in a document, taking into account that xml:base is inherited to XML child elements.) So it's indeed a RAP bug. Richard On 23 Aug 2006, at 15:46, Benjamin Nowack wrote: > On 23.08.2006 14:27:37, Richard Cyganiak wrote: >> Vowlidator seems to dislike the fact that RAP uses rdf:ID twice with >> the same value. That's allowed by the specs, although admittedly you >> could argue that it's bad style. (And indeed it's just a warning in >> Vowlidator, not an error.) > AFAIK, redundant node rdf:IDs are not allowed in a shared > scope/document. It's similar to the id attribute in html. > It's a bug in both RAP and Vowlidator, the latter should issue an > error, not a warning ;) > > hth, > ben > >> >> So it's not a RAP bug, but it's an indication that Vowlidator is a >> bit too picky :-) >> >> You can safely ignore the warning. >> >> Yours, >> Richard >> >> >> On 23 Aug 2006, at 13:28, Onno Paap wrote: >> >>> Dear rdfapi-php team, >>> The following examples are snippets from much larger OWL constructs. >>> They have no meaning by themselves, just as illustration of the way >>> the RAP netapi handles this. >>> My question: does this example show an RAP bug? >>> Onno Paap >>> >>> This piece of OWL code has no errors in Vowlidator: >>> ============ >>> <rdf:RDF >>> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >>> xmlns:owl="http://www.w3.org/2002/07/owl#" >>> xml:base="http://www.15926.org/2006/02/onnopaap1"> >>> <owl:Class rdf:ID="AbstractObject"> >>> <rdf:type rdf:resource="#ClassOfAbstractObject"/> >>> </owl:Class> >>> <owl:Class rdf:ID="ClassOfAbstractObject"/> </rdf:RDF> ============ >>> >>> Loaded in RAP gives 3 triples: >>> ============ >>> 1. >>> Resource: http://www.15926.org/2006/02/onnopaap1#AbstractObject >>> RDF Node: rdf:type >>> RDF Node: owl:Class >>> 2. >>> Resource: http://www.15926.org/2006/02/onnopaap1#AbstractObject >>> RDF Node: rdf:type >>> Resource: http://www.15926.org/2006/02/ >>> onnopaap1#ClassOfAbstractObject 3. >>> Resource: http://www.15926.org/2006/02/ >>> onnopaap1#ClassOfAbstractObject RDF Node: rdf:type RDF Node: >>> owl:Class ============ >>> >>> The RAP netapi makes this out of it: >>> ============ >>> <?xml version="1.0" encoding="UTF-8" ?> >>> <!-- >>> Generated by RdfSerializer.php from RDF RAP. >>> # http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/index.html ! >>> --> >>> <rdf:RDF xml:base="http://www.15926.org/2006/02/onnopaap1#" >>> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >>> xmlns:owl="http://www.w3.org/2002/07/owl#" >>> xmlns:ns1="http://www.15926.org/2006/02/onnopaap1#"> >>> <owl:Class rdf:ID="AbstractObject" /> <ns1:ClassOfAbstractObject >>> rdf:ID="AbstractObject" /> <owl:Class rdf:ID="ClassOfAbstractObject" >>> /> </rdf:RDF> ============ >>> >>> Which gives errors in Vowlidator: >>> ============ >>> [1] WARNING - Parser Indication: http://www.15926.org/2006/02/ >>> onnopaap1#[15:53]: >>> {W105} Redefinition of ID: AbstractObject >>> >>> [2] WARNING - Parser Indication: http://www.15926.org/2006/02/ >>> onnopaap1#[13:37]: >>> {W105} Previous definition of 'AbstractObject'. >>> ============ >>> >>> -------------------------------------------------------------------- >>> -- >>> --- >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier Download IBM WebSphere Application Server v.1.0.1 based >>> on Apache Geronimo http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Rdfapi-php-interest mailing list >>> Rdf...@li... >>> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest >>> -- Onno Paap Fluor corporation +31 23 5432116 (work) +31 6 21625149 (mobile) -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.0.405 / Virus Database: 268.11.5/425 - Release Date: 22-Aug-06 |