Author: wikier
Date: Mon Apr 27 08:43:01 2015
New Revision: 1676220

URL: http://svn.apache.org/r1676220
Log:
fixed some markup details

Modified:
    marmotta/site/trunk/content/markdown/platform/ldpath-module.md.vm

Modified: marmotta/site/trunk/content/markdown/platform/ldpath-module.md.vm
URL: 
http://svn.apache.org/viewvc/marmotta/site/trunk/content/markdown/platform/ldpath-module.md.vm?rev=1676220&r1=1676219&r2=1676220&view=diff
==============================================================================
--- marmotta/site/trunk/content/markdown/platform/ldpath-module.md.vm (original)
+++ marmotta/site/trunk/content/markdown/platform/ldpath-module.md.vm Mon Apr 
27 08:43:01 2015
@@ -4,7 +4,8 @@
 
 This module provides [LDPath](../ldpath) support in the Marmotta plaform.
 
-## Protocol
+Protocol
+--------
 
 LDPath querying is exposed via a simple RESTful protocol, using JSON for
 describing the results. Programs can be evaluated using either `GET` or 
@@ -20,12 +21,13 @@ The results' schema is very simple:
   and a `type` with its type (`uri`/`bnode`/`literal`); optionally literals 
could
   come typed with `lang` and/or `datatype`.
 
-## Example
+Example
+-------
 
 Let's use this very simple program as example, one that lists all the friend
 of a concrete URI. Using cURL the request will lool like:
 
-    curl -X POST --data ' @prefix foaf: <http://xmlns.com/foaf/0.1/> 
friends=foaf:knows/foaf:name ; ' 
'http://localhost:8080/marmotta/ldpath/program?uri=http%3A%2F%2Fwww.wikier.org%2Ffoaf%23wikier'
 -H 'Content-Type: text/plain'
+    curl -X POST --data ' @prefix foaf: <http://xmlns.com/foaf/0.1/> 
friends=foaf:knows/foaf:name ; ' -H 'Content-Type: text/plain' 
'http://localhost:8080/marmotta/ldpath/program?uri=http%3A%2F%2Fwww.wikier.org%2Ffoaf%23wikier'
 
 and should return something like:
 


Reply via email to