Created
May 18, 2019 20:00
-
-
Save jum-s/6c7792b8fa0a4771002729e683ce2529 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
PREFIX wds: <http://www.wikidata.org/entity/statement/> | |
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#> | |
PREFIX wdata: <http://www.wikidata.org/wiki/Special:EntityData/> | |
PREFIX p: <http://www.wikidata.org/prop/> | |
PREFIX wd: <http://www.wikidata.org/entity/> | |
PREFIX wdno: <http://www.wikidata.org/prop/novalue/> | |
PREFIX wdref: <http://www.wikidata.org/reference/> | |
PREFIX ps: <http://www.wikidata.org/prop/statement/> | |
PREFIX pq: <http://www.wikidata.org/prop/qualifier/> | |
PREFIX cc: <http://creativecommons.org/ns#> | |
PREFIX wdt: <http://www.wikidata.org/prop/direct/> | |
PREFIX wdv: <http://www.wikidata.org/value/> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX dct: <http://purl.org/dc/terms/> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX prov: <http://www.w3.org/ns/prov#> | |
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/> | |
PREFIX pqv: <http://www.wikidata.org/prop/qualifier/value/> | |
PREFIX prv: <http://www.wikidata.org/prop/reference/value/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX psv: <http://www.wikidata.org/prop/statement/value/> | |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
PREFIX geo: <http://www.opengis.net/ont/geosparql#> | |
PREFIX bd: <http://www.bigdata.com/rdf#> | |
PREFIX pqn: <http://www.wikidata.org/prop/qualifier/value-normalized/> | |
PREFIX pr: <http://www.wikidata.org/prop/reference/> | |
PREFIX prn: <http://www.wikidata.org/prop/reference/value-normalized/> | |
PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/> | |
PREFIX schema: <http://schema.org/> | |
PREFIX wikibase: <http://wikiba.se/ontology#> | |
<http://shex.io/generatedShape> { | |
# Ontology indications | |
# Data indications | |
# | |
schema:version xsd:integer; | |
# | |
rdfs:label rdf:langString +; | |
# | |
wikibase:sitelinks xsd:integer; | |
# | |
wikibase:identifiers xsd:integer; | |
# instance of | |
p:P31 { a IRI *; wikibase:rank IRI *; ps:P31 IRI *; } +; | |
# instance of | |
wdt:P31 IRI +; | |
# | |
schema:dateModified xsd:dateTime; | |
# | |
wikibase:statements xsd:integer; | |
# | |
schema:description rdf:langString *; | |
# genre | |
wdt:P136 IRI *; | |
# author | |
wdt:P50 IRI ?; | |
# | |
wikibase:timestamp xsd:dateTime ?; | |
# genre | |
p:P136 { a IRI *; ps:P136 IRI *; wikibase:rank IRI *; prov:wasDerivedFrom IRI *; } *; | |
# author | |
p:P50 { a IRI *; ps:P50 IRI *; wikibase:rank IRI *; prov:wasDerivedFrom IRI *; } ?; | |
# country of origin | |
wdt:P495 IRI ?; | |
# country of origin | |
p:P495 { a IRI *; ps:P495 IRI *; wikibase:rank IRI *; prov:wasDerivedFrom IRI *; } ?; | |
# language of work or name | |
wdt:P407 IRI ?; | |
# publication date | |
p:P577 { a IRI *; ps:P577 xsd:dateTime *; psv:P577 IRI *; wikibase:rank IRI *; prov:wasDerivedFrom IRI *; } *; | |
# language of work or name | |
p:P407 { a IRI *; ps:P407 IRI *; wikibase:rank IRI *; } ?; | |
# publication date | |
wdt:P577 xsd:dateTime *; | |
# main subject | |
p:P921 { a IRI *; ps:P921 IRI *; wikibase:rank IRI *; } ?; | |
# official website | |
p:P856 { a IRI *; ps:P856 IRI *; wikibase:rank IRI *; prov:wasDerivedFrom IRI *; } ?; | |
# official website | |
wdt:P856 IRI ?; | |
# main subject | |
wdt:P921 IRI ?; | |
# title | |
wdt:P1476 rdf:langString ?; | |
# title | |
p:P1476 { a IRI *; ps:P1476 rdf:langString *; wikibase:rank IRI *; } ?; | |
# Commons category | |
p:P373 { a IRI *; ps:P373 xsd:string *; wikibase:rank IRI *; prov:wasDerivedFrom IRI *; } ?; | |
# publisher | |
wdt:P123 IRI *; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment