Hi Marmotta-Users,

   Sorry for the newbie question … I crawled through the old mailing lists but 
haven’t been able to put this together. How do I query the LDPath data both via 
a path and program?

   Let’s say,
 My server is : http://server.com/marmotta
 My input context is : http://server.com/marmotta/context/people
 My LDPath program is :
---------
@prefix foaf : <http://xmlns.com/foaf/0.1/> ;
friends    = foaf:knows / (foaf:name | fn:concat(foaf:givename," 
",foaf:surname)) :: xsd:string;
---------

Am I correct in reading that I can save this program to marmotta and run it as 
I wish by referencing it (like a function)?

How would I also run it via curl call by attaching it as the message via 
POST/GET or inline string?

Wishlist: It would be great if in the various web service interfaces api pages 
to the data (Sparql, LDPath, Security), marmotta could actually give the full 
resource name. The _SERVER_URI_ is known as is the base path. If it showed full 
examples that were expanded with references to either default context or the 
first non-standard one that would Greatly help. :)

Sorry for pestering and thank you in advance!

-Joshua


Joshua Dunham
Scientific Computing | Vertex
E: joshua_dun...@vrtx.com
P: 617-229-5157
W: http://www.vrtx.com
L: http://linkedin.com/in/joshuadunham
S: joshua.dunham

This email message and any attachments are confidential and intended for use by 
the addressee(s) only. If you are not the intended recipient, please notify me 
immediately by replying to this message, and destroy all copies of this message 
and any attachments. Thank you.

Reply via email to