forked from schemaorg/schemaorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsdo-userinteraction-examples.txt
183 lines (165 loc) · 6.73 KB
/
sdo-userinteraction-examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
TYPES: #interaction-counter-1 InteractionCounter,VideoObject
PRE-MARKUP:
A video has the following interactions:
YouTube: 512 up votes
Twitter: 1024 up votes
Twitter: 2345 tweets
Facebook: 1024 likes
4356 views
MICRODATA:
<div itemid="http://videolectures.net/iswc2013_guha_tunnel/" itemscope itemtype="http://schema.org/VideoObject">
<h1 itemprop="name">Light at the End of the Tunnel</h1>
Author:
<div itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Ramanathan V. Guha</span>
</div>
<video controls>
<source src="http://videolectures.net/iswc2013_guha_tunnel/" />
</video>
Youtube Like Count:
<div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
<div itemprop="interactionService" itemscope itemid="https://www.youtube.com" itemtype="http://schema.org/WebSite">
<meta itemprop="name" content="YouTube" />
</div>
<link itemprop="interactionType" href="http://schema.org/LikeAction"/>
<span itemprop="userInteractionCount">512</span>
</div>
Twitter Favorite Count:
<div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
<div itemprop="interactionService" itemscope itemid="https://www.twitter.com" itemtype="http://schema.org/SoftwareApplication">
<meta itemprop="name" content="Twitter" />
</div>
<link itemprop="interactionType" href="https://schema.org/LikeAction"/>
<span itemprop="userInteractionCount" content="1024">1,024</span>
</div>
Twitter Tweet Count:
<div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
<div itemprop="interactionService" itemscope itemid="https://twitter.com" itemtype="http://schema.org/SoftwareApplication">
<meta itemprop="name" content="Twitter" />
</div>
<link itemprop="interactionType" href="http://schema.org/ShareAction"/>
<span itemprop="userInteractionCount" content="2345">2,345</span>
</div>
Facebook Like Count:
<div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
<div itemprop="interactionService" itemscope itemid="https://www.facebook.com" itemtype="http://schema.org/WebSite">
<meta itemprop="name" content="Facebook" />
</div>
<link itemprop="interactionType" href="http://schema.org/LikeAction"/>
<span itemprop="userInteractionCount" content="1024">1024</span>
</div>
View Count:
<div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
<link itemprop="interactionType" href="http://schema.org/WatchAction"/>
<span itemprop="userInteractionCount" content="4356">4,356</span>
</div>
</div>
RDFA:
<div vocab="http://schema./org/" resource="http://videolectures.net/iswc2013_guha_tunnel/" typeof="VideoObject">
<h1 property="name">Light at the End of the Tunnel</h1>
Author:
<div property="author" typeof="Person">
<span property="name">Ramanathan V. Guha</span>
</div>
<video controls>
<source src="http://videolectures.net/iswc2013_guha_tunnel/" />
</video>
YouTube Like Count:
<div property="interactionStatistic" typeof="InteractionCounter">
<div property="interactionService" itemscope itemid="https://www.youtube.com" itemtype="http://schema.org/WebSite">
<meta property="name" content="YouTube" />
</div>
<link property="interactionType" href="http://schema.org/LikeAction"/>
<span property="userInteractionCount">512</span>
</div>
Twitter Favorite Count:
<div property="interactionStatistic" typeof="InteractionCounter">
<div property="interactionService" itemscope itemid="https://twitter.com" itemtype="http://schema.org/SoftwareApplication">
<meta property="name" content="Twitter" />
</div>
<link property="interactionType" href="http://schema.org/LikeAction"/>
<span property="userInteractionCount" content="1024">1024</span>
</div>
Twitter Tweet Count:
<div property="interactionStatistic" typeof="InteractionCounter">
<div property="interactionService" itemscope itemid="https://twitter.com" itemtype="http://schema.org/SoftwareApplication">
<meta property="name" content="Twitter" />
</div>
<link property="interactionType" href="http://schema.org/ShareAction"/>
<span property="userInteractionCount" content="2345">2345</span>
</div>
Facebook Like Count:
<div property="interactionStatistic" typeof="InteractionCounter">
<div property="interactionService" itemscope itemid="https://www.facebook.com" itemtype="http://schema.org/WebSite">
<meta property="name" content="Facebook" />
</div>
<link property="interactionType" href="http://schema.org/LikeAction"/>
<span property="userInteractionCount" content="1024">1024</span>
</div>
View Count:
<div property="interactionStatistic" typeof="InteractionCounter">
<link property="interactionType" href="http://schema.org/WatchAction"/>
<span property="userInteractionCount" content="4356">4356</span>
</div>
</div>
JSON:
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "VideoObject",
"name": "Light at the End of the Tunnel",
"@id": "http://videolectures.net/iswc2013_guha_tunnel/",
"datePublished": "2013-11-28",
"author": {
"@type": "Person",
"name": "Ramanathan V. Guha"
},
"interactionStatistic": [
{
"@type": "InteractionCounter",
"interactionService": {
"@type": "WebSite",
"name": "YouTube",
"@id": "https://youtube.com"
},
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": "512"
},
{
"@type": "InteractionCounter",
"interactionService": {
"@type": "SoftwareApplication",
"name": "Twitter",
"url": "https://www.twitter.com"
},
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": "1024"
},
{
"@type": "InteractionCounter",
"interactionService": {
"@type": "SoftwareApplication",
"name": "Twitter",
"url": "https://twitter.com"
},
"interactionType": "http://schema.org/ShareAction",
"userInteractionCount": "2345"
},
{
"@type": "InteractionCounter",
"interactionService": {
"@type": "WebSite",
"name": "Facebook",
"url": "https://www.facebook.com"
},
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": "1024"
},
{
"@type": "InteractionCounter",
"interactionType": "http://schema.org/WatchAction",
"userInteractionCount": "4356"
}
]
}
</script>