& ...; in RDF / XML is a standard RDF prefix expression?

I downloaded WordNet2.0 fullset. There are elements in the RDF / XML document wnfull.rdfs that use, for example, &wn20schema;AdverbSynsetattribute values ​​(where URIs are expected). I know how they are commonly used #, url/and value:, but what is this &...;?

<rdfs:Class rdf:about="&wn20schema;Synset" />  
<rdfs:Class rdf:about="&wn20schema;AdjectiveSynset" />  
<rdfs:Class rdf:about="&wn20schema;AdjectiveSatelliteSynset" />  
<rdfs:Class rdf:about="&wn20schema;AdverbSynset" />  
+4
source share
1 answer

&wn20schema; is an entity reference.

The XML document must contain or indicate its extension, i.e. sort of

<!ENTITY wn20schema "…">

&wn20schema;will be replaced by .

Literature:

+7

Source: https://habr.com/ru/post/1528886/


All Articles