The RDF representation of an entity should include all redirects to the entity, represented using owl:sameas in RDF.
Version: unspecified
Severity: enhancement
Whiteboard: u=dev c=backend p=0
The RDF representation of an entity should include all redirects to the entity, represented using owl:sameas in RDF.
Version: unspecified
Severity: enhancement
Whiteboard: u=dev c=backend p=0
Even tougher question would be what happens if there's a redirect on property. Is this even possible? owl:sameAs may not even accept properties as parameters, at least in some meanings of OWL. And as for support in inference, no idea at all.
See also T96590, which asks for redirect info to be included the the JSON rendering of entities.
Wikibase currently does not allow properties to be redirected or merged, but we have not committed to a guarantee that we will never allow this.
owl:sameAs may not even accept properties as parameters, at least in some meanings of OWL. And as for support in inference, no idea at all.
Wikibase properties are not OWL properties, and should never be used as if they were. So I see no problem there.
As to support for inference... I would have expected triple stores / SPARQL engines to cater to basic needs like this. Seems like we are further away from a functioning semantic web than I thought...
Blazegraph has a step where IRI can be converted to internal representation, and we could plug in there and implement aliasing that way (see also T96490). That probably would work for properties too, but of course it's not portable. I'm ok with the fact that we don't allow it now and we'll cross that bridge when we come to it.
The cases we're looking for in RDF, assuming Q6 is a redirect to Q4:
Change 208660 had a related patch set uploaded (by Daniel Kinzler):
Include redirect info in output from Special:EntityData
Change 208667 had a related patch set uploaded (by Daniel Kinzler):
Omit meta-info if flavor=dump is used on Special:EntityData
Change 208660 merged by jenkins-bot:
Include redirect info in output from Special:EntityData
Change 208667 merged by jenkins-bot:
Omit meta-info if flavor=dump is used on Special:EntityData
Change 209012 had a related patch set uploaded (by Daniel Kinzler):
Include incoming redirects in RDF output of Special:EntityData
Change 209012 had a related patch set uploaded (by Daniel Kinzler):
Include incoming redirects in RDF output of Special:EntityData
Change 209012 merged by jenkins-bot:
Include incoming redirects in RDF output of Special:EntityData