Skip to content

Commit 158f241

Browse files
committed
Issue schemaorg#1670: Added subjectOf property as an inverse of about.
1 parent 7c19bf4 commit 158f241

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
TYPES: CreativeWork, Thing
2+
3+
PRE-MARKUP:
4+
5+
See JSON example.
6+
7+
MICRODATA:
8+
9+
See JSON example.
10+
11+
RDFA:
12+
13+
See JSON example.
14+
15+
JSON:
16+
<script type="application/ld+json">
17+
{
18+
"@context": "http://schema.org/",
19+
"@type": "Thing",
20+
"name": "Schema.org Ontology",
21+
"subjectOf": {
22+
"@type": "Book",
23+
"name": "The Complete History of Schema.org"
24+
}
25+
}
26+
}
27+
</script>

data/ext/pending/issue-1670.rdfa

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<div>
2+
<!-- issue 1670 -->
3+
<div typeof="rdf:Property" resource="http://schema.org/about">
4+
<span class="h" property="rdfs:label">about</span>
5+
<span property="rdfs:comment">The subject matter of the content.</span>
6+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
7+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CommunicateAction">CommunicateAction</a></span>
8+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Event">Event</a></span>
9+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Thing">Thing</a></span>
10+
<link property="http://schema.org/inverseOf" href="http://schema.org/subjectOf"/>
11+
12+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
13+
<span property="schema:category">issue-1670</span>
14+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1670"></a>
15+
</div>
16+
17+
<div typeof="rdf:Property" resource="http://schema.org/subjectOf">
18+
<span class="h" property="rdfs:label">subjectOf</span>
19+
<span property="rdfs:comment">A CreativeWork or Event about this Thing..</span>
20+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Thing">Thing</a></span>
21+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
22+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Event">Event</a></span>
23+
<link property="http://schema.org/inverseOf" href="http://schema.org/about"/>
24+
25+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
26+
<span property="schema:category">issue-1670</span>
27+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1670"></a>
28+
</div>
29+
30+
31+
</div>

0 commit comments

Comments
 (0)