Current Slide

Small screen detected. You are viewing the mobile version of SlideWiki. If you wish to edit slides you will need to use a larger device.

Language definitions

Language information influences only untyped literals

XML:
<rdf:Description rdf:about="http://dbpedia.org/resource/Leipzig">
   <rdfs:label xml:lang="de">Leipzig</rdfs:label>
   <rdfs:label xml:lang="ru">Лейпциг</rdfs:label>
</rdf:Description>
Turtle:
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
http://dbpedia.org/resource/Leipzig   rdfs:label     "Leipzig"@de ,
                                      rdfs:label     "Лейпциг"@ru .
According to the RDF 1.1 specification the 2nd literal has a type different from the 1st and 3rd one (but often similiarly implemented)! The 1st and 3rd are the same (difference from RDF 1.0).
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dbr: <http://dbpedia.org/resource/> .
dbr:Leipzig    rdfs:label     "Leipzig" ,
                              "Leipzig"@de ,
                              "Leipzig"^^xsd:string .

Content Tools

Sources

There are currently no sources for this slide.