Literal content
An information content entity that holds literal text values.
ApplicationsClass
Hierarchyโ
Position of Literal content in the class hierarchy: its ancestors and direct subclasses.
- BFO BFO 0000031
- Literal content (App)
Propertiesโ
Declared on this classโ
| Property | Domain โ Range | Details |
|---|---|---|
| literal valuedatatype | Domain โ RangeLiteral content to xsd:string | |
| ||
Used as the range ofโ
Examplesโ
Turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .
ex:literalContent1 a <https://w3id.org/pubmed/LiteralContent> ; # Literal content
rdfs:label "Example Literal content" ;
<https://w3id.org/pubmed/literalValue> "Example" . # literal value
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Instances of Literal content, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <https://w3id.org/pubmed/LiteralContent> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100