User:Dtomaszu/Link Relation Types with WebID
Full WebID Profile
Inspired by Additional Link Relation Types.
Turtle
HTTP/1.1 200 OK Content-Type: text/turtle Link: <https://bob.example/profile#me>; rel="about", <http://xmlns.com/foaf/0.1/Person>; rel="type" @prefix cert: <http://www.w3.org/ns/auth/cert#>. @prefix ns: <http://xmlns.com/foaf/0.1/>. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. <https://bob.example/profile#me> ns:name "Bob"; ns:knows <https://example.edu/p/Alois#MSc>; cert:key [ a cert:RSAPublicKey; rdf:label "made on 23 November 2011 on my laptop"; cert:exponent 65537; cert:modulus "cb24ed85d64d794b69c70..."^^<http://www.w3.org/2001/XMLSchema#hexBinary> ].
N-Triples
HTTP/1.1 200 OK Content-Type: application/n-triples Link: <https://bob.example/profile#me>; rel="about", <http://xmlns.com/foaf/0.1/Person>; rel="type" <https://bob.example/profile#me> <http://xmlns.com/foaf/0.1/name> "Bob". <https://bob.example/profile#me> <http://xmlns.com/foaf/0.1/knows> <https://example.edu/p/Alois#MSc>. _:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/auth/cert#RSAPublicKey>. _:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> "made on 23 November 2011 on my laptop". _:a <http://www.w3.org/ns/auth/cert#modulus> "cb24ed85d64d794b69c70..."^^<http://www.w3.org/2001/XMLSchema#hexBinary>. _:a <http://www.w3.org/ns/auth/cert#exponent> "65537"^^<http://www.w3.org/2001/XMLSchema#integer>. <https://bob.example/profile#me> <http://www.w3.org/ns/auth/cert#key> _:a.
RSA Public Key only
N-Triples
HTTP/1.1 200 OK Content-Type: application/n-triples Link: <https://bob.example/profile#key>; rel="about", <http://www.w3.org/ns/auth/cert#RSAPublicKey>; rel="type" <https://bob.example/profile#key> <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> "made on 23 November 2011 on my laptop". <https://bob.example/profile#key> <http://www.w3.org/ns/auth/cert#modulus> "cb24ed85d64d794b69c70..."^^<http://www.w3.org/2001/XMLSchema#hexBinary>. <https://bob.example/profile#key> <http://www.w3.org/ns/auth/cert#exponent> "65537"^^<http://www.w3.org/2001/XMLSchema#integer>.