|
Hi, I need to indicate that there are some errors and warnings in user html code and also I want to save them as triples. So I think it will be something like: |
|
I am not sure to get the full context of your scenario, but my approach would be to create a simple ontology for error and warning. Error and Warning would be top classes. You can refine the meaning the errors and warning by subclassing the top classes if needed. You can additional properties such as error message and location of error or warning (such as XPath). |


Possibly relevant: http://answers.semanticweb.com/questions/18895/logging-to-rdf-file