Home
New Endpoint
Request Log
Archive
Edit endpoint: student-sport
This is where you can edit your own little (un)semantic endpoint.
Title
Choose a distinct title for your endpoint
Input format
Choose an input format for your endpoint
JSON
XML
Output format
Choose a graph output format for your endpoint
turtle
application/rdf+xml
rdf+pretty-xml
Response URL
Where should we send the semantic data after validation and transformation?
Headers
RML
RML in Turtle (ttl) format for transforming input data to semantic triples data
@prefix rr: <http://www.w3.org/ns/r2rml#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix ex: <http://example.com/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rml: <http://semweb.mmlab.be/ns/rml#> . @prefix ql: <http://semweb.mmlab.be/ns/ql#> . @base <http://example.com/base/> . <TriplesMap1> a rr:TriplesMap; rml:logicalSource [ rml:source "student_sport.json"; rml:referenceFormulation ql:JSONPath; rml:iterator "$.students[*]" ]; rr:subjectMap [ rr:template "http://example.com/{Student}"; rr:class ex:Student ]; rr:predicateObjectMap [ rr:predicate foaf:name ; rr:objectMap [ rml:reference "Student" ] ]. <TriplesMap2> a rr:TriplesMap; rml:logicalSource [ rml:source "student_sport.json"; rml:referenceFormulation ql:JSONPath; rml:iterator "$.students[*]" ]; rr:subjectMap [ rr:template "http://example.com/{Sport}"; rr:class ex:Sport ]; rr:predicateObjectMap [ rr:predicate foaf:name ; rr:objectMap [ rml:reference "Sport" ] ]. <LinkMap_1_2> a rr:TriplesMap; rml:logicalSource [ rml:source "student_sport.json"; rml:referenceFormulation ql:JSONPath; rml:iterator "$.students[*]" ]; rr:subjectMap [ rr:template "http://example.com/{Student}"; ]; rr:predicateObjectMap [ rr:predicate ex:plays; rr:objectMap [ rr:template "http://example.com/{Sport}" ] ].
XSD Schema
XSD schema for validating incoming messages
JSON Schema
JSON schema for validating incoming messages