Hi,

My server would get requests containing various RDF representations like 
Turtle, RDF/XML, N3, etc and getting a "representation" attribute which tells 
in what format the RDF is. On the server i need to check the validity of RDF 
representation such that it each content conforms to the syntax defined by the 
"representation" attribute.

So I need to check if "representation" says:

 RDF/XML then the content conforms to RDF/XML synatx.
 Turtle then the content conforms to TURTLE synatx.

Is there an easy way to do this in Apache Jena ? 

I saw SHACL (SHApe Constraint Language) implementation in Jena but that 
validates like against a Schema.


Reply via email to