forked from schemaorg/schemaorg
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue schemaorg#1670: Added subjectOf property as an inverse of about.
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
TYPES: CreativeWork, Thing | ||
|
||
PRE-MARKUP: | ||
|
||
See JSON example. | ||
|
||
MICRODATA: | ||
|
||
See JSON example. | ||
|
||
RDFA: | ||
|
||
See JSON example. | ||
|
||
JSON: | ||
<script type="application/ld+json"> | ||
{ | ||
"@context": "http://schema.org/", | ||
"@type": "Thing", | ||
"name": "Schema.org Ontology", | ||
"subjectOf": { | ||
"@type": "Book", | ||
"name": "The Complete History of Schema.org" | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div> | ||
<!-- issue 1670 --> | ||
<div typeof="rdf:Property" resource="http://schema.org/about"> | ||
<span class="h" property="rdfs:label">about</span> | ||
<span property="rdfs:comment">The subject matter of the content.</span> | ||
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span> | ||
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CommunicateAction">CommunicateAction</a></span> | ||
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Event">Event</a></span> | ||
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Thing">Thing</a></span> | ||
<link property="http://schema.org/inverseOf" href="http://schema.org/subjectOf"/> | ||
|
||
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" /> | ||
<span property="schema:category">issue-1670</span> | ||
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1670"></a> | ||
</div> | ||
|
||
<div typeof="rdf:Property" resource="http://schema.org/subjectOf"> | ||
<span class="h" property="rdfs:label">subjectOf</span> | ||
<span property="rdfs:comment">A CreativeWork or Event about this Thing..</span> | ||
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Thing">Thing</a></span> | ||
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span> | ||
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Event">Event</a></span> | ||
<link property="http://schema.org/inverseOf" href="http://schema.org/about"/> | ||
|
||
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" /> | ||
<span property="schema:category">issue-1670</span> | ||
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1670"></a> | ||
</div> | ||
|
||
|
||
</div> |