@prefix rr: . @prefix foaf: . @prefix ex: . @prefix xsd: . @prefix rml: . @prefix ql: . @prefix rdf: . @base . @prefix d2rq: . a rr:TriplesMap; rml:logicalSource [ rml:source <#DB_source>; rr:sqlVersion rr:SQL2008; rr:tableName "student"; ]; rr:subjectMap [ rr:template "http://example.com/Student/{ID}/{Name}"; rr:graphMap [ rr:template "http://example.com/graph/Student/{ID}/{Name}" ] ]; rr:predicateObjectMap [ rr:predicate rdf:type ; rr:object foaf:Person; ]; rr:predicateObjectMap [ rr:predicate ex:id ; rr:objectMap [ rml:reference "ID" ] ]; rr:predicateObjectMap [ rr:predicate foaf:name ; rr:objectMap [ rml:reference "Name" ] ]; rr:predicateObjectMap [ rr:predicate ex:Sport ; rr:objectMap [ rml:reference "Sport" ] ] . <#DB_source> a d2rq:Database; d2rq:jdbcDSN "CONNECTIONDSN"; d2rq:jdbcDriver "com.mysql.cj.jdbc.Driver"; d2rq:username "root"; d2rq:password "" .