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: Hannes G. <ha...@me...> - 2005-04-27 17:37:52
|
On Wed, 2005-04-27 at 17:52 +0200, Chris Bizer wrote: > I would love to have a decent RDF browser in RAP and to welcome you as RAP > developer. Great - hope we can meet your definition of "decent"! ;) > What is your sourceforge username so that I can add you as > developer? It's "gasserth". Thanks, Hannes PS: So you're in Berlin next week? |
From: Chris B. <bi...@ze...> - 2005-04-27 15:53:51
|
Hi Hannes, >> 3. Alberto wrote a SPARQL query language parser for PHP. >> http://gargonza.asemantics.org/downloads/sparql.php >> http://demo2.asemantics.com/rdf4food/sparql.html >> I'm still looking for somebody to update this parser for the new SPARQL >> syntax and write the actual query engine. I currently have nobody for >this. >> So it would be really cool if somebody from this list would volunteer. > >http://www.bnode.org/archives1/36 comes to mind.. ;-) > Oh great :-) Looks like we are just looking for somebody to steal code from different implementations and adapt it for RAP. Or maybe coordinate our efforts with Benjamin ;-) >> Q to Hannes Gassert: Right or do you want to distribute Arago as a >separate download? > >Chris, if you want to have my stuff in RAP (once you've seen a demo of >course.. ;-)) I'd certainly be fine with bundling it. Do you want to >give me CVS access or shall we organize that somehow differently? > I would love to have a decent RDF browser in RAP and to welcome you as RAP developer. I guess using the RAP CVS also is the easiest option for coordinating you and Tea IL. What is your sourceforge username so that I can add you as developer? Regards, Chris ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Rdfapi-php-interest mailing list Rdf...@li... https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Hannes G. <han...@de...> - 2005-04-27 12:13:36
|
Hi all, Chris, grand plans you're having for RAP! Sounds good. > 3. Alberto wrote a SPARQL query language parser for PHP. > http://gargonza.asemantics.org/downloads/sparql.php > http://demo2.asemantics.com/rdf4food/sparql.html > I'm still looking for somebody to update this parser for the new SPARQL > syntax and write the actual query engine. I currently have nobody for this. > So it would be really cool if somebody from this list would volunteer. http://www.bnode.org/archives1/36 comes to mind.. ;-) > Q to Hannes Gassert: Right or do you want to distribute Arago as a separate > download? Chris, if you want to have my stuff in RAP (once you've seen a demo of course.. ;-)) I'd certainly be fine with bundling it. Do you want to give me CVS access or shall we organize that somehow differently? Regards, Hannes |
From: Chris B. <bi...@ze...> - 2005-04-27 10:00:37
|
Hi Andy and all, first, welcome as new reader on this list. By the way, I'm currently planning how we will get Named Graphs and = SPARQL into the next RAP release and maybe you would comment on how our plans = fit with the DAWG and the Jena timeline. 1. Daniel Westphal will port NG4J to PHP and starting now and hopes to = be done mid May (including the API, TriX and a DB backend).=20 Q:Does Jena already have concrete plans on how to support Named Graphs? Maybe we could implement the same API. 2. Another Student (Ralf Jacob) will implement SPARQL protocol into our Joseki clone and might also implement a client library (remoteModel) and some access control mechanisms (graph, resource and predicate level). He will start 1st of June and might be done at the end of June. Q: Will the SPARQL protocol be stable enough by then for being = implemented? Q: Do you know of any other work on access control for RDF servers? 3. Alberto wrote a SPARQL query language parser for PHP.=20 http://gargonza.asemantics.org/downloads/sparql.php http://demo2.asemantics.com/rdf4food/sparql.html I'm still looking for somebody to update this parser for the new SPARQL syntax and write the actual query engine. I currently have nobody for = this. So it would be really cool if somebody from this list would volunteer. Q: Any guess on the timeline when the spec will be stable? 4. There are also two people (Hannes Gassert and Tae IL Erdmann) working = on an RDF browser implemented using RAP and Fresnel (http://simile.mit.edu/repository/fresnel/trunk/docs/manual/FresnelVocabu= lar y.htm) which might also become part of the next RAP release.=20 Q to Hannes Gassert: Right or do you want to distribute Arago as a = separate download? Chris --=20 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:rdf...@li...] Im Auftrag von Seaborne, Andy Gesendet: Mittwoch, 27. April 2005 10:55 An: Jonathan Hendler; rdf...@li... Betreff: [Rdfapi-php-interest] RE: Updating and Removing -------- Original Message -------- > From: Jonathan Hendler <mailto:hen...@ya...> > Date: 26 April 2005 20:59 >=20 > RAP is working well so far - >=20 > I am coming from a RDMS paradigm. >=20 > How would I update and delete entries? >=20 > For example: >=20 > Say i want to change the value of a parameter... >=20 > I would pass in a value to >=20 > $dbmodel->replace($s,$v,$o_old, $o_new)? >=20 > Can I change $s or $v if they are never an object of svo? >=20 > For delete >=20 >=20 > $dbmodel->remove($statement) - seems simple enough, but there may be a > collection of statements - how would I delete based on a query? >=20 > Now for a bigger question- >=20 > Why aren't Update and Delete part of RDQL? >=20 > (http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/) RDQL =3D RDF Data *Query* Language :-) RDQLPlus does have insert and delete=20 http://rdqlplus.sourceforge.net/ (Chris Wilper, Cornell University) Andy ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Rdfapi-php-interest mailing list Rdf...@li... https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Jonathan H. <hen...@ya...> - 2005-04-27 09:03:18
|
Seaborne, Andy wrote: > >-------- Original Message -------- > > >>From: Jonathan Hendler <mailto:hen...@ya...> >>Date: 26 April 2005 20:59 >> >>RAP is working well so far - >> >>I am coming from a RDMS paradigm. >> >>How would I update and delete entries? >> >>For example: >> >>Say i want to change the value of a parameter... >> >>I would pass in a value to >> >>$dbmodel->replace($s,$v,$o_old, $o_new)? >> >>Can I change $s or $v if they are never an object of svo? >> >>For delete >> >> >>$dbmodel->remove($statement) - seems simple enough, but there may be a >>collection of statements - how would I delete based on a query? >> >>Now for a bigger question- >> >>Why aren't Update and Delete part of RDQL? >> >>(http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/) >> >> > >RDQL = RDF Data *Query* Language :-) > >RDQLPlus does have insert and delete >http://rdqlplus.sourceforge.net/ >(Chris Wilper, Cornell University) > > Andy > > > hehe True, true. But the 'Q' in SQL isn't for James Bond gadget mastery either :) And it never hurts to query! (errr... ask) Thanks very much for the link! (I wonder if RAP could port this - I guess RAP wants to stick to w3c recommendations though) |
From: Seaborne, A. <and...@hp...> - 2005-04-27 08:55:09
|
-------- Original Message -------- > From: Jonathan Hendler <mailto:hen...@ya...> > Date: 26 April 2005 20:59 >=20 > RAP is working well so far - >=20 > I am coming from a RDMS paradigm. >=20 > How would I update and delete entries? >=20 > For example: >=20 > Say i want to change the value of a parameter... >=20 > I would pass in a value to >=20 > $dbmodel->replace($s,$v,$o_old, $o_new)? >=20 > Can I change $s or $v if they are never an object of svo? >=20 > For delete >=20 >=20 > $dbmodel->remove($statement) - seems simple enough, but there may be a > collection of statements - how would I delete based on a query? >=20 > Now for a bigger question- >=20 > Why aren't Update and Delete part of RDQL? >=20 > (http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/) RDQL =3D RDF Data *Query* Language :-) RDQLPlus does have insert and delete=20 http://rdqlplus.sourceforge.net/ (Chris Wilper, Cornell University) Andy |
From: Jonathan H. <hen...@ya...> - 2005-04-26 19:58:52
|
RAP is working well so far - I am coming from a RDMS paradigm. How would I update and delete entries? For example: Say i want to change the value of a parameter... I would pass in a value to $dbmodel->replace($s,$v,$o_old, $o_new)? Can I change $s or $v if they are never an object of svo? For delete $dbmodel->remove($statement) - seems simple enough, but there may be a collection of statements - how would I delete based on a query? Now for a bigger question- Why aren't Update and Delete part of RDQL? (http://www.w3.org/Submission/2004/SUBM-RDQL-20040109/) |
From: Jonathan H. <hen...@ya...> - 2005-04-26 19:14:09
|
Hi Richard, Thanks for your response. I've responded inline below: --- Richard Cyganiak <ri...@cy...> wrote: > Hi Jonathan, > > Am 26.04.2005 um 17:10 schrieb Jonathan Hendler: > [...] > > For example - in this case I want all all the mammals and their > > properties > > > > WHERE (?a, rdf:type, myns:Mammal) , (?b, rdfs:domain, ?a) > > > > ?a gives me instances of people and mammals > > but using the whole RDQL above doesn't work. > > Shouldn't ?b be the list of properties for at least Mammal, and maybe > > Persons > > too? > > No, because rdfs:domain connects properties to classes, not properties > to instances. It's > > myns:hasTeeth rdfs:domain myns:Mammal. > > and not > > myns:hasTeeth rdfs:domain ex:Richard. (where ex:richard is a > myns:Mammal). Right, so the problem seems to be the properties of subclasses. (?a rdf:type myns:mammal) , (?a rdf:type ?x), (?y rdfs:domain ?x) Is what I wanted. In the above case, ?a can be be instances of people or mammals, which I hope would be put into ?x. Then I would look for ?y (the properties) which have ?x (people and mammals as a domain) - but that doesn't seem to work either. Hmm. Even your query didn't work . I am using protege and it uses a different rdfs for a namespace, perhaps this is a problem. I used my own RDFS namespace but I guess rap didn't like it (it doesn't highlight as green when I print an html table) So I used createOntProperty() and addDomain to add the properties there. So that solved the first problem. > To get all properties of myns:Mammal, try this: > > WHERE (?property rdfs:domain myns:Mammal) > > To get all properties that are defined on some kind of mammal (like > myns:hasProperName), you would do something like this: I tried a new query and it worked. I didn't need to specify subClass because inferencing is on. WHERE (?a, rdf:type, myNS:Mammal) ,(?a, rdf:type, ?c) ,(?x, rdfs:domain, ?c) , (?a, ?x, ?y) This got the results I desired, because not only did I get properties, I was able to get the values of the properties. > WHERE (?property rdfs:domain ?class), (?class rdfs:subClassOf > myns:Mammal) > > (I didn't actually try anything of this.) > > Cheers, > Richard Thanks for the feedback. For you to show that something worked, that should have worked for me helped me figure out what the problem was! thanks again! |
From: Richard C. <ri...@cy...> - 2005-04-26 17:46:09
|
Hi Jonathan, Am 26.04.2005 um 17:10 schrieb Jonathan Hendler: [...] > For example - in this case I want all all the mammals and their > properties > > WHERE (?a, rdf:type, myns:Mammal) , (?b, rdfs:domain, ?a) > > ?a gives me instances of people and mammals > but using the whole RDQL above doesn't work. > Shouldn't ?b be the list of properties for at least Mammal, and maybe > Persons > too? No, because rdfs:domain connects properties to classes, not properties to instances. It's myns:hasTeeth rdfs:domain myns:Mammal. and not myns:hasTeeth rdfs:domain ex:Richard. (where ex:richard is a myns:Mammal). To get all properties of myns:Mammal, try this: WHERE (?property rdfs:domain myns:Mammal) To get all properties that are defined on some kind of mammal (like myns:hasProperName), you would do something like this: WHERE (?property rdfs:domain ?class), (?class rdfs:subClassOf myns:Mammal) (I didn't actually try anything of this.) Cheers, Richard |
From: Toni <to...@ko...> - 2005-04-26 17:00:19
|
Hello everybody, today i set up the netapi with all the config and mod_rewrite stuff and it worked... partly. I can fetch a hole model if i don't use any parameters, but if i use the fetch-method to query models, i only get a document containing one line, the rdf-declaration: <rdf:RDF xmlns:rdf=3D'http://www.w3.org/1999/02/22-rdf-syntax-ns#' /> So this is a valid rdf-document with no content and there is nothing in the apache error-logs. If i query the same model through the webinterface with the same query, i get valid results. If i try RDQL, for example: ?lang=3Drdql&query=3DSELECT%20?y%20WHERE%20(<http://domain.tld/ontology/per= son#personID20>,<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>,?y)&closu= re=3Dtrue i only get an empty page... is there anything i'm doing wrong? Thanks in advance, Anton K=F6stlbacher |
From: Jonathan H. <hen...@ya...> - 2005-04-26 16:10:36
|
This is an RDQL question. I have Two classes: Mammal and Person, where Person is a subclass of Mammal. Mammals have teeth, and Persons have the property of ProperName. Here's the dilema. In RDQL, using an INFmodel I ask: Get me all the Mammals - and it gets me the persons and mammlas correctly. But IF I specificy that once you get me the Mammals get me the properties and their values of people it doesn't match For example - in this case I want all all the mammals and their properties WHERE (?a, rdf:type, myns:Mammal) , (?b, rdfs:domain, ?a) ?a gives me instances of people and mammals but using the whole RDQL above doesn't work. Shouldn't ?b be the list of properties for at least Mammal, and maybe Persons too? |
From: Gunnar A. G. <ggr...@cs...> - 2005-04-26 08:06:18
|
The model table (paradigm?) allows you to have seperate collections of=20 triples. For instance, if you had multiple wikis on the same server, or=20 if different plugins wanted separate "storage" areas. You can think of=20 it as another layer of division below mysql (or whatever) databases=20 (mysql, test, etc). I've not written any of the RAP Db stuff, but I doubt it will work=20 without the models/namespace table. Could you not keep the tables, and if you really have no use for models=20 just make sure all your triples are in the same model? You migth find=20 that models are very helpful when you come to designing/implementing=20 stuff with this. AND if you keep them you get the added bonus of being able to export all=20 your data as RDF! :) There is a database admin tool included with the RAP download, this can=20 be used to inspect/edit/export/import etc. Have fun! - Gunnar Charles Nepote wrote: > Hi, >=20 > We would like to add triples to our wiki engine, to extend the data=20 > model without extending the SQL model. Thus, external developpers, for=20 > example, would be able to write plug-ins without modifying the SQL mode= l. >=20 > I looked for a database schema to store the triples and found RAP=20 > schema. If I understand, it seems to be good for us, except : > -- the "namespace" table : which seem to be no use for us > -- the "model" table : idem > -- and of course, the "modelID" field in the "statements" table >=20 > If we would use RAP schema, we could also use some of tools : to=20 > import/export datas, for example. >=20 > I would like to know what are the consequencies to drop "namespace" and= =20 > "model" tables : for RAP use ? for our wiki engine ? I am not sure to=20 > understand quite well the notion of "model"... I guess RAP tools won't=20 > work whithout it but I didn't understand why this notion is useful for = RAP. >=20 > I will pay attention to all remarks or ideas about adding a triplestore= =20 > in a wiki in general. > (see, in franch,=20 > http://www.wikini.net/wakka.php?wiki=3DDiscussionsModeleDeDonneesEvolut= if ) >=20 > Regards, > Charles N=E9pote > http://www.wikini.net/ >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest --=20 Gunnar AAstrand Grimnes ----------------------- Room 312, Computing Science Dept. University of Aberdeen Aberdeen AB24 3UE Mobile: (+44) (0) 7950 251379 Email: ggr...@cs... WWW: http://www.csd.abdn.ac.uk/~ggrimnes |
From: Chris B. <bi...@gm...> - 2005-04-26 08:02:50
|
Hi Charles, your ideas of extending your wiki with a triple store sounds very = similar to a paper Gregory Todd Williams has submitted to our SFSW workshop. The = paper is currently under reviewing, so I can't send it to you, but maybe = Gregory will send it to you directly if you ask him. Abstract of the paper: MT-Redland: An RDF Storage Backend for Movable Type Gregory Todd Williams gr...@ev... Abstract. Existing content management systems and weblogging tools are based on rigid database designs that suffer from a lack of = flexibility in the face of an ever increasing need for new types of structured data and metadata. By modifying these systems to use RDF as the native storage format, they may be easily extended in ways unimagined by the original designers. I present just such a system, a combination of the Movable Type weblogging tool and the Redland RDF Application Framework, showing examples of how the system can more easily adapt to diverse semantic annotation needs. Comments on the RAP db schema: The namespace table is used for being able to serialize RDF models with = the same namespace prefixes as used by the original models having been read = in. The model table is used to store the base uris of the different models = (if I remember right, Radek?). We will definitfly keep both in RAP, but maybe you don't want to use = them in your application. More information about relational schema for storing = RDF data is found in: http://www.w3.org/2001/sw/Europe/reports/scalable_rdbms_mapping_report/ = and http://www.w3.org/2001/sw/Europe/events/20031113-storage/ I really like the idea of extending existing systems with RDF = capabilities. Please keep us informed on how your efforts are developing. Chris --=20 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:rdf...@li...] Im Auftrag von Charles Nepote Gesendet: Dienstag, 26. April 2005 00:48 An: rdf...@li... Betreff: [Rdfapi-php-interest] Integration of the RAP database schema in = our wiki engine (WikiNi) Hi, We would like to add triples to our wiki engine, to extend the data=20 model without extending the SQL model. Thus, external developpers, for=20 example, would be able to write plug-ins without modifying the SQL = model. I looked for a database schema to store the triples and found RAP=20 schema. If I understand, it seems to be good for us, except : -- the "namespace" table : which seem to be no use for us -- the "model" table : idem -- and of course, the "modelID" field in the "statements" table If we would use RAP schema, we could also use some of tools : to=20 import/export datas, for example. I would like to know what are the consequencies to drop "namespace" and=20 "model" tables : for RAP use ? for our wiki engine ? I am not sure to=20 understand quite well the notion of "model"... I guess RAP tools won't=20 work whithout it but I didn't understand why this notion is useful for = RAP. I will pay attention to all remarks or ideas about adding a triplestore=20 in a wiki in general. (see, in franch,=20 http://www.wikini.net/wakka.php?wiki=3DDiscussionsModeleDeDonneesEvolutif= ) Regards, Charles N=E9pote http://www.wikini.net/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick _______________________________________________ Rdfapi-php-interest mailing list Rdf...@li... https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Charles N. <cha...@ne...> - 2005-04-25 22:47:32
|
Hi, We would like to add triples to our wiki engine, to extend the data=20 model without extending the SQL model. Thus, external developpers, for=20 example, would be able to write plug-ins without modifying the SQL model. I looked for a database schema to store the triples and found RAP=20 schema. If I understand, it seems to be good for us, except : -- the "namespace" table : which seem to be no use for us -- the "model" table : idem -- and of course, the "modelID" field in the "statements" table If we would use RAP schema, we could also use some of tools : to=20 import/export datas, for example. I would like to know what are the consequencies to drop "namespace" and=20 "model" tables : for RAP use ? for our wiki engine ? I am not sure to=20 understand quite well the notion of "model"... I guess RAP tools won't=20 work whithout it but I didn't understand why this notion is useful for RA= P. I will pay attention to all remarks or ideas about adding a triplestore=20 in a wiki in general. (see, in franch,=20 http://www.wikini.net/wakka.php?wiki=3DDiscussionsModeleDeDonneesEvolutif= ) Regards, Charles N=E9pote http://www.wikini.net/ |
From: Gunnar A. G. <ggr...@cs...> - 2005-04-25 12:18:25
|
Yes, the missing bit wsa the RDF type triple, you could also have fixed it by adding: $model->add(new Statement($person, $RDF_type, $FOAF_Person)) - gunnar Jonathan Hendler wrote: > Sorry, I guess there was no bug here.... At least this might help some > one who is similarly confused. > > I got the desired output with: > > $person = $model->createOntClass( "$modelURI2". "Person" ); > $sonia = $person->createInstance("$modelURI2". "Sonia"); > > > > Jonathan Hendler wrote: > >> Ok, so I take the res model and use getModel to get the underlying mem >> model, and I can add it to the database >> (sighs with relief) >> >> But, the RDFS generated is : >> >> <rdf:Description >> rdf:about="http://newscup.net/dev/hendler3#PersonInstance"> >> <ns2:hasTeeth>11</ns2:hasTeeth> >> <ns2:hasName>Sonia</ns2:hasName> >> </rdf:Description> >> >> And I want it to be: >> >> <ns2:Person rdf:about="http://newscup.net/dev/hendler3#PersonInstance"> >> <ns2:hasTeeth>11</ns2:hasTeeth> >> <ns2:hasName>Sonia</ns2:hasName> >> </ns2:Person> >> >> This is an important difference, isn't it? >> >> >> hen...@ya... wrote: >> >>> Perhaps I am doing something wrong? >>> >>> I am using php 4.3.10 on windoze. >>> >>> Summary: >>> >>> Can not create a RES model then add it to a DB/MEM model. >>> >>> Error(s): >>> >>> - function fails >>> "Call to undefined function: writeashtml() in..." >>> >>> - adding resource model to a memmodel, or db model fails >>> >>> "Fatal error: RDFAPI error (class: MemModel; method: addModel): Model >>> expected..." >>> >>> Code: >>> >>> $modelURI = "http://somwhere.net/something/" >>> $modelURI2 = $modelURI.'#'; >>> $rdfuri = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'; >>> $rdfsuri = 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'; >>> >>> >>> >>> // Create an empty Model >>> $model = ModelFactory::getResModel(MEMMODEL, $modelURI); >>> >>> >>> $mammalURI = $modelURI2.'Mammal'; >>> $personURI = $modelURI2.'Person'; >>> $rdfuriAbout = $model->createResource($rdfuri.'about'); >>> >>> $person = $model->createResource($personURI); >>> $mammal = $model->createResource($mammalURI); >>> >>> >>> $hasTeeth = $model->createProperty($modelURI2.'hasTeeth'); >>> $hasName = $model->createProperty($modelURI2.'hasName'); >>> >>> >>> //more code here >>> >>> >>> $model->writeAsHtml(); //fails >>> $model2 = new MemModel($modelURI); $model2->addModel($model); >>> //fails >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Rdfapi-php-interest mailing list >>> Rdf...@li... >>> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest >>> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Rdfapi-php-interest mailing list >> Rdf...@li... >> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest >> > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest -- Gunnar AAstrand Grimnes ----------------------- Room 312, Computing Science Dept. University of Aberdeen Aberdeen AB24 3UE Mobile: (+44) (0) 7950 251379 Email: ggr...@cs... WWW: http://www.csd.abdn.ac.uk/~ggrimnes |
From: Gunnar A. G. <ggr...@cs...> - 2005-04-25 12:17:47
|
Hi, It looks like something goes wrong with the identify of the person nodes you are creating. Coudl you let us see the php code which creates this problem? You might also want to look at RDFWorld, which gives you an easy, although not very scalable, way to map between rdf and php objects http://chxo.com/rdfworld/index.htm Good luck! - Gunnar hen...@ya... wrote: > Not sure if this problem I am having is obvious - I hope it is! > > What I would like to do is: > > --------------- > given an RDFS ontology (and later, OWL) I would like to be able to > easily create get, set, delete, and update functions - so that for any > class, their properties and inherited properties become part of simple > php functions to serve as APIs for other applications. > --------------- > > Problem: > > > If you create an RDFS class like "Person" - then you want to create > instances using the statement and resource API of RAP it appears that > instead of the desired > > < ns:Person about="ns:person1" ns:hasTeeth=14> > </person> > < ns:Person about="ns:person2" ns:hasTeeth=14> > </person> > > Using the statement api I ended up with one, completely incorrect > instance of a person > > < ns:Person about="ns:Person"> > <ns:hasTeeth =14 /> > <ns:hasTeeth =14 /> > </Person> > > I also ended up with unneeded(?) <Description... > tags. > > The ontology model looks like it understands classes and properties - > but I am reluctant to use the RAP ontology model because it looks to be > incomplete. > > > > RDFS example file: > > > <?xml version='1.0' encoding='UTF-8'?> > <!DOCTYPE rdf:RDF [ > <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> > <!ENTITY hendler3 'http://www.somewhere.net/hendler3#'> > <!ENTITY rdfs > 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'> > ]> > <rdf:RDF xmlns:rdf="&rdf;" > xmlns:hendler3="&hendler3;" > xmlns:rdfs="&rdfs;"> > <rdfs:Class rdf:about="&hendler3;Mammal" > rdfs:comment="A mamal" > rdfs:label="Mammal"> > <rdfs:subClassOf rdf:resource="&rdfs;Resource"/> > </rdfs:Class> > <rdfs:Class rdf:about="&hendler3;Person" > rdfs:comment="a person" > rdfs:label="Person"> > <rdfs:subClassOf rdf:resource="&hendler3;Mammal"/> > </rdfs:Class> > <rdf:Property rdf:about="&hendler3;hasName" > rdfs:comment="has name" > rdfs:label="hasName"> > <rdfs:domain rdf:resource="&hendler3;Person"/> > <rdfs:range rdf:resource="&rdfs;Literal"/> > </rdf:Property> > <rdf:Property rdf:about="&hendler3;hasTeeth" > rdfs:comment="has teeth" > rdfs:label="hasTeeth"> > <rdfs:domain rdf:resource="&hendler3;Mammal"/> > <rdfs:range rdf:resource="&rdfs;Literal"/> > </rdf:Property> > </rdf:RDF> > > > Desired RDF > > > > <?xml version='1.0' encoding='UTF-8'?> > <!DOCTYPE rdf:RDF [ > <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> > <!ENTITY hendler3 'http://www.somewhere.net/hendler3#'> > <!ENTITY rdfs > 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'> > ]> > <rdf:RDF xmlns:rdf="&rdf;" > xmlns:hendler3="&hendler3;" > xmlns:rdfs="&rdfs;"> > <hendler3:Mammal rdf:about="&hendler3;Doggy" > hendler3:hasTeeth="14" > rdfs:label="14"/> > <hendler3:Person rdf:about="&hendler3;Jonathan" > hendler3:hasName="Jonathan" > hendler3:hasTeeth="28" > rdfs:label="28"/> > <hendler3:Person rdf:about="&hendler3;Sonia" > hendler3:hasName="Sonia" > hendler3:hasTeeth="27" > rdfs:label="27"/> > </rdf:RDF> > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest -- Gunnar AAstrand Grimnes ----------------------- Room 312, Computing Science Dept. University of Aberdeen Aberdeen AB24 3UE Mobile: (+44) (0) 7950 251379 Email: ggr...@cs... WWW: http://www.csd.abdn.ac.uk/~ggrimnes |
From: Jonathan H. <hen...@ya...> - 2005-04-24 22:05:06
|
Referring to Gunnar's email, yes I would be interested. This would allow for easier building of decision making/optimization algorithms. Any other justifications? Has anyone looked at the features available in the PEAR graph package? It has a topological sort - and weights, but I don't think it's edges are named/weighted either. I gues then it would be technically called a "network". |
From: Jonathan <he...@si...> - 2005-04-24 21:53:25
|
*Duplicate key name 's_obj_idx'* often get this when creating db model for a new URI/model within an existing dbstore. |
From: Jonathan H. <hen...@ya...> - 2005-04-24 21:49:39
|
Sorry, I guess there was no bug here.... At least this might help some one who is similarly confused. I got the desired output with: $person = $model->createOntClass( "$modelURI2". "Person" ); $sonia = $person->createInstance("$modelURI2". "Sonia"); Jonathan Hendler wrote: > Ok, so I take the res model and use getModel to get the underlying mem > model, and I can add it to the database > (sighs with relief) > > But, the RDFS generated is : > > <rdf:Description > rdf:about="http://newscup.net/dev/hendler3#PersonInstance"> > <ns2:hasTeeth>11</ns2:hasTeeth> > <ns2:hasName>Sonia</ns2:hasName> > </rdf:Description> > > And I want it to be: > > <ns2:Person rdf:about="http://newscup.net/dev/hendler3#PersonInstance"> > <ns2:hasTeeth>11</ns2:hasTeeth> > <ns2:hasName>Sonia</ns2:hasName> > </ns2:Person> > > This is an important difference, isn't it? > > > hen...@ya... wrote: > >> Perhaps I am doing something wrong? >> >> I am using php 4.3.10 on windoze. >> >> Summary: >> >> Can not create a RES model then add it to a DB/MEM model. >> >> Error(s): >> >> - function fails >> "Call to undefined function: writeashtml() in..." >> >> - adding resource model to a memmodel, or db model fails >> >> "Fatal error: RDFAPI error (class: MemModel; method: addModel): Model >> expected..." >> >> Code: >> >> $modelURI = "http://somwhere.net/something/" >> $modelURI2 = $modelURI.'#'; >> $rdfuri = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'; >> $rdfsuri = 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'; >> >> >> >> // Create an empty Model >> $model = ModelFactory::getResModel(MEMMODEL, $modelURI); >> >> >> $mammalURI = $modelURI2.'Mammal'; >> $personURI = $modelURI2.'Person'; >> $rdfuriAbout = $model->createResource($rdfuri.'about'); >> >> $person = $model->createResource($personURI); >> $mammal = $model->createResource($mammalURI); >> >> >> $hasTeeth = $model->createProperty($modelURI2.'hasTeeth'); >> $hasName = $model->createProperty($modelURI2.'hasName'); >> >> >> //more code here >> >> >> $model->writeAsHtml(); //fails >> $model2 = new MemModel($modelURI); $model2->addModel($model); >> //fails >> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Rdfapi-php-interest mailing list >> Rdf...@li... >> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest >> > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Jonathan H. <hen...@ya...> - 2005-04-24 21:04:02
|
Ok, so I take the res model and use getModel to get the underlying mem model, and I can add it to the database (sighs with relief) But, the RDFS generated is : <rdf:Description rdf:about="http://newscup.net/dev/hendler3#PersonInstance"> <ns2:hasTeeth>11</ns2:hasTeeth> <ns2:hasName>Sonia</ns2:hasName> </rdf:Description> And I want it to be: <ns2:Person rdf:about="http://newscup.net/dev/hendler3#PersonInstance"> <ns2:hasTeeth>11</ns2:hasTeeth> <ns2:hasName>Sonia</ns2:hasName> </ns2:Person> This is an important difference, isn't it? hen...@ya... wrote: > Perhaps I am doing something wrong? > > I am using php 4.3.10 on windoze. > > Summary: > > Can not create a RES model then add it to a DB/MEM model. > > Error(s): > > - function fails > "Call to undefined function: writeashtml() in..." > > - adding resource model to a memmodel, or db model fails > > "Fatal error: RDFAPI error (class: MemModel; method: addModel): Model > expected..." > > Code: > > $modelURI = "http://somwhere.net/something/" > $modelURI2 = $modelURI.'#'; > $rdfuri = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'; > $rdfsuri = 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'; > > > > // Create an empty Model > $model = ModelFactory::getResModel(MEMMODEL, $modelURI); > > > $mammalURI = $modelURI2.'Mammal'; > $personURI = $modelURI2.'Person'; > $rdfuriAbout = $model->createResource($rdfuri.'about'); > > $person = $model->createResource($personURI); > $mammal = $model->createResource($mammalURI); > > > $hasTeeth = $model->createProperty($modelURI2.'hasTeeth'); > $hasName = $model->createProperty($modelURI2.'hasName'); > > > //more code here > > > $model->writeAsHtml(); //fails > $model2 = new MemModel($modelURI); $model2->addModel($model); //fails > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: <hen...@ya...> - 2005-04-24 19:31:48
|
Not sure if this problem I am having is obvious - I hope it is! What I would like to do is: --------------- given an RDFS ontology (and later, OWL) I would like to be able to easily create get, set, delete, and update functions - so that for any class, their properties and inherited properties become part of simple php functions to serve as APIs for other applications. --------------- Problem: If you create an RDFS class like "Person" - then you want to create instances using the statement and resource API of RAP it appears that instead of the desired < ns:Person about="ns:person1" ns:hasTeeth=14> </person> < ns:Person about="ns:person2" ns:hasTeeth=14> </person> Using the statement api I ended up with one, completely incorrect instance of a person < ns:Person about="ns:Person"> <ns:hasTeeth =14 /> <ns:hasTeeth =14 /> </Person> I also ended up with unneeded(?) <Description... > tags. The ontology model looks like it understands classes and properties - but I am reluctant to use the RAP ontology model because it looks to be incomplete. RDFS example file: <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE rdf:RDF [ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> <!ENTITY hendler3 'http://www.somewhere.net/hendler3#'> <!ENTITY rdfs 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'> ]> <rdf:RDF xmlns:rdf="&rdf;" xmlns:hendler3="&hendler3;" xmlns:rdfs="&rdfs;"> <rdfs:Class rdf:about="&hendler3;Mammal" rdfs:comment="A mamal" rdfs:label="Mammal"> <rdfs:subClassOf rdf:resource="&rdfs;Resource"/> </rdfs:Class> <rdfs:Class rdf:about="&hendler3;Person" rdfs:comment="a person" rdfs:label="Person"> <rdfs:subClassOf rdf:resource="&hendler3;Mammal"/> </rdfs:Class> <rdf:Property rdf:about="&hendler3;hasName" rdfs:comment="has name" rdfs:label="hasName"> <rdfs:domain rdf:resource="&hendler3;Person"/> <rdfs:range rdf:resource="&rdfs;Literal"/> </rdf:Property> <rdf:Property rdf:about="&hendler3;hasTeeth" rdfs:comment="has teeth" rdfs:label="hasTeeth"> <rdfs:domain rdf:resource="&hendler3;Mammal"/> <rdfs:range rdf:resource="&rdfs;Literal"/> </rdf:Property> </rdf:RDF> Desired RDF <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE rdf:RDF [ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> <!ENTITY hendler3 'http://www.somewhere.net/hendler3#'> <!ENTITY rdfs 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'> ]> <rdf:RDF xmlns:rdf="&rdf;" xmlns:hendler3="&hendler3;" xmlns:rdfs="&rdfs;"> <hendler3:Mammal rdf:about="&hendler3;Doggy" hendler3:hasTeeth="14" rdfs:label="14"/> <hendler3:Person rdf:about="&hendler3;Jonathan" hendler3:hasName="Jonathan" hendler3:hasTeeth="28" rdfs:label="28"/> <hendler3:Person rdf:about="&hendler3;Sonia" hendler3:hasName="Sonia" hendler3:hasTeeth="27" rdfs:label="27"/> </rdf:RDF> |
From: <hen...@ya...> - 2005-04-24 18:01:07
|
Perhaps I am doing something wrong? I am using php 4.3.10 on windoze. Summary: Can not create a RES model then add it to a DB/MEM model. Error(s): - function fails "Call to undefined function: writeashtml() in..." - adding resource model to a memmodel, or db model fails "Fatal error: RDFAPI error (class: MemModel; method: addModel): Model expected..." Code: $modelURI = "http://somwhere.net/something/" $modelURI2 = $modelURI.'#'; $rdfuri = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'; $rdfsuri = 'http://www.w3.org/TR/1999/PR-rdf-schema-19990303#'; // Create an empty Model $model = ModelFactory::getResModel(MEMMODEL, $modelURI); $mammalURI = $modelURI2.'Mammal'; $personURI = $modelURI2.'Person'; $rdfuriAbout = $model->createResource($rdfuri.'about'); $person = $model->createResource($personURI); $mammal = $model->createResource($mammalURI); $hasTeeth = $model->createProperty($modelURI2.'hasTeeth'); $hasName = $model->createProperty($modelURI2.'hasName'); //more code here $model->writeAsHtml(); //fails $model2 = new MemModel($modelURI); $model2->addModel($model); //fails |
From: Burkhard S. <dev...@gm...> - 2005-04-18 15:28:21
|
Hello, I have a question concerning validation of RDF models against RDF Schema. Is this feature supported by RDF API ? Thanks. -- +++ GMX - Die erste Adresse für Mail, Message, More +++ 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail -- +++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++ GMX Garantie: Surfen ohne Tempo-Limit! http://www.gmx.net/de/go/dsl |
From: Radoslaw O. <ra...@gm...> - 2005-04-14 15:46:16
|
Hi Rudy, notice that all literals in your model are datatyped so you have to = consider it in your queries. In your example, the correct query should be: select ?fullname where(?x, = <person:lastName>,"Rusli"^^<http://www.w3.org/2001/XMLSchema#string>) (?x,<person:name>,?fullname) using owl for <http://www.w3.org/2002/07/owl#> person for <http://ebiquity.umbc.edu/v2.1/ontology/person.owl#> This should work fine. Cheers Radek ----- Original Message -----=20 From: rudy rusli=20 To: rdf...@li...=20 Sent: Thursday, April 14, 2005 3:25 AM Subject: [Rdfapi-php-interest] RDQL Query hi, i am new to RAP API. At the moment, i have developed my OWL model in protege 3.1 beta. and managed to load the model by using RAP. but, when i tried to query to return a student's full name, it always says 'no match'. This is what I wrote for the query : $rdql_query=3D'select ?fullname where(?x, <person:lastName>,"Rusli") (?x,<person:name>,?fullname) using owl for <http://www.w3.org/2002/07/owl#> person for <http://ebiquity.umbc.edu/v2.1/ontology/person.owl#> '; $res=3D$model->rdqlQuery($rdql_query); RdqlEngine::writeQueryResultAsHtmlTable($res); and this is my OWL model: <?xml version=3D"1.0"?> <rdf:RDF = xmlns:assoc=3D"http://ebiquity.umbc.edu/v2.1/ontology/association.owl#" = xmlns:research=3D"http://ebiquity.umbc.edu/v2.1/ontology/research.owl#" xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema#" = xmlns:pub=3D"http://ebiquity.umbc.edu/v2.1/ontology/publication.owl#" xmlns:rdfs=3D"http://www.w3.org/2000/01/rdf-schema#" xmlns:owl=3D"http://www.w3.org/2002/07/owl#" xmlns=3D"http://ebiquity.umbc.edu/v2.1/ontology/project.owl#" = xmlns:contact=3D"http://ebiquity.umbc.edu/v2.1/ontology/contact.owl#" xmlns:cc=3D"http://web.resource.org/cc/#" xmlns:person=3D"http://ebiquity.umbc.edu/v2.1/ontology/person.owl#" xml:base=3D"http://ebiquity.umbc.edu/v2.1/ontology/project.owl" > <rdf:Description rdf:about=3D""> <owl:imports rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/contact.owl#"/> <owl:imports rdf:resource=3D"#"/> <rdf:type rdf:resource=3D"http://www.w3.org/2002/07/owl#Ontology"/> <owl:imports rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/research.owl#"/> <owl:imports rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/person.owl#"/> <owl:imports rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/publication.owl#"/= > <owl:imports rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/association.owl#"/= > </rdf:Description> <rdf:Description rdf:about=3D"#RudyRusli"> <person:name rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Rudy Rusli</person:name> <person:biography rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Rudy Rusli is a master student at Curtin Uni</person:biography> <person:firstName rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Rudy</person:fir= stName> <person:lastName rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Rusli</person:la= stName> <rdf:type = rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/person.owl#MSStude= nt"/> </rdf:Description> <rdf:Description rdf:about=3D"#DedySyamsuar"> <person:lastName rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Syamsuar</person= :lastName> <person:firstName rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Dedy</person:fir= stName> <rdf:type = rdf:resource=3D"http://ebiquity.umbc.edu/v2.1/ontology/person.owl#MSStude= nt"/> <person:name rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Dedy Syamsuar</person:name> <person:biography rdf:datatype=3D"http://www.w3.org/2001/XMLSchema#string">Dedi is a student at curtin uni</person:biography> </rdf:Description> </rdf:RDF> <!-- Created with Protege (with OWL Plugin 2.0 beta, Build 245)=20 http://protege.stanford.edu --> can somebody help me in correcting my query ? thank you rudy rusli ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick _______________________________________________ Rdfapi-php-interest mailing list Rdf...@li... https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Richard C. <ri...@cy...> - 2005-04-14 14:17:23
|
Hi Rudy, Am 14.04.2005 um 02:25 schrieb rudy rusli: > select ?fullname > where(?x, <person:lastName>,"Rusli") > (?x,<person:name>,?fullname) > using owl for <http://www.w3.org/2002/07/owl#> > person for <http://ebiquity.umbc.edu/v2.1/ontology/person.owl#> Not sure if this is the problem, but note that only URIs go into angle brackets, and not QNames. That is, you either write <http://ebiquity.umbc.edu/v2.1/ontology/person.owl#name> with angle brackets, or the abbreviated person:name without angle brackets. > thank you > rudy rusli Cheers, Richard |