Hi all,
the URL to the DSP validator is:
purl.org/net/rdfval-demo
Thank you Karen.
It would be nice to have some sample data which I could integrate in the validator.
Cheers,
Thomas
--
Thomas Bosch, M.Sc. (TUM)
PhD Student
GESIS - Leibniz Institute for the Social Sciences
Social Science Metadata Standards
Visitors Address: B2,1, D-68159 Mannheim
Postal Address: P.O.Box 12 21 55, D-68072 Mannheim
Tel: + 49 (0) 621 / 1246-271
Fax: + 49 (0) 621 / 1246-100
Web: http://www.gesis.org
Website: http://boschthomas.blogspot.com/
GitHub: https://github.com/boschthomas/PhD
________________________________________
Von: DCMI Architecture Forum [[log in to unmask]]" im Auftrag von "Karen Coyle [[log in to unmask]]
Gesendet: Mittwoch, 3. September 2014 02:05
An: [log in to unmask]
Betreff: [RDF AP] Update to DSP validator
There was an RDF AP call this morning, and I will produce the minutes
ASAP, but I wanted to point out something that might not otherwise catch
peoples' eye: There has been an update to the DSP validator that Kai
Eckert and Thomas Bosch are working on, and you can now see examples of
DSP constraints, sample instance data, and you can modify the instance
data (or input your own) and see whether it validates.
The URL is: http://purl.org/net/rdf-validation
Click on the DSP link in the tan bar. Then you have the option of
Constraints, Data, or Validation. On any of those pages, scroll down
past the big blank box (which is waiting for your input), and below you
see some examples provided by Thomas and Kai. Here's one example for a
literal value constraint:
# ---------------
# Literal Value Constraints - Literal List Constraint
# different datatype
# -----
:personDescriptionTemplate
a dsp:DescriptionTemplate ;
dsp:minOccur "1"^^xsd:nonNegativeInteger ;
dsp:maxOccur "infinity"^^xsd:nonNegativeInteger ;
dsp:resourceClass foaf:Person ;
dsp:statementTemplate [
a dsp:LiteralStatementTemplate ;
dsp:minOccur "1"^^xsd:nonNegativeInteger ;
dsp:maxOccur "5"^^xsd:nonNegativeInteger ;
dsp:property foaf:name ;
dsp:literalConstraint [
a dsp:LiteralConstraint ;
dsp:literal "Tim Berners-Lee"@en ;
dsp:literal "Tim Berners-Lee"@de ;
dsp:literal "Tim Berners-Lee" ;
dsp:literal "Tim Berners- Lee"^^xsd:string ] ] .
This is, I think, the first demonstration of the DSP used for actual
validation. Today we discussed creating some sample data that would
allow one to compare validation with DSP, with OWL, and perhaps with
other constraint languages.
This is a real step forward, thanks to Thomas and Kai.
kc
--
Karen Coyle
[log in to unmask] http://kcoyle.net
m: 1-510-435-8234
skype: kcoylenet/+1-510-984-3600
|