schema.org 中的 NAICS 源自GoodRelations词汇表中的适当属性。在 GoodRelations owl 本体文件中,您可以找到
<owl:DatatypeProperty rdf:about="http://purl.org/goodrelations/v1#hasNAICS">
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
<rdfs:label xml:lang="en">has NAICS (0..*)</rdfs:label>
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://purl.org/goodrelations/v1#BusinessEntity"/>
<rdf:Description rdf:about="http://schema.org/Organization"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<rdfs:comment xml:lang="en">The North American Industry Classification System (NAICS) code for a particular gr:BusinessEntity.
See http://www.census.gov/eos/www/naics/ for more details.
Note: While NAICS codes are sometimes misused for classifying products or services, they are designed and suited only for classifying business establishments.</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://purl.org/goodrelations/v1"/>
</owl:DatatypeProperty>
您对这条特定线路感兴趣
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
因此,即使 schema.org 中的属性类型是 Text,最好使用数字代码。