Salut,
Je précise encore une fois que je suis très débutant dans le domaine du RDF.
J'ai le fichier notation 3 suivant :
Je comprend pas bien ce que fait le _:certificate.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix cert: <http://www.w3.org/ns/auth/cert#> . @prefix rsa: <http://www.w3.org/ns/auth/rsa#> . @prefix dct: <http://purl.org/dc/terms/> . @prefix earl: <http://www.w3.org/ns/earl#> . @prefix log: <http://www.w3.org/2000/10/swap/log#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix wit: <http://www.w3.org/2005/Incubator/webid/earl/RelyingParty#> . _:certificate a cert:Certificate; rdfs:comment "The certificate containing the claims and for which the private key was verified"; cert:base64der "MIIMIICMjCCAZugAwIBAgIGATJ8skgWMA0GCSqGSIb3DQEBCwUAMA0xCz...A"; cert:principal_key _:publicKey; log:semantics [ log:includes _:certWebIDClaim_1 ] .
Cela créé un namespace "_" ?
Un peu plus loin dans le document :
Ici le sujet est [] ? Cela fait référence au document actuel ? Je pensais que c'était <>.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 [] a earl:Assertion; earl:subject _:certificate; earl:test wit:certificateProvidedSAN; earl:result [ a earl:TestResult; dct:description ""; earl:outcome earl:passed; earl:pointer "http://example.tld/card#me"^^xsd:anyUri, "mailto:joe@smith.example"^^xsd:anyUri ] .
Merci d'avance !
Partager