Question

I downloaded WordNet2.0 fullset. In the RDF/XML document, wnfull.rdfs, there are elements like this the following that use, e.g., &wn20schema;AdverbSynset as attribute values (in places where URIs would be expected). I know how #, url/ and value: are commonly used, but what is this &...; notation?

<rdfs:Class rdf:about="&wn20schema;Synset" />  
<rdfs:Class rdf:about="&wn20schema;AdjectiveSynset" />  
<rdfs:Class rdf:about="&wn20schema;AdjectiveSatelliteSynset" />  
<rdfs:Class rdf:about="&wn20schema;AdverbSynset" />  
Was it helpful?

Solution

&wn20schema; is an entity reference.

The XML document should contain or point to its expansion, i.e., something like

<!ENTITY wn20schema "…">

&wn20schema; will be replaced with .

References:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top