Skip to content

Instantly share code, notes, and snippets.

@sandhawke
Last active December 17, 2015 23:49
Show Gist options
  • Save sandhawke/5691972 to your computer and use it in GitHub Desktop.
Save sandhawke/5691972 to your computer and use it in GitHub Desktop.
schema.org properties that are both an ObjectProperty and a DatatypeProperty, in the sense that their range includes both datatypes and non-datatypes
============= unit modeling
Property: schema:depth
domainIncludes: schema:Product
rangeIncludes: [ 'schema:Distance', 'schema:QuantitativeValue' ]
Property: schema:width
domainIncludes: [ 'schema:MediaObject', 'schema:Product' ]
rangeIncludes: [ 'schema:Distance', 'schema:QuantitativeValue' ]
Property: schema:height
domainIncludes: [ 'schema:MediaObject', 'schema:Product' ]
rangeIncludes: [ 'schema:Distance', 'schema:QuantitativeValue' ]
============= maybe just use HTML
Property: schema:requirements
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:storageRequirements
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:featureList
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:acceptsReservations
domainIncludes: schema:FoodEstablishment
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:applicationSubCategory
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:menu
domainIncludes: schema:FoodEstablishment
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:memoryRequirements
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:releaseNotes
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:warning
domainIncludes: schema:Drug
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
Property: schema:applicationCategory
domainIncludes: schema:SoftwareApplication
rangeIncludes: [ 'schema:URL', 'schema:Text' ]
============ Shortcuts for adding new item
Property: schema:citation
domainIncludes: schema:MedicalScholarlyArticle
rangeIncludes: [ 'schema:CreativeWork', 'schema:Text' ]
Property: schema:eligibleRegion
domainIncludes: [ 'schema:Demand',
'schema:DeliveryChargeSpecification',
'schema:Offer' ]
rangeIncludes: [ 'schema:GeoShape', 'schema:Text' ]
Property: schema:model
domainIncludes: schema:Product
rangeIncludes: [ 'schema:Text', 'schema:ProductModel' ]
============ ???
Property: schema:category
domainIncludes: [ 'schema:Offer', 'schema:PhysicalActivity' ]
rangeIncludes: [ 'schema:PhysicalActivityCategory',
'schema:Text',
'schema:Thing' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment