semsol/arc2 — pull request #56 by cgutteridge (2013-07-18 12:07:26+00:00)
Title: Fixes odd bug where a bnode gets a datatype due to it not being cleared from previous triple.

Example Data which failed to parse currectly:
(the bnodes for dsp:statementTemplate got a datatype)

@prefix skos: .
@prefix owl: .
@prefix dcterms: .
@prefix oo: .
@prefix foaf: .
@prefix vcard: .
@prefix org: .

@prefix xsd: .
@prefix dsp: .
@prefix : .

oo:OrganizationProfileDocument rdfs:label "Organization Profile Document" .

:OrganizationProfileDocument
a dsp:DescriptionTemplate ;
rdfs:label "Organization Profile Document Top-Level Template" ;
dsp:standalone "true"^^xsd:boolean ;
dsp:resourceClass oo:OrganizationProfileDocument ;
dsp:minOccur "1"^^xsd:nonNegativeInteger ;
dsp:maxOccur "1"^^xsd:nonNegativeIntegerY ;
dsp:statementTemplate [
a dsp:nonLiteralStatementTemplate ;
dsp:minOccur "1"^^xsd:nonNegativeInteger ;
dsp:maxOccur "1"^^xsd:nonNegativeIntegerX ;
dsp:property foaf:primaryTopic ;
dsp:nonLiteralConstraint [
a dsp:NonLiteralConstraint ;
dsp:descriptionTemplate :Organization .
] .
] ;
dsp:statementTemplate [
a dsp:nonLiteralStatementTemplate ;
dsp:minOccur "0"^^xsd:nonNegativeInteger ;
dsp:maxOccur "1"^^xsd:nonNegativeInteger ;
dsp:property dcterms:license .
] .

:Organization
a dsp:DescriptionTemplate ;
dsp:standalone "false"^^xsd:boolean ;
dsp:resourceClass foaf:Organization, org:Organization .