Skip to content
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

remove rdf:plainLiteral from Semantics? #84

Open
pfps opened this issue Feb 7, 2025 · 3 comments · May be fixed by #97
Open

remove rdf:plainLiteral from Semantics? #84

pfps opened this issue Feb 7, 2025 · 3 comments · May be fixed by #97
Labels
spec:substantive Change in the spec affecting its normative content (class 3) –see also spec:bug, spec:new-feature

Comments

@pfps
Copy link
Contributor

pfps commented Feb 7, 2025

RDF 1.1 Semantics has a mandated L2V for the IRI rdf:plainLiteral, in https://www.w3.org/TR/rdf11-mt/#literals-and-datatypes. The IRI doesn't appear to be in any other 1.1 document, but is defined in https://www.w3.org/TR/rdf-plain-literal.

Should rdf:plainLiteral continue to be in Semantics? It would seem so, as it is in a normative RDF document. But perhaps there is no reason to continue to support this datatype in RDF.

If rdf:plainLiteral continues in Semantics, should it also be in Concepts? Should it be somehow deprecated?

@pfps pfps added the spec:substantive Change in the spec affecting its normative content (class 3) –see also spec:bug, spec:new-feature label Feb 7, 2025
@pfps pfps added the needs discussion Proposed for discussion in an upcoming meeting label Feb 7, 2025
@afs
Copy link
Contributor

afs commented Feb 7, 2025

It should not be RDF Concepts because RDF Concepts does not have (RDF 1.0) "plain literals".

Support is optional by the "when ... rdf:plainLiteral isrecognized".

RDF processors are not required to recognize any datatype IRIs other than xsd:string, rdf:langString, and rdf:dirLangString but when IRIs listed in Section 5 of [RDF12-CONCEPTS] are recognized, they MUST be interpreted as described there, and when the IRI rdf:PlainLiteral is recognized, it MUST be interpreted to denote the datatype defined in [RDF-PLAIN-LITERAL].

The existence of a normative document means that an alternative interpretation of the datatype IRI is wrong; the existence of the document does not have to be mentioned. c.f. rdf:HTML, rdf:JSON, rdf:XMLLiteral but also xsd:integer etc.

@w3cbot
Copy link

w3cbot commented Feb 27, 2025

This was discussed during the #rdf-star meeting on 27 February 2025.

View the transcript

Remove rdf:plainLiteral from Semantics? 2

ora: This issue was opened by pfps

<pfps> sorry, I'm late

<pfps> one moment to fix audio

<pfps> fixed now

gkellogg: related to that, there is an PR on removing ... PlainLiteral from RDF/XML

<pfps> As I see, there are several options - deprecate, remove and note, ...

gkellogg: when that PR is merged, there is no reference anymore to plainLiteral in the RDF/XML spec

pfps: RDF 1.1 fixed the issue, but plainLiteral remained in the Semantics doc
… question is whether to remove it or to add a deprecation note
… I prefer the latter (depr.note)

AndyS: Remove it and leave a change node.
… because it is just a datatype

pfps: With this rationale, rdf:JSON should go too, because it is also just a datatype

AndyS: but that one is not in RDF-Semantics, right?

pfps: Yes. In this sense it's different.

<ora> PROPOSAL: Remove rdf:plainLiteral from Semantics doc and add a change note

<Dominik_T> +1

<ora> +1

<gkellogg> +1

<AZ> +1

<tl> +1

<olaf> +1

<fsasaki> +1

<ktk> +1

<AndyS> +1

<pfps> +0

<james> +0

<TallTed> +1

<Souri> +1

<pchampin> +1

<gtw> +1

<niklasl> +1

pchampin: Any objection to replacing "remove" by "deprecate"?

<eBremer> +1

pfps: The change note should say that it is removed.

ora: It is at the editors' discretion how to phrase that note.

<niklasl> Removing the URL would be uncool?

gkellogg: Should we and can we remove it from the namespace document?

<niklasl> What's the standing of https://www.w3.org/TR/rdf-plain-literal/ ?

pfps: I would say we should remove it from the namespace. It is a historical artifact; none is using it.
… The note in the Semantics doc should include saying that it was also removed from the namespace doc.

<niklasl> From the namespace RDF: rdf:PlainLiteral a rdfs:Datatype ; rdfs:comment "The class of plain (i.e. untyped) literal values, as used in RIF and OWL 2" ; rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ; rdfs:label "PlainLiteral" ; rdfs:seeAlso <http://www.w3.org/TR/rdf-plain-literal/> ; rdfs:subClassOf rdfs:Literal .

RESOLUTION: Remove rdf:plainLiteral from Semantics doc and add a change note

pchampin: I suggest to record the resolution first.
… response to gkellog that plainLiteral is not in ... (?) but in the RDF file.

niklasl: What pchampin said.
… it would be uncool if the URI disappears
… but a note can be added in the RDF file

<Dominik_T> https://www.w3.org/2003/06/sw-vocab-status/ns#unstable?

james: If there is no longer a definition for it, it should be removed from the RDF file such that it doesn't appear in results anymore.

pfps: There is still a definition in a separate document.

<niklasl> +1 to deprecate (even rdf:PlainLiteral owl:deprecated true . )

james: In this case, okay.

ora: action for pfps to take care of implementing this decision

ACTION: pfps to make a PR to remove plainLiteral from semantics

<gb> Created action #147


@afs
Copy link
Contributor

afs commented Mar 6, 2025

WG Resolution 2025-02-25 "Remove rdf:plainLiteral from Semantics doc and add a change note".

@pfps pfps removed the needs discussion Proposed for discussion in an upcoming meeting label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:substantive Change in the spec affecting its normative content (class 3) –see also spec:bug, spec:new-feature
Projects
None yet
3 participants