-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
explain the context attribute #36
base: main
Are you sure you want to change the base?
Conversation
I don't think that description for context can be correct. For example, asking for a set of instances, I get
I really don't know what that |
Why not? I think it is consistent with the response. If I fetch the URL {
"@context": {
"equivalentClass": {
"@id": "http://www.w3.org/2002/07/owl#equivalentClass",
"@type": "@id"
},
"subClassOf": {
"@id": "http://www.w3.org/2000/01/rdf-schema#subClassOf",
"@type": "@id"
},
"superClassOf": {
"@reverse": "http://www.w3.org/2000/01/rdf-schema#subClassOf",
"@type": "@id"
},
"type": "@type",
"hasInstance": {
"@reverse": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"@type": "@id"
},
"isSatisfiable": {
"@id": "http://purl.org/phenoscape/owlery.owl#isSatisfiable",
"@type": "http://www.w3.org/2001/XMLSchema#boolean"
},
"value": {
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#value"
},
"version": {
"@id": "http://www.w3.org/2002/07/owl#versionIRI",
"@type": "@id"
},
"imports": {
"@id": "http://www.w3.org/2002/07/owl#imports",
"@type": "@id"
}
}
} Within this, the {
"@reverse": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"@type": "@id"
} Fetching rdf:type a rdf:Property ;
rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
rdfs:label "type" ;
rdfs:comment "The subject is an instance of a class." ;
rdfs:range rdfs:Class ;
rdfs:domain rdfs:Resource . So it seems that the In other words, this is saying that that x |
This is a similar example in the JSON-LD spec: https://json-ld.org/spec/latest/json-ld/#example-55-using-reverse-to-define-reverse-properties |
OK, I think I see: |
No description provided.