Skip to content

Commit

Permalink
Remove RdfLiteralSimple
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel committed May 22, 2024
1 parent 5158c75 commit 5a6fb96
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions rdf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ message RdfLiteral {
// The lexical form of the literal.
string lex = 1;

// Literal kind – exactly one of these fields must be set.
// Literal kind – at most one of these field may be set.
// If none is set, then it's a simple literal.
oneof literalKind {
// Simple literal with datatype xsd:string.
RdfLiteralSimple simple = 2;
// Language-tagged string.
string langtag = 3;
// Typed literal. The datatype is a reference to an entry in the
Expand All @@ -31,10 +30,6 @@ message RdfLiteral {
}
}

// Empty message indicating a simple literal
message RdfLiteralSimple {
}

// Empty message indicating a repeated term from the previous statement.
message RdfRepeat {
}
Expand Down

0 comments on commit 5a6fb96

Please sign in to comment.