wordlift-sdk 2.9.0__py3-none-any.whl → 2.10.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. wordlift_sdk/__init__.py +1 -1
  2. wordlift_sdk/render/__init__.py +30 -0
  3. wordlift_sdk/render/browser.py +132 -0
  4. wordlift_sdk/render/cleanup_options.py +24 -0
  5. wordlift_sdk/render/html_renderer.py +86 -0
  6. wordlift_sdk/render/render_options.py +21 -0
  7. wordlift_sdk/render/rendered_page.py +13 -0
  8. wordlift_sdk/render/xhtml_cleaner.py +126 -0
  9. wordlift_sdk/structured_data/__init__.py +27 -0
  10. wordlift_sdk/structured_data/agent.py +49 -0
  11. wordlift_sdk/structured_data/agent_generator.py +12 -0
  12. wordlift_sdk/structured_data/batch.py +220 -0
  13. wordlift_sdk/structured_data/constants.py +1 -0
  14. wordlift_sdk/structured_data/dataset_resolver.py +32 -0
  15. wordlift_sdk/structured_data/debug.py +23 -0
  16. wordlift_sdk/structured_data/engine.py +2875 -0
  17. wordlift_sdk/structured_data/inputs.py +58 -0
  18. wordlift_sdk/structured_data/io.py +44 -0
  19. wordlift_sdk/structured_data/materialization.py +70 -0
  20. wordlift_sdk/structured_data/models.py +48 -0
  21. wordlift_sdk/structured_data/orchestrator.py +194 -0
  22. wordlift_sdk/structured_data/rendering.py +43 -0
  23. wordlift_sdk/structured_data/schema_guide.py +17 -0
  24. wordlift_sdk/structured_data/structured_data_engine.py +58 -0
  25. wordlift_sdk/structured_data/validation.py +31 -0
  26. wordlift_sdk/structured_data/yarrrml_pipeline.py +34 -0
  27. wordlift_sdk/url_source/__init__.py +7 -2
  28. wordlift_sdk/validation/__init__.py +7 -0
  29. wordlift_sdk/validation/generator.py +446 -0
  30. wordlift_sdk/validation/shacl.py +205 -0
  31. wordlift_sdk/validation/shacls/__init__.py +1 -0
  32. wordlift_sdk/validation/shacls/google-article.ttl +148 -0
  33. wordlift_sdk/validation/shacls/google-book.ttl +660 -0
  34. wordlift_sdk/validation/shacls/google-breadcrumb.ttl +33 -0
  35. wordlift_sdk/validation/shacls/google-carousel.ttl +37 -0
  36. wordlift_sdk/validation/shacls/google-carousels-beta.ttl +291 -0
  37. wordlift_sdk/validation/shacls/google-course.ttl +43 -0
  38. wordlift_sdk/validation/shacls/google-dataset.ttl +146 -0
  39. wordlift_sdk/validation/shacls/google-discussion-forum.ttl +247 -0
  40. wordlift_sdk/validation/shacls/google-education-qa.ttl +75 -0
  41. wordlift_sdk/validation/shacls/google-employer-rating.ttl +40 -0
  42. wordlift_sdk/validation/shacls/google-event.ttl +46 -0
  43. wordlift_sdk/validation/shacls/google-factcheck.ttl +86 -0
  44. wordlift_sdk/validation/shacls/google-faqpage.ttl +38 -0
  45. wordlift_sdk/validation/shacls/google-image-license-metadata.ttl +93 -0
  46. wordlift_sdk/validation/shacls/google-job-posting.ttl +74 -0
  47. wordlift_sdk/validation/shacls/google-local-business.ttl +483 -0
  48. wordlift_sdk/validation/shacls/google-loyalty-program.ttl +61 -0
  49. wordlift_sdk/validation/shacls/google-math-solvers.ttl +63 -0
  50. wordlift_sdk/validation/shacls/google-merchant-listing.ttl +435 -0
  51. wordlift_sdk/validation/shacls/google-movie.ttl +44 -0
  52. wordlift_sdk/validation/shacls/google-organization.ttl +180 -0
  53. wordlift_sdk/validation/shacls/google-paywalled-content.ttl +34 -0
  54. wordlift_sdk/validation/shacls/google-product-snippet.ttl +121 -0
  55. wordlift_sdk/validation/shacls/google-product-variants.ttl +64 -0
  56. wordlift_sdk/validation/shacls/google-profile-page.ttl +130 -0
  57. wordlift_sdk/validation/shacls/google-qapage.ttl +195 -0
  58. wordlift_sdk/validation/shacls/google-recipe.ttl +201 -0
  59. wordlift_sdk/validation/shacls/google-return-policy.ttl +122 -0
  60. wordlift_sdk/validation/shacls/google-review-snippet.ttl +87 -0
  61. wordlift_sdk/validation/shacls/google-shipping-policy.ttl +606 -0
  62. wordlift_sdk/validation/shacls/google-software-app.ttl +40 -0
  63. wordlift_sdk/validation/shacls/google-speakable.ttl +20 -0
  64. wordlift_sdk/validation/shacls/google-vacation-rental.ttl +278 -0
  65. wordlift_sdk/validation/shacls/google-video.ttl +149 -0
  66. wordlift_sdk/validation/shacls/schemaorg-grammar.ttl +20540 -0
  67. {wordlift_sdk-2.9.0.dist-info → wordlift_sdk-2.10.1.dist-info}/METADATA +1 -1
  68. {wordlift_sdk-2.9.0.dist-info → wordlift_sdk-2.10.1.dist-info}/RECORD +69 -5
  69. {wordlift_sdk-2.9.0.dist-info → wordlift_sdk-2.10.1.dist-info}/WHEEL +0 -0
@@ -0,0 +1,483 @@
1
+ @prefix : <https://wordlift.io/shacl/google/google-local-business/> .
2
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
3
+ @prefix schema: <http://schema.org/> .
4
+
5
+ # Source: https://developers.google.com/search/docs/appearance/structured-data/local-business
6
+ # Generated: 2026-01-13T11:23:32Z
7
+ # Notes: required properties => errors; recommended properties => warnings.
8
+
9
+ :google_DaySpaShape
10
+ a sh:NodeShape ;
11
+ sh:targetClass schema:DaySpa ;
12
+ sh:property [
13
+ sh:path schema:address ;
14
+ sh:minCount 1 ;
15
+ ] ;
16
+ sh:property [
17
+ sh:path schema:image ;
18
+ sh:minCount 1 ;
19
+ ] ;
20
+ sh:property [
21
+ sh:path schema:name ;
22
+ sh:minCount 1 ;
23
+ ] ;
24
+ sh:property [
25
+ sh:path schema:aggregateRating ;
26
+ sh:minCount 1 ;
27
+ sh:severity sh:Warning ;
28
+ sh:message "Recommended by Google: aggregateRating." ;
29
+ ] ;
30
+ sh:property [
31
+ sh:path schema:closes ;
32
+ sh:minCount 1 ;
33
+ sh:severity sh:Warning ;
34
+ sh:message "Recommended by Google: closes." ;
35
+ ] ;
36
+ sh:property [
37
+ sh:path schema:dayOfWeek ;
38
+ sh:minCount 1 ;
39
+ sh:severity sh:Warning ;
40
+ sh:message "Recommended by Google: dayOfWeek." ;
41
+ ] ;
42
+ sh:property [
43
+ sh:path schema:department ;
44
+ sh:minCount 1 ;
45
+ sh:severity sh:Warning ;
46
+ sh:message "Recommended by Google: department." ;
47
+ ] ;
48
+ sh:property [
49
+ sh:path schema:geo ;
50
+ sh:minCount 1 ;
51
+ sh:severity sh:Warning ;
52
+ sh:message "Recommended by Google: geo." ;
53
+ ] ;
54
+ sh:property [
55
+ sh:path schema:latitude ;
56
+ sh:minCount 1 ;
57
+ sh:severity sh:Warning ;
58
+ sh:message "Recommended by Google: latitude." ;
59
+ ] ;
60
+ sh:property [
61
+ sh:path schema:longitude ;
62
+ sh:minCount 1 ;
63
+ sh:severity sh:Warning ;
64
+ sh:message "Recommended by Google: longitude." ;
65
+ ] ;
66
+ sh:property [
67
+ sh:path schema:menu ;
68
+ sh:minCount 1 ;
69
+ sh:severity sh:Warning ;
70
+ sh:message "Recommended by Google: menu." ;
71
+ ] ;
72
+ sh:property [
73
+ sh:path schema:openingHoursSpecification ;
74
+ sh:minCount 1 ;
75
+ sh:severity sh:Warning ;
76
+ sh:message "Recommended by Google: openingHoursSpecification." ;
77
+ ] ;
78
+ sh:property [
79
+ sh:path schema:opens ;
80
+ sh:minCount 1 ;
81
+ sh:severity sh:Warning ;
82
+ sh:message "Recommended by Google: opens." ;
83
+ ] ;
84
+ sh:property [
85
+ sh:path schema:priceRange ;
86
+ sh:minCount 1 ;
87
+ sh:severity sh:Warning ;
88
+ sh:message "Recommended by Google: priceRange." ;
89
+ ] ;
90
+ sh:property [
91
+ sh:path schema:review ;
92
+ sh:minCount 1 ;
93
+ sh:severity sh:Warning ;
94
+ sh:message "Recommended by Google: review." ;
95
+ ] ;
96
+ sh:property [
97
+ sh:path schema:servesCuisine ;
98
+ sh:minCount 1 ;
99
+ sh:severity sh:Warning ;
100
+ sh:message "Recommended by Google: servesCuisine." ;
101
+ ] ;
102
+ sh:property [
103
+ sh:path schema:telephone ;
104
+ sh:minCount 1 ;
105
+ sh:severity sh:Warning ;
106
+ sh:message "Recommended by Google: telephone." ;
107
+ ] ;
108
+ sh:property [
109
+ sh:path schema:url ;
110
+ sh:minCount 1 ;
111
+ sh:severity sh:Warning ;
112
+ sh:message "Recommended by Google: url." ;
113
+ ] ;
114
+ sh:property [
115
+ sh:path schema:validFrom ;
116
+ sh:minCount 1 ;
117
+ sh:severity sh:Warning ;
118
+ sh:message "Recommended by Google: validFrom." ;
119
+ ] ;
120
+ sh:property [
121
+ sh:path schema:validThrough ;
122
+ sh:minCount 1 ;
123
+ sh:severity sh:Warning ;
124
+ sh:message "Recommended by Google: validThrough." ;
125
+ ] ;
126
+ .
127
+
128
+ :google_HealthClubShape
129
+ a sh:NodeShape ;
130
+ sh:targetClass schema:HealthClub ;
131
+ sh:property [
132
+ sh:path schema:address ;
133
+ sh:minCount 1 ;
134
+ ] ;
135
+ sh:property [
136
+ sh:path schema:image ;
137
+ sh:minCount 1 ;
138
+ ] ;
139
+ sh:property [
140
+ sh:path schema:name ;
141
+ sh:minCount 1 ;
142
+ ] ;
143
+ sh:property [
144
+ sh:path schema:aggregateRating ;
145
+ sh:minCount 1 ;
146
+ sh:severity sh:Warning ;
147
+ sh:message "Recommended by Google: aggregateRating." ;
148
+ ] ;
149
+ sh:property [
150
+ sh:path schema:closes ;
151
+ sh:minCount 1 ;
152
+ sh:severity sh:Warning ;
153
+ sh:message "Recommended by Google: closes." ;
154
+ ] ;
155
+ sh:property [
156
+ sh:path schema:dayOfWeek ;
157
+ sh:minCount 1 ;
158
+ sh:severity sh:Warning ;
159
+ sh:message "Recommended by Google: dayOfWeek." ;
160
+ ] ;
161
+ sh:property [
162
+ sh:path schema:department ;
163
+ sh:minCount 1 ;
164
+ sh:severity sh:Warning ;
165
+ sh:message "Recommended by Google: department." ;
166
+ ] ;
167
+ sh:property [
168
+ sh:path schema:geo ;
169
+ sh:minCount 1 ;
170
+ sh:severity sh:Warning ;
171
+ sh:message "Recommended by Google: geo." ;
172
+ ] ;
173
+ sh:property [
174
+ sh:path schema:latitude ;
175
+ sh:minCount 1 ;
176
+ sh:severity sh:Warning ;
177
+ sh:message "Recommended by Google: latitude." ;
178
+ ] ;
179
+ sh:property [
180
+ sh:path schema:longitude ;
181
+ sh:minCount 1 ;
182
+ sh:severity sh:Warning ;
183
+ sh:message "Recommended by Google: longitude." ;
184
+ ] ;
185
+ sh:property [
186
+ sh:path schema:menu ;
187
+ sh:minCount 1 ;
188
+ sh:severity sh:Warning ;
189
+ sh:message "Recommended by Google: menu." ;
190
+ ] ;
191
+ sh:property [
192
+ sh:path schema:openingHoursSpecification ;
193
+ sh:minCount 1 ;
194
+ sh:severity sh:Warning ;
195
+ sh:message "Recommended by Google: openingHoursSpecification." ;
196
+ ] ;
197
+ sh:property [
198
+ sh:path schema:opens ;
199
+ sh:minCount 1 ;
200
+ sh:severity sh:Warning ;
201
+ sh:message "Recommended by Google: opens." ;
202
+ ] ;
203
+ sh:property [
204
+ sh:path schema:priceRange ;
205
+ sh:minCount 1 ;
206
+ sh:severity sh:Warning ;
207
+ sh:message "Recommended by Google: priceRange." ;
208
+ ] ;
209
+ sh:property [
210
+ sh:path schema:review ;
211
+ sh:minCount 1 ;
212
+ sh:severity sh:Warning ;
213
+ sh:message "Recommended by Google: review." ;
214
+ ] ;
215
+ sh:property [
216
+ sh:path schema:servesCuisine ;
217
+ sh:minCount 1 ;
218
+ sh:severity sh:Warning ;
219
+ sh:message "Recommended by Google: servesCuisine." ;
220
+ ] ;
221
+ sh:property [
222
+ sh:path schema:telephone ;
223
+ sh:minCount 1 ;
224
+ sh:severity sh:Warning ;
225
+ sh:message "Recommended by Google: telephone." ;
226
+ ] ;
227
+ sh:property [
228
+ sh:path schema:url ;
229
+ sh:minCount 1 ;
230
+ sh:severity sh:Warning ;
231
+ sh:message "Recommended by Google: url." ;
232
+ ] ;
233
+ sh:property [
234
+ sh:path schema:validFrom ;
235
+ sh:minCount 1 ;
236
+ sh:severity sh:Warning ;
237
+ sh:message "Recommended by Google: validFrom." ;
238
+ ] ;
239
+ sh:property [
240
+ sh:path schema:validThrough ;
241
+ sh:minCount 1 ;
242
+ sh:severity sh:Warning ;
243
+ sh:message "Recommended by Google: validThrough." ;
244
+ ] ;
245
+ .
246
+
247
+ :google_LocalBusinessShape
248
+ a sh:NodeShape ;
249
+ sh:targetClass schema:LocalBusiness ;
250
+ sh:property [
251
+ sh:path schema:address ;
252
+ sh:minCount 1 ;
253
+ ] ;
254
+ sh:property [
255
+ sh:path schema:image ;
256
+ sh:minCount 1 ;
257
+ ] ;
258
+ sh:property [
259
+ sh:path schema:name ;
260
+ sh:minCount 1 ;
261
+ ] ;
262
+ sh:property [
263
+ sh:path schema:aggregateRating ;
264
+ sh:minCount 1 ;
265
+ sh:severity sh:Warning ;
266
+ sh:message "Recommended by Google: aggregateRating." ;
267
+ ] ;
268
+ sh:property [
269
+ sh:path schema:closes ;
270
+ sh:minCount 1 ;
271
+ sh:severity sh:Warning ;
272
+ sh:message "Recommended by Google: closes." ;
273
+ ] ;
274
+ sh:property [
275
+ sh:path schema:dayOfWeek ;
276
+ sh:minCount 1 ;
277
+ sh:severity sh:Warning ;
278
+ sh:message "Recommended by Google: dayOfWeek." ;
279
+ ] ;
280
+ sh:property [
281
+ sh:path schema:department ;
282
+ sh:minCount 1 ;
283
+ sh:severity sh:Warning ;
284
+ sh:message "Recommended by Google: department." ;
285
+ ] ;
286
+ sh:property [
287
+ sh:path schema:geo ;
288
+ sh:minCount 1 ;
289
+ sh:severity sh:Warning ;
290
+ sh:message "Recommended by Google: geo." ;
291
+ ] ;
292
+ sh:property [
293
+ sh:path schema:latitude ;
294
+ sh:minCount 1 ;
295
+ sh:severity sh:Warning ;
296
+ sh:message "Recommended by Google: latitude." ;
297
+ ] ;
298
+ sh:property [
299
+ sh:path schema:longitude ;
300
+ sh:minCount 1 ;
301
+ sh:severity sh:Warning ;
302
+ sh:message "Recommended by Google: longitude." ;
303
+ ] ;
304
+ sh:property [
305
+ sh:path schema:menu ;
306
+ sh:minCount 1 ;
307
+ sh:severity sh:Warning ;
308
+ sh:message "Recommended by Google: menu." ;
309
+ ] ;
310
+ sh:property [
311
+ sh:path schema:openingHoursSpecification ;
312
+ sh:minCount 1 ;
313
+ sh:severity sh:Warning ;
314
+ sh:message "Recommended by Google: openingHoursSpecification." ;
315
+ ] ;
316
+ sh:property [
317
+ sh:path schema:opens ;
318
+ sh:minCount 1 ;
319
+ sh:severity sh:Warning ;
320
+ sh:message "Recommended by Google: opens." ;
321
+ ] ;
322
+ sh:property [
323
+ sh:path schema:priceRange ;
324
+ sh:minCount 1 ;
325
+ sh:severity sh:Warning ;
326
+ sh:message "Recommended by Google: priceRange." ;
327
+ ] ;
328
+ sh:property [
329
+ sh:path schema:review ;
330
+ sh:minCount 1 ;
331
+ sh:severity sh:Warning ;
332
+ sh:message "Recommended by Google: review." ;
333
+ ] ;
334
+ sh:property [
335
+ sh:path schema:servesCuisine ;
336
+ sh:minCount 1 ;
337
+ sh:severity sh:Warning ;
338
+ sh:message "Recommended by Google: servesCuisine." ;
339
+ ] ;
340
+ sh:property [
341
+ sh:path schema:telephone ;
342
+ sh:minCount 1 ;
343
+ sh:severity sh:Warning ;
344
+ sh:message "Recommended by Google: telephone." ;
345
+ ] ;
346
+ sh:property [
347
+ sh:path schema:url ;
348
+ sh:minCount 1 ;
349
+ sh:severity sh:Warning ;
350
+ sh:message "Recommended by Google: url." ;
351
+ ] ;
352
+ sh:property [
353
+ sh:path schema:validFrom ;
354
+ sh:minCount 1 ;
355
+ sh:severity sh:Warning ;
356
+ sh:message "Recommended by Google: validFrom." ;
357
+ ] ;
358
+ sh:property [
359
+ sh:path schema:validThrough ;
360
+ sh:minCount 1 ;
361
+ sh:severity sh:Warning ;
362
+ sh:message "Recommended by Google: validThrough." ;
363
+ ] ;
364
+ .
365
+
366
+ :google_RestaurantShape
367
+ a sh:NodeShape ;
368
+ sh:targetClass schema:Restaurant ;
369
+ sh:property [
370
+ sh:path schema:address ;
371
+ sh:minCount 1 ;
372
+ ] ;
373
+ sh:property [
374
+ sh:path schema:image ;
375
+ sh:minCount 1 ;
376
+ ] ;
377
+ sh:property [
378
+ sh:path schema:name ;
379
+ sh:minCount 1 ;
380
+ ] ;
381
+ sh:property [
382
+ sh:path schema:aggregateRating ;
383
+ sh:minCount 1 ;
384
+ sh:severity sh:Warning ;
385
+ sh:message "Recommended by Google: aggregateRating." ;
386
+ ] ;
387
+ sh:property [
388
+ sh:path schema:closes ;
389
+ sh:minCount 1 ;
390
+ sh:severity sh:Warning ;
391
+ sh:message "Recommended by Google: closes." ;
392
+ ] ;
393
+ sh:property [
394
+ sh:path schema:dayOfWeek ;
395
+ sh:minCount 1 ;
396
+ sh:severity sh:Warning ;
397
+ sh:message "Recommended by Google: dayOfWeek." ;
398
+ ] ;
399
+ sh:property [
400
+ sh:path schema:department ;
401
+ sh:minCount 1 ;
402
+ sh:severity sh:Warning ;
403
+ sh:message "Recommended by Google: department." ;
404
+ ] ;
405
+ sh:property [
406
+ sh:path schema:geo ;
407
+ sh:minCount 1 ;
408
+ sh:severity sh:Warning ;
409
+ sh:message "Recommended by Google: geo." ;
410
+ ] ;
411
+ sh:property [
412
+ sh:path schema:latitude ;
413
+ sh:minCount 1 ;
414
+ sh:severity sh:Warning ;
415
+ sh:message "Recommended by Google: latitude." ;
416
+ ] ;
417
+ sh:property [
418
+ sh:path schema:longitude ;
419
+ sh:minCount 1 ;
420
+ sh:severity sh:Warning ;
421
+ sh:message "Recommended by Google: longitude." ;
422
+ ] ;
423
+ sh:property [
424
+ sh:path schema:menu ;
425
+ sh:minCount 1 ;
426
+ sh:severity sh:Warning ;
427
+ sh:message "Recommended by Google: menu." ;
428
+ ] ;
429
+ sh:property [
430
+ sh:path schema:openingHoursSpecification ;
431
+ sh:minCount 1 ;
432
+ sh:severity sh:Warning ;
433
+ sh:message "Recommended by Google: openingHoursSpecification." ;
434
+ ] ;
435
+ sh:property [
436
+ sh:path schema:opens ;
437
+ sh:minCount 1 ;
438
+ sh:severity sh:Warning ;
439
+ sh:message "Recommended by Google: opens." ;
440
+ ] ;
441
+ sh:property [
442
+ sh:path schema:priceRange ;
443
+ sh:minCount 1 ;
444
+ sh:severity sh:Warning ;
445
+ sh:message "Recommended by Google: priceRange." ;
446
+ ] ;
447
+ sh:property [
448
+ sh:path schema:review ;
449
+ sh:minCount 1 ;
450
+ sh:severity sh:Warning ;
451
+ sh:message "Recommended by Google: review." ;
452
+ ] ;
453
+ sh:property [
454
+ sh:path schema:servesCuisine ;
455
+ sh:minCount 1 ;
456
+ sh:severity sh:Warning ;
457
+ sh:message "Recommended by Google: servesCuisine." ;
458
+ ] ;
459
+ sh:property [
460
+ sh:path schema:telephone ;
461
+ sh:minCount 1 ;
462
+ sh:severity sh:Warning ;
463
+ sh:message "Recommended by Google: telephone." ;
464
+ ] ;
465
+ sh:property [
466
+ sh:path schema:url ;
467
+ sh:minCount 1 ;
468
+ sh:severity sh:Warning ;
469
+ sh:message "Recommended by Google: url." ;
470
+ ] ;
471
+ sh:property [
472
+ sh:path schema:validFrom ;
473
+ sh:minCount 1 ;
474
+ sh:severity sh:Warning ;
475
+ sh:message "Recommended by Google: validFrom." ;
476
+ ] ;
477
+ sh:property [
478
+ sh:path schema:validThrough ;
479
+ sh:minCount 1 ;
480
+ sh:severity sh:Warning ;
481
+ sh:message "Recommended by Google: validThrough." ;
482
+ ] ;
483
+ .
@@ -0,0 +1,61 @@
1
+ @prefix : <https://wordlift.io/shacl/google/google-loyalty-program/> .
2
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
3
+ @prefix schema: <http://schema.org/> .
4
+
5
+ # Source: https://developers.google.com/search/docs/appearance/structured-data/loyalty-program
6
+ # Generated: 2026-01-13T11:23:45Z
7
+ # Notes: required properties => errors; recommended properties => warnings.
8
+
9
+ :google_MemberProgramShape
10
+ a sh:NodeShape ;
11
+ sh:targetClass schema:MemberProgram ;
12
+ sh:property [
13
+ sh:path schema:description ;
14
+ sh:minCount 1 ;
15
+ ] ;
16
+ sh:property [
17
+ sh:path schema:hasTiers ;
18
+ sh:minCount 1 ;
19
+ ] ;
20
+ sh:property [
21
+ sh:path schema:name ;
22
+ sh:minCount 1 ;
23
+ ] ;
24
+ sh:property [
25
+ sh:path schema:url ;
26
+ sh:minCount 1 ;
27
+ sh:severity sh:Warning ;
28
+ sh:message "Recommended by Google: url." ;
29
+ ] ;
30
+ .
31
+
32
+ :google_MemberProgramTierShape
33
+ a sh:NodeShape ;
34
+ sh:targetClass schema:MemberProgramTier ;
35
+ sh:property [
36
+ sh:path schema:hasTierBenefit ;
37
+ sh:minCount 1 ;
38
+ ] ;
39
+ sh:property [
40
+ sh:path schema:name ;
41
+ sh:minCount 1 ;
42
+ ] ;
43
+ sh:property [
44
+ sh:path schema:hasTierRequirement ;
45
+ sh:minCount 1 ;
46
+ sh:severity sh:Warning ;
47
+ sh:message "Recommended by Google: hasTierRequirement." ;
48
+ ] ;
49
+ sh:property [
50
+ sh:path schema:membershipPointsEarned ;
51
+ sh:minCount 1 ;
52
+ sh:severity sh:Warning ;
53
+ sh:message "Recommended by Google: membershipPointsEarned." ;
54
+ ] ;
55
+ sh:property [
56
+ sh:path schema:url ;
57
+ sh:minCount 1 ;
58
+ sh:severity sh:Warning ;
59
+ sh:message "Recommended by Google: url." ;
60
+ ] ;
61
+ .
@@ -0,0 +1,63 @@
1
+ @prefix : <https://wordlift.io/shacl/google/google-math-solvers/> .
2
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
3
+ @prefix schema: <http://schema.org/> .
4
+
5
+ # Source: https://developers.google.com/search/docs/appearance/structured-data/math-solvers
6
+ # Generated: 2026-01-13T11:23:34Z
7
+ # Notes: required properties => errors; recommended properties => warnings.
8
+
9
+ :google_LearningResourceShape
10
+ a sh:NodeShape ;
11
+ sh:targetClass schema:LearningResource ;
12
+ sh:property [
13
+ sh:path schema:learningResourceType ;
14
+ sh:minCount 1 ;
15
+ ] ;
16
+ .
17
+
18
+ :google_MathSolverShape
19
+ a sh:NodeShape ;
20
+ sh:targetClass schema:MathSolver ;
21
+ sh:property [
22
+ sh:path schema:input ;
23
+ sh:minCount 1 ;
24
+ ] ;
25
+ sh:property [
26
+ sh:path schema:mathExpression ;
27
+ sh:minCount 1 ;
28
+ ] ;
29
+ sh:property [
30
+ sh:path schema:potentialAction ;
31
+ sh:minCount 1 ;
32
+ ] ;
33
+ sh:property [
34
+ sh:path schema:target ;
35
+ sh:minCount 1 ;
36
+ ] ;
37
+ sh:property [
38
+ sh:path schema:url ;
39
+ sh:minCount 1 ;
40
+ ] ;
41
+ sh:property [
42
+ sh:path schema:usageInfo ;
43
+ sh:minCount 1 ;
44
+ ] ;
45
+ sh:property [
46
+ sh:path schema:assesses ;
47
+ sh:minCount 1 ;
48
+ sh:severity sh:Warning ;
49
+ sh:message "Recommended by Google: assesses." ;
50
+ ] ;
51
+ sh:property [
52
+ sh:path schema:eduQuestionType ;
53
+ sh:minCount 1 ;
54
+ sh:severity sh:Warning ;
55
+ sh:message "Recommended by Google: eduQuestionType." ;
56
+ ] ;
57
+ sh:property [
58
+ sh:path schema:inLanguage ;
59
+ sh:minCount 1 ;
60
+ sh:severity sh:Warning ;
61
+ sh:message "Recommended by Google: inLanguage." ;
62
+ ] ;
63
+ .