Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply validation #18

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments
Open

apply validation #18

GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

See for example 
http://stackoverflow.com/questions/12979797/how-to-validate-a-rdf-with-your-rdf-
schema

Apply after transform removed the original data and wrote the output. Try to 
use the prefix mapping to know against which schema(s) validation should happen.

Original issue reported on code.google.com by [email protected] on 16 Apr 2013 at 7:55

@GoogleCodeExporter
Copy link
Author

Tried http://www.langdale.com.au/validate/ 
but http://vocab.org/bio/0.1/.rdf causes a null pointer exception and 
http://xmlns.com/foaf/spec/20100809.rdf causes
org.xml.sax.SAXParseException: [SM] Property element 
http://www.w3.org/2000/01/rdf-schema#subClassOf has invalid attribute 
'QNAME[http://www.w3.org/2000/01/rdf-schema#,label]'. Only rdf:resource is 
allowed.

An alternative could be on http://clarkparsia.com/pellet/tutorial/ especialy 
sheet 59 seems to address the issue.

Original comment by [email protected] on 9 May 2013 at 8:33

@GoogleCodeExporter
Copy link
Author

waits for new release of Jena, see 
http://mail-archives.apache.org/mod_mbox/jena-users/201305.mbox/%3C518FE79C.8010
[email protected]%3E

Original comment by [email protected] on 13 May 2013 at 10:44

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

implemented the jena upgrade to overcome a nullpointer exception, but the OWL 
reasoner does not signal any of the expected errors in the invalid test input. 
See 
https://code.google.com/p/gedcom2sem/source/browse/#svn%2Ftrunk%2Fsrc%2Ftest%2Fr
esources%2Finvalid
https://code.google.com/p/gedcom2sem/source/browse/trunk/src/test/java/gedcom2se
m/semweb/ValidationTest.java

No succes yet in getting the pellet alternative compiling. 

Original comment by [email protected] on 22 May 2013 at 7:45

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Some wrong expectations about validation are clearly explained on 
http://www.amberdown.net/2009/09/faq-using-rdfs-or-owl-as-a-schema-language-for-
validating-rdf/ 

but at least a resource being its own mother should violate the fact that  
http://vocab.org/bio/0.1/.html#mother is a sub property of 
http://www.w3.org/2002/07/owl#differentFrom

Original comment by [email protected] on 22 May 2013 at 12:06

  • Changed state: Started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant