At least one property (jdx:formattedDescription) must accommodate HTML tagging. This can be accomplished by using the rdf:HTML datatype; e.g.:
@prefix jdx: <http://purl.org/jdx/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://example.org/1234> a jdx:JobPosting;
jdx:formattedDescription "<li><strong>Excellent typing skills required</strong></li>"^^rdf:HTML .
{
"@context": {
"jdx": "http://purl.org/jdx/terms/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@id": "http://example.org/1234",
"@type": "jdx:JobPosting",
"jdx:formattedDescription": {
"@type": "rdf:HTML",
"@value": "<li><strong>Excellent typing skills required</strong></li>"
}
}
At least one property (jdx:formattedDescription) must accommodate HTML tagging. This can be accomplished by using the
rdf:HTMLdatatype; e.g.:Turtle
JSON-LD