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: Christian W. <cw...@cw...> - 2007-08-21 16:33:42
|
Tom, > It might be the whole of the solution, but the triples patterns in > your query should be delimited with full stops ('.'), e.g. The parser currently does not complain about that, but will as soon as someone takes time to fix the new DAWG tests that define very strict query parsing rules. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: P.L.Coetzee <P.L...@op...> - 2007-08-21 15:47:28
|
Hi Marco, Unless you've used them this way around in your instance data, you've = got the namespace prefix and URI swapped over for rdf: and rdfs: - as = you have them, you're asking for properties = <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> and = <http://www.w3.org/2000/01/rdf-schema#type>, not = <http://www.w3.org/2000/01/rdf-schema#label> and = <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>. My guess is that the = query which will give you what you want is: PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?userstory WHERE { ?res rdfs:label ?userstory . ?res rdf:type ?type . } Hope that helps your debugging :) Cheers, Peter -----Original Message----- From: rdf...@li... on behalf of = Marco Rieth Sent: Tue 21/08/2007 14:44 To: rdf...@li... Subject: Re: [Rdfapi-php-interest] Unbound Prefix =20 Ok, the space between : and < seems to work. The SparqlParser doesn't complain anymore. But now I have the problem, that no results are = returned, although there should be... Trying to select all triples works just fine: PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT * WHERE { ?res ?blah ?more } But as soon as I try to select a specific triple using the properties rdfs:label and rdf:type, the result is false: PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?userstory WHERE { ?res rdfs:label ?userstory ?res rdf:type ?type } Could it be, that the rdf-export from the wiki (it's the rdf-export from semantic media wiki) is not compatible with RAP? Or is my query still = messed up? |
From: Tom H. <tom...@gm...> - 2007-08-21 15:40:07
|
Hi Marco, It might be the whole of the solution, but the triples patterns in your query should be delimited with full stops ('.'), e.g. PREFIX rdfs: < http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?userstory WHERE { ?res rdfs:label ?userstory . ?res rdf:type ?type . } (Optional on the last triple pattern IIRC, but I always find it useful for consistency). HTH, and good luck :) Tom. On 21/08/07, Marco Rieth <cre...@go...> wrote: > Ok, the space between : and < seems to work. The SparqlParser doesn't > complain anymore. But now I have the problem, that no results are returned, > although there should be... > > Trying to select all triples works just fine: > > PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> > PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema# > > SELECT * > WHERE { ?res ?blah ?more } > > > But as soon as I try to select a specific triple using the properties > rdfs:label and rdf:type, the result is false: > > PREFIX rdfs: < http://www.w3.org/1999/02/22-rdf-syntax-ns#> > PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> > SELECT ?userstory > WHERE { > ?res rdfs:label ?userstory > ?res rdf:type ?type } > > Could it be, that the rdf-export from the wiki (it's the rdf-export from > semantic media wiki) is not compatible with RAP? Or is my query still messed > up? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > |
From: Marco R. <cre...@go...> - 2007-08-21 13:44:17
|
Ok, the space between : and < seems to work. The SparqlParser doesn't complain anymore. But now I have the problem, that no results are returned, although there should be... Trying to select all triples works just fine: PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT * WHERE { ?res ?blah ?more } But as soon as I try to select a specific triple using the properties rdfs:label and rdf:type, the result is false: PREFIX rdfs: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?userstory WHERE { ?res rdfs:label ?userstory ?res rdf:type ?type } Could it be, that the rdf-export from the wiki (it's the rdf-export from semantic media wiki) is not compatible with RAP? Or is my query still messed up? |
From: Christian W. <cw...@cw...> - 2007-08-21 11:13:08
|
Marco, > I get an error-message "Unbound prefix rdfs:". I have no clue why, > because I have an older version of RAP where this kind of statement > works. I also tried: >=20 > PREFIX rdfs:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> > PREFIX rdf:<http://www.w3.org/2000/01/rdf-schema#> Try a space between : and <. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Marco R. <cre...@go...> - 2007-08-21 08:46:33
|
Hi! I have exported rdf-data from a mediawiki into a xml-file. Now I try to query by using the following query-statement: SELECT ?userstory WHERE { ?res rdfs:label ?userstory ?res rdf:type ?type ?type rdfs:label "Kategorie:User Story" } I get an error-message "Unbound prefix rdfs:". I have no clue why, because I have an older version of RAP where this kind of statement works. I also tried: PREFIX rdfs:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdf:<http://www.w3.org/2000/01/rdf-schema#> { ?res rdfs:label ?userstory ?res rdf:type ?type ?type rdfs:label "Kategorie:User Story" } But this doesn't work either. In my php-code, i am doing like in the rap-docu was shown: $base = $rdfFile; $model = ModelFactory::getDefaultModel(); $model->load($base); $model->sparqlQuery($query); Someone an idea? Thanks, Marco |
From: Tom H. <tom...@gm...> - 2007-08-20 17:33:22
|
Nice turnaround time. Thanks :D On 20/08/07, Christian Weiske <cw...@cw...> wrote: > Tom, > > > > Fatal error: Uncaught exception 'Exception' with message 'Unsupported > > cast type in order by: http://www.w3.org/2001/XMLSchema#decimal' in > > Firstly, is this something that can be fixed relatively quickly? > Fixed in current svn, Revision 536. > > > Secondly, is there a definitive list anywhere of the datatypes which > > are supported for ORDER BY in RAP0.9.5, as it would be good to be able > > to check such a list when deciding which version of RAP to use in a > > deployment. > The list of supported types is the class array $arCastTypes in > SparqlEngineDb_TypeSorter. > > -- > Regards/Mit freundlichen Gr=FC=DFen > Christian Weiske > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > > |
From: Christian W. <cw...@cw...> - 2007-08-20 17:23:26
|
Tom, > Fatal error: Uncaught exception 'Exception' with message 'Unsupported > cast type in order by: http://www.w3.org/2001/XMLSchema#decimal' in > Firstly, is this something that can be fixed relatively quickly? Fixed in current svn, Revision 536. > Secondly, is there a definitive list anywhere of the datatypes which > are supported for ORDER BY in RAP0.9.5, as it would be good to be able > to check such a list when deciding which version of RAP to use in a > deployment. The list of supported types is the class array $arCastTypes in SparqlEngineDb_TypeSorter. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Tom H. <tom...@gm...> - 2007-08-20 16:57:35
|
Hi Christian, Hi all, Following on from the ORDER BY dateTime issue, the same issue occurs when trying to ORDER BY decimal: Fatal error: Uncaught exception 'Exception' with message 'Unsupported cast type in order by: http://www.w3.org/2001/XMLSchema#decimal' in C:\htdocs\hoonoh\rdfapi-php\api\sparql\SparqlEngineDb\TypeSorter.php:398 Stack trace: #0 C:\htdocs\hoonoh\rdfapi-php\api\sparql\SparqlEngineDb\TypeSorter.php(374): SparqlEngineDb_TypeSorter::getCastMethod('http://www.w3.o...', 't2.object') #1 ... Firstly, is this something that can be fixed relatively quickly? Secondly, is there a definitive list anywhere of the datatypes which are supported for ORDER BY in RAP0.9.5, as it would be good to be able to check such a list when deciding which version of RAP to use in a deployment. Cheers, Tom. On 19/06/07, Christian Weiske <cw...@cw...> wrote: > Tom, > > > > > > great. However, I've hit a problem, and I don't know if it's a > > > > bug or me just being stupid. Any help much appreciated. > > > > ORDER BY DESC(?createdOn) > > > > Fatal error: Uncaught exception 'Exception' with message > > > > 'Unsupported cast type in order by: > > > > http://www.w3.org/2001/XMLSchema#dateTime' in > > > > > > This is a missing feature. I'll fix it next week. > > > > Brilliant, thanks Christian, look forward to it :) > > Fixed in svn. The only file you need to update is api/sparql/SparqlEngine= Db/TypeSorter.php > > -- > Mit freundlichen Gr=FC=DFen/Regards, > Christian Weiske > |
From: Christian W. <cw...@cw...> - 2007-08-19 12:35:12
|
Dwi, > In the N Triple result from RDF API parser I got: > _: <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>=20 > <http://www.tanner.de/ontology/km_app.owl#produces> . > _: <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:bNode13 . >=20 > What is the meaning of _: ? Is it blank node without label? > I follow the node but i don't find relation for this node _: . Should be a blank node, yes. And please remember that people answering you on mailing lists often do not wish to be contacted in private for further questions. Keep your discussion on the list. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Christian W. <cw...@cw...> - 2007-08-19 09:44:19
|
Dwi, > <owl:intersectionOf rdf:parseType=3D"Collection"> > <rdf:Description rdf:about=3D"#Project"/> > <owl:Restriction> > <owl:onProperty rdf:resource=3D"#produces"/> > <owl:allValuesFrom rdf:resource=3D"#Authoring"/> > </owl:Restriction> > </owl:intersectionOf> > 1. How to query the restriction above using Sparql? > I mean the query result return the collection of You can't easily, because SPARQL has no proper support to query collection items. http://www.w3.org/2001/sw/DataAccess/issues#accessingCollections --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Dwi M. <edu...@gm...> - 2007-08-19 09:14:39
|
Hello All, I have ontology like this (generate using Protégé :-D): <owl:Class rdf:about="#Documentation_Project"> <owl:equivalentClass> <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <rdf:Description rdf:about="#Project"/> <owl:Restriction> <owl:onProperty rdf:resource="#produces"/> <owl:allValuesFrom rdf:resource="#Authoring"/> </owl:Restriction> </owl:intersectionOf> </owl:Class> </owl:equivalentClass> <owl:disjointWith rdf:resource="#Implementation_Project"/> </owl:Class> I try to serialize it using RDF API PHP the result is below: <owl:Class rdf:ID="Documentation_Project"/> <owl:Class rdf:nodeID="bNode11"/> <rdf:Description rdf:ID="Documentation_Project"> <owl:equivalentClass rdf:nodeID="bNode11"/> </rdf:Description> <rdf:Description rdf:nodeID="bNode11"> <owl:intersectionOf rdf:nodeID="bNode12"/> </rdf:Description> <owl:onProperty rdf:ID="produces"/> <owl:allValuesFrom rdf:ID="Authoring"/> <rdf:Description rdf:nodeID=""> <rdf:first rdf:resource="#produces"/> <rdf:rest rdf:nodeID="bNode13"/> </rdf:Description> <rdf:Description rdf:nodeID="bNode13"> <rdf:first rdf:resource="#Authoring"/> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> <rdf:Description rdf:nodeID="bNode12"> <rdf:first rdf:resource="#Project"/> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> That ontology has restriction: Implementation_Project _=_ Project AND produces ONLY Authoring The Questions: 1. How to query the restriction above using Sparql? I mean the query result return the collection of Implementation_Project I try : SELECT ?o ?x WHERE { <http://www.example.com/ontology/thesis.owl#Documentation_Project> <http://www.w3.org/2002/07/owl#equivalentClass> ?o ?o <http://www.w3.org/2002/07/owl#intersectionOf> (?x) }"; I got the Project only. Where is produces, allValueFrom and Authoring? Could you help this? Thank you. Best regards, Dwi |
From: Alexandre P. <al...@pa...> - 2007-08-17 13:27:57
|
On 8/17/07, Richard Cyganiak <ri...@cy...> wrote: > SPARQL Queries that don't use the GRAPH keyword match only the > default graph. Are there any triples in the dataset's default graph? No, I didn't put any triples in it. So, if I understood well, as I want to make both graph and non-graph queries over the same set of statements, each time I add a quad, I also have to add the triple in the default graph, as: // Loop to parse RDF files, identified by $uri $name = $dataset1->getDefaultGraph()->graphName; $dataset1->addQuad(new Quad(new Resource($uri), $statement->subj, $statement->pred, $statement->obj)); $dataset1->addQuad(new Quad(new Resource($name), $statement->subj, $statement->pred, $statement->obj)); But the problem is that queries using GRAPH will return the "original" graph name, but also the defaut graph of the dataset. Is that the only way to do ? Thanks, Alex. > > Cheers, > Richard > > > On 17 Aug 2007, at 10:52, Alexandre Passant wrote: > > > Hi, > > > > I'm trying to use RAP dataset API (v 0.95) with DB persistence, but I > > can't see how to make 'non-graph' queries. > > > > I created my dataset using: > > > > $dbstore = ModelFactory::getDbStore(); > > $dbstore->createTables('MySQL'); > > $dataset1=& $dbstore->getDatasetDb('Dataset1'); > > > > And then parsed some RDF files to add quads in it - BTW, is there a > > way to add quads in the dataset by simply giving a graphURI and a > > fileURI ? > > > > Then I used > > $dataset1->sparqlQuery($query); > > > > to run queries, but while GRAPH queries return something, I have, for > > simple spo queries: > > > > <sparql xmlns="http://www.w3.org/2005/sparql-results#"><head/ > > ><boolean/></sparql> > > > > Did I missed something with datasets / queries ? > > > > Thanks > > > > Alex. > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Rdfapi-php-interest mailing list > > Rdf...@li... > > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > > > |
From: Richard C. <ri...@cy...> - 2007-08-17 11:03:05
|
SPARQL Queries that don't use the GRAPH keyword match only the default graph. Are there any triples in the dataset's default graph? Cheers, Richard On 17 Aug 2007, at 10:52, Alexandre Passant wrote: > Hi, > > I'm trying to use RAP dataset API (v 0.95) with DB persistence, but I > can't see how to make 'non-graph' queries. > > I created my dataset using: > > $dbstore = ModelFactory::getDbStore(); > $dbstore->createTables('MySQL'); > $dataset1=& $dbstore->getDatasetDb('Dataset1'); > > And then parsed some RDF files to add quads in it - BTW, is there a > way to add quads in the dataset by simply giving a graphURI and a > fileURI ? > > Then I used > $dataset1->sparqlQuery($query); > > to run queries, but while GRAPH queries return something, I have, for > simple spo queries: > > <sparql xmlns="http://www.w3.org/2005/sparql-results#"><head/ > ><boolean/></sparql> > > Did I missed something with datasets / queries ? > > Thanks > > Alex. > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Alexandre P. <al...@pa...> - 2007-08-17 08:52:31
|
Hi, I'm trying to use RAP dataset API (v 0.95) with DB persistence, but I can't see how to make 'non-graph' queries. I created my dataset using: $dbstore = ModelFactory::getDbStore(); $dbstore->createTables('MySQL'); $dataset1=& $dbstore->getDatasetDb('Dataset1'); And then parsed some RDF files to add quads in it - BTW, is there a way to add quads in the dataset by simply giving a graphURI and a fileURI ? Then I used $dataset1->sparqlQuery($query); to run queries, but while GRAPH queries return something, I have, for simple spo queries: <sparql xmlns="http://www.w3.org/2005/sparql-results#"><head/><boolean/></sparql> Did I missed something with datasets / queries ? Thanks Alex. |
From: Christian W. <cw...@cw...> - 2007-08-16 07:28:22
|
Hello all, Could anyone on Windows confirm this? > HI!! I tried both, I "svn updated" the rep and it won't work, so, I > tried an svn cleanup and yet nothing, so I deleted the "broken" > directory, still nothing, finally i removed the entire rdfapi, and > did a fresh check out, the same error appear, I'm using Tortoise SVN --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Christian W. <cw...@cw...> - 2007-08-15 04:45:52
|
Dwi, > Ach so....., > I comment out > //case E_NOTICE: > //case E_USER_NOTICE: > // $errortype =3D "Notice"; >=20 > in my framework setting. >=20 > And The InfModelF work well. This does not fix but merely hides the problem. E_Notices often show a problem with uninitialized variables or other bugs that should be fixed. So, which version of RAP are you using? How does the offending code lines look (at which the error is thrown)? --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Christian W. <cw...@cw...> - 2007-08-15 04:13:31
|
Nelson, > Hi! exactly the subject, i'm trying to update the repository and it > presents an error "Error: In directory > 'C:\xampp\htdocs\rdfapi-php\trunk\rdfapi-php\test\unit\Sparql\w3c-dawg2\d= ata-r2\expr-builtin'", > any ideas? thank you! - Is this a fresh checkout or an update? - What if you remove the offending directory and update again? - Can you checkout freshly (maybe even just the w3c-dawg2 part)? - Which svn tool do you use? --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Nelson R. G. B. <coc...@gm...> - 2007-08-15 02:51:22
|
Hi! exactly the subject, i'm trying to update the repository and it presents an error "Error: In directory 'C:\xampp\htdocs\rdfapi-php\trunk\rdfapi-php\test\unit\Sparql\w3c-dawg2\data-r2\expr-builtin'", any ideas? thank you! -- NRGB ---------------------------------- ``There are two major products that came out of Berkeley: LSD and UNIX. We do not believe this to be a coincidence'' Jeremy S. Anderson http://www.google.co.ve Everything User # 00001 |
From: Christian W. <cw...@cw...> - 2007-08-14 21:45:41
|
Hello Pieter, > In there any "hierarchy" that I should be aware off? Big changes should be announced/discussed on the list. > Which versions of PHP are supposed to be supported? I also had this question some time ago, and the answer I got was that PHP5 is fine and that RAP should move to PHP5 more sooner than later - it's just that nobody has the time to properly move everything to it. > Is it allowed to check-in PHP code that depends on PHP > 5.2.x features, like for example the magic __toString() method? SparqlEngineDb does not work on PHP < 5.2 since it relies on the __toString() magic, so I think it's ok if you take 5.2 as base. > Is there some release-cycle that I / we should adhere to? If there are enough new features/bug fixes, a new release can be pulled. > Do I understand correctly > that active development takes place on the trunk? Yes. > Is there some latest-release-with-bugfixes branch to which I should > commit bugfixes, parallel to the trunk? No. > I couldn't find a script to > generate the PhpDoc documentation in the subversion tree. Could tell > me how (with which parameters) phpdoc was invoked, in order to > generate the phpdoc api documentation? I don't remember, just with as few parameters as possible (that is, those needed to specify the code root and such). > I saw that Sourceforge offers > the possibility to have a Wiki for each project. Wouldn't it be a good > idea if all the documentation were transferred to a Wiki, so we can > all collaboratively make changes? That'd be good - documentation is not ideal at best, manifested in HTML files that haven't been changed since they have been written years ago. > What's the policy regarding code changes that aren't backward > compatible? A good question. I always kept legacy code working. Nice to have another active dev on board :) And please, use the unit testing framework extensively. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Pieter v. B. <kob...@us...> - 2007-08-14 20:56:32
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi all,<br> <br> Now that Chris has granted me write-access to the subversion tree, I thought it would be nice to introduce myself.<br> <br> As a day job, I work at <a href="http://www.sara.nl/index_eng.html">SARA Computing and Networking</a> in Amsterdam, the Netherlands. This is a non-profit organization, owned by the two Amsterdam Universities (<a href="http://www.uva.nl/">1</a>, <a href="http://www.vu.nl/">2</a>) and the <a href="http://www.nikhef.nl/">Netherlands Institute for Nuclear Physics and High Energy Physics</a>. Among other things, SARA maintains the Dutch National Supercomputer Facilities. My business card says that I'm an "Advisor High Performance Computing". I believe that's not even proper English, but who cares. I help scientists (mostly biologists) in using our supercomputers and computer clusters. In my spare time I volunteer at a <a href="http://www.petproducts.nl/dierenasiel/ahonden.html">dog shelter</a>.<br> <br> For one of my projects, I needed a good RDF library. I think Dave Beckett's "librdf" or "Redland" is most widely used, but I didn't like its interface, nor its bindings to the languages I use most (Perl, Ruby, and PHP). Then I found RAP, started working with it, and liked it. Over the last months, I've made quite a few modifications to my copy of the source tree. Suffering from the "Not Invented Here" syndrome like so many programmers, I've been playing with the thought of writing a new PHP RDF library from the start, but I soon realized that I can never build anything as complete as RAP on my own. So I'd much better contribute to RAP!<br> <br> I've still only used part of RAP so far: the ResModel en OntModel, database persistence (MySQL), the SPARQL engine (great job, Christian!), and most of the parsing/serializing API. I haven't touched the inference models yet, nor the RDQL engine, nor the stuff in the 'tools' or 'netapi' directories. Still much to discover, I guess.<br> <br> Having write-access to the source tree, I immediately have a whole bunch of questions that I hope anyone would be willing to answer:<br> <ul> <li>In there any "hierarchy" that I should be aware off? Is there anyone in particular who leads the project? Is there some "board" that reviews source submissions?</li> <li>Which versions of PHP are supposed to be supported? Is it allowed to check-in PHP code that depends on PHP 5.2.x features, like for example the magic __toString() method? Personally, I tend to cut as much legacy as possible in my own projects, as long as users are provided with a clear migration path away from deprecated/discontinued features.<br> </li> <li>Is there some release-cycle that I / we should adhere to?</li> <li>Do I understand correctly that active development takes place on the trunk? (Some other projects like to do this in branches, hence my question. Personally, I like the everything-on-the-trunk approach best)</li> <li>Is there some latest-release-with-bugfixes branch to which I should commit bugfixes, parallel to the trunk?</li> <li>I couldn't find a script to generate the PhpDoc documentation in the subversion tree. Could tell me how (with which parameters) phpdoc was invoked, in order to generate the phpdoc api documentation?</li> <li>I saw that Sourceforge offers the possibility to have a Wiki for each project. Wouldn't it be a good idea if all the documentation were transferred to a Wiki, so we can all collaboratively make changes? I'd be more than willing to help with / perform such a transition.</li> <li>What's the policy regarding code changes that aren't backward compatible? Are there plans for a new major version release that breaks backward compatibility?</li> </ul> Well, that's probably enough for now. The extend to which a can contribute to RAP depends largely on whether or not I'll keep using RDF for my day-to-day activities. I'll push in that direction, but it's not just up to me. I have a boss, too...<br> <br> Kind regards to all of you,<br> Pieter van Beek<br> <br> </body> </html> |
From: Dwi M. <edu...@gm...> - 2007-08-14 12:33:09
|
Hi Christian, Ach so....., I comment out //case E_NOTICE: //case E_USER_NOTICE: // $errortype = "Notice"; in my framework setting. And The InfModelF work well. RDF API PHP is great. Thanks for your help. Best Regards, Dwi Christian Weiske schrieb: > Dwi, > > > >> Here is the code that I use: >> ... >> > I cannot reproduce the notice you are getting. > > Which version of RAP do you use? > The current (svn) version of InfRule.php could never generate this > notice on line 233. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Christian W. <cw...@cw...> - 2007-08-14 11:31:52
|
Dwi, > Here is the code that I use: > ... I cannot reproduce the notice you are getting. Which version of RAP do you use? The current (svn) version of InfRule.php could never generate this notice on line 233. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |
From: Dwi M. <edu...@gm...> - 2007-08-14 10:23:54
|
Hi Christian, I just try the example from http://sites.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/tests/test_infmodel.html. No change. I still learn how to use the InfModel. Here is the code that I use: $infModel= ModelFactory::getInfModelF('http://InfModelF.org'); //add new statements $infModel->add(new Statement(new Resource('http://example.org/bat'),new Resource('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'),new Resource('http://example.org/bas'))); $infModel->add(new Statement(new Resource('http://example.org/baz1'),new Resource('http://example.org/bat'),new Resource('http://example.org/baz2'))); echo '<B>Added the following Triples:</B><BR>'.htmlentities(' <http://example.org/baz1> <http://example.org/bat> <http://example.org/baz2> .').'<BR>'.htmlentities(' <http://example.org/bat> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://example.org/bas> . ').'<BR>'; //output the model as HTML table echo $infModel->writeAsHtmlTable(); $infModel->add(new Statement(new Resource('http://example.org/bat'),new Resource('http://www.w3.org/2000/01/rdf-schema#domain'),new Resource('http://example.org/Domain1'))); $infModel->add(new Statement(new Resource('http://example.org/bat'),new Resource('http://www.w3.org/2000/01/rdf-schema#range'),new Resource('http://example.org/Range1'))); echo '<B>Added the following Triples:</B><BR>'.htmlentities(' <http://example.org/bat> <http://www.w3.org/2000/01/rdf-schema#domain> <http://example.org/Domain1> .').'<BR>'.htmlentities(' <http://example.org/bat> <http://www.w3.org/2000/01/rdf-schema#range> <http://example.org/Range1> . ').'<BR>'; echo $infModel->writeAsHtmlTable(); Best regards, Dwi Christian Weiske schrieb: > Dwi, > > > >> I am doing diploma thesis and using RDF API PHP in my application. I >> try the example of InfModelF and I got error "Notice: "Object of >> class Resource could not be converted to int" in file >> \lib\rdfapi-php\api\infModel\InfRule.php (on line 233)" >> > Could you provide a small test script which reproduces the error? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Christian W. <cw...@cw...> - 2007-08-14 09:32:32
|
Dwi, > I am doing diploma thesis and using RDF API PHP in my application. I > try the example of InfModelF and I got error "Notice: "Object of > class Resource could not be converted to int" in file=20 > \lib\rdfapi-php\api\infModel\InfRule.php (on line 233)" Could you provide a small test script which reproduces the error? --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |