shacl.ttl 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665
  1. # W3C Shapes Constraint Language (SHACL) Vocabulary
  2. # Version from 2017-07-20
  3. @prefix owl: <http://www.w3.org/2002/07/owl#> .
  4. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
  5. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
  6. @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
  7. @prefix sh: <http://www.w3.org/ns/shacl#> .
  8. sh:
  9. a owl:Ontology ;
  10. rdfs:label "W3C Shapes Constraint Language (SHACL) Vocabulary"@en ;
  11. rdfs:comment "This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language."@en ;
  12. sh:declare [
  13. sh:prefix "sh" ;
  14. sh:namespace "http://www.w3.org/ns/shacl#" ;
  15. ] ;
  16. sh:suggestedShapesGraph <http://www.w3.org/ns/shacl-shacl#> .
  17. # Shapes vocabulary -----------------------------------------------------------
  18. sh:Shape
  19. a rdfs:Class ;
  20. rdfs:label "Shape"@en ;
  21. rdfs:comment "A shape is a collection of constraints that may be targeted for certain nodes."@en ;
  22. rdfs:subClassOf rdfs:Resource ;
  23. rdfs:isDefinedBy sh: .
  24. sh:NodeShape
  25. a rdfs:Class ;
  26. rdfs:label "Node shape"@en ;
  27. rdfs:comment "A node shape is a shape that specifies constraint that need to be met with respect to focus nodes."@en ;
  28. rdfs:subClassOf sh:Shape ;
  29. rdfs:isDefinedBy sh: .
  30. sh:PropertyShape
  31. a rdfs:Class ;
  32. rdfs:label "Property shape"@en ;
  33. rdfs:comment "A property shape is a shape that specifies constraints on the values of a focus node for a given property or path."@en ;
  34. rdfs:subClassOf sh:Shape ;
  35. rdfs:isDefinedBy sh: .
  36. sh:deactivated
  37. a rdf:Property ;
  38. rdfs:label "deactivated"@en ;
  39. rdfs:comment "If set to true then all nodes conform to this."@en ;
  40. # rdfs:domain sh:Shape or sh:SPARQLConstraint
  41. rdfs:range xsd:boolean ;
  42. rdfs:isDefinedBy sh: .
  43. sh:targetClass
  44. a rdf:Property ;
  45. rdfs:label "target class"@en ;
  46. rdfs:comment "Links a shape to a class, indicating that all instances of the class must conform to the shape."@en ;
  47. rdfs:domain sh:Shape ;
  48. rdfs:range rdfs:Class ;
  49. rdfs:isDefinedBy sh: .
  50. sh:targetNode
  51. a rdf:Property ;
  52. rdfs:label "target node"@en ;
  53. rdfs:comment "Links a shape to individual nodes, indicating that these nodes must conform to the shape."@en ;
  54. rdfs:domain sh:Shape ;
  55. rdfs:isDefinedBy sh: .
  56. sh:targetObjectsOf
  57. a rdf:Property ;
  58. rdfs:label "target objects of"@en ;
  59. rdfs:comment "Links a shape to a property, indicating that all all objects of triples that have the given property as their predicate must conform to the shape."@en ;
  60. rdfs:domain sh:Shape ;
  61. rdfs:range rdf:Property ;
  62. rdfs:isDefinedBy sh: .
  63. sh:targetSubjectsOf
  64. a rdf:Property ;
  65. rdfs:label "target subjects of"@en ;
  66. rdfs:comment "Links a shape to a property, indicating that all subjects of triples that have the given property as their predicate must conform to the shape."@en ;
  67. rdfs:domain sh:Shape ;
  68. rdfs:range rdf:Property ;
  69. rdfs:isDefinedBy sh: .
  70. sh:message
  71. a rdf:Property ;
  72. # domain: sh:Shape or sh:SPARQLConstraint or sh:SPARQLSelectValidator or sh:SPARQLAskValidator
  73. # range: xsd:string or rdf:langString
  74. rdfs:label "message"@en ;
  75. rdfs:comment "A human-readable message (possibly with placeholders for variables) explaining the cause of the result."@en ;
  76. rdfs:isDefinedBy sh: .
  77. sh:severity
  78. a rdf:Property ;
  79. rdfs:label "severity"@en ;
  80. rdfs:comment "Defines the severity that validation results produced by a shape must have. Defaults to sh:Violation."@en ;
  81. rdfs:domain sh:Shape ;
  82. rdfs:range sh:Severity ;
  83. rdfs:isDefinedBy sh: .
  84. # Node kind vocabulary --------------------------------------------------------
  85. sh:NodeKind
  86. a rdfs:Class ;
  87. rdfs:label "Node kind"@en ;
  88. rdfs:comment "The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral."@en ;
  89. rdfs:subClassOf rdfs:Resource ;
  90. rdfs:isDefinedBy sh: .
  91. sh:BlankNode
  92. a sh:NodeKind ;
  93. rdfs:label "Blank node"@en ;
  94. rdfs:comment "The node kind of all blank nodes."@en ;
  95. rdfs:isDefinedBy sh: .
  96. sh:BlankNodeOrIRI
  97. a sh:NodeKind ;
  98. rdfs:label "Blank node or IRI"@en ;
  99. rdfs:comment "The node kind of all blank nodes or IRIs."@en ;
  100. rdfs:isDefinedBy sh: .
  101. sh:BlankNodeOrLiteral
  102. a sh:NodeKind ;
  103. rdfs:label "Blank node or literal"@en ;
  104. rdfs:comment "The node kind of all blank nodes or literals."@en ;
  105. rdfs:isDefinedBy sh: .
  106. sh:IRI
  107. a sh:NodeKind ;
  108. rdfs:label "IRI"@en ;
  109. rdfs:comment "The node kind of all IRIs."@en ;
  110. rdfs:isDefinedBy sh: .
  111. sh:IRIOrLiteral
  112. a sh:NodeKind ;
  113. rdfs:label "IRI or literal"@en ;
  114. rdfs:comment "The node kind of all IRIs or literals."@en ;
  115. rdfs:isDefinedBy sh: .
  116. sh:Literal
  117. a sh:NodeKind ;
  118. rdfs:label "Literal"@en ;
  119. rdfs:comment "The node kind of all literals."@en ;
  120. rdfs:isDefinedBy sh: .
  121. # Results vocabulary ----------------------------------------------------------
  122. sh:ValidationReport
  123. a rdfs:Class ;
  124. rdfs:label "Validation report"@en ;
  125. rdfs:comment "The class of SHACL validation reports."@en ;
  126. rdfs:subClassOf rdfs:Resource ;
  127. rdfs:isDefinedBy sh: .
  128. sh:conforms
  129. a rdf:Property ;
  130. rdfs:label "conforms"@en ;
  131. rdfs:comment "True if the validation did not produce any validation results, and false otherwise."@en ;
  132. rdfs:domain sh:ValidationReport ;
  133. rdfs:range xsd:boolean ;
  134. rdfs:isDefinedBy sh: .
  135. sh:result
  136. a rdf:Property ;
  137. rdfs:label "result"@en ;
  138. rdfs:comment "The validation results contained in a validation report."@en ;
  139. rdfs:domain sh:ValidationReport ;
  140. rdfs:range sh:ValidationResult ;
  141. rdfs:isDefinedBy sh: .
  142. sh:shapesGraphWellFormed
  143. a rdf:Property ;
  144. rdfs:label "shapes graph well-formed"@en ;
  145. rdfs:comment "If true then the validation engine was certain that the shapes graph has passed all SHACL syntax requirements during the validation process."@en ;
  146. rdfs:domain sh:ValidationReport ;
  147. rdfs:range xsd:boolean ;
  148. rdfs:isDefinedBy sh: .
  149. sh:AbstractResult
  150. a rdfs:Class ;
  151. rdfs:label "Abstract result"@en ;
  152. rdfs:comment "The base class of validation results, typically not instantiated directly."@en ;
  153. rdfs:subClassOf rdfs:Resource ;
  154. rdfs:isDefinedBy sh: .
  155. sh:ValidationResult
  156. a rdfs:Class ;
  157. rdfs:label "Validation result"@en ;
  158. rdfs:comment "The class of validation results."@en ;
  159. rdfs:subClassOf sh:AbstractResult ;
  160. rdfs:isDefinedBy sh: .
  161. sh:Severity
  162. a rdfs:Class ;
  163. rdfs:label "Severity"@en ;
  164. rdfs:comment "The class of validation result severity levels, including violation and warning levels."@en ;
  165. rdfs:subClassOf rdfs:Resource ;
  166. rdfs:isDefinedBy sh: .
  167. sh:Info
  168. a sh:Severity ;
  169. rdfs:label "Info"@en ;
  170. rdfs:comment "The severity for an informational validation result."@en ;
  171. rdfs:isDefinedBy sh: .
  172. sh:Violation
  173. a sh:Severity ;
  174. rdfs:label "Violation"@en ;
  175. rdfs:comment "The severity for a violation validation result."@en ;
  176. rdfs:isDefinedBy sh: .
  177. sh:Warning
  178. a sh:Severity ;
  179. rdfs:label "Warning"@en ;
  180. rdfs:comment "The severity for a warning validation result."@en ;
  181. rdfs:isDefinedBy sh: .
  182. sh:detail
  183. a rdf:Property ;
  184. rdfs:label "detail"@en ;
  185. rdfs:comment "Links a result with other results that provide more details, for example to describe violations against nested shapes."@en ;
  186. rdfs:domain sh:AbstractResult ;
  187. rdfs:range sh:AbstractResult ;
  188. rdfs:isDefinedBy sh: .
  189. sh:focusNode
  190. a rdf:Property ;
  191. rdfs:label "focus node"@en ;
  192. rdfs:comment "The focus node that was validated when the result was produced."@en ;
  193. rdfs:domain sh:AbstractResult ;
  194. rdfs:isDefinedBy sh: .
  195. sh:resultMessage
  196. a rdf:Property ;
  197. rdfs:label "result message"@en ;
  198. rdfs:comment "Human-readable messages explaining the cause of the result."@en ;
  199. rdfs:domain sh:AbstractResult ;
  200. # range: xsd:string or rdf:langString
  201. rdfs:isDefinedBy sh: .
  202. sh:resultPath
  203. a rdf:Property ;
  204. rdfs:label "result path"@en ;
  205. rdfs:comment "The path of a validation result, based on the path of the validated property shape."@en ;
  206. rdfs:domain sh:AbstractResult ;
  207. rdfs:range rdfs:Resource ;
  208. rdfs:isDefinedBy sh: .
  209. sh:resultSeverity
  210. a rdf:Property ;
  211. rdfs:label "result severity"@en ;
  212. rdfs:comment "The severity of the result, e.g. warning."@en ;
  213. rdfs:domain sh:AbstractResult ;
  214. rdfs:range sh:Severity ;
  215. rdfs:isDefinedBy sh: .
  216. sh:sourceConstraint
  217. a rdf:Property ;
  218. rdfs:label "source constraint"@en ;
  219. rdfs:comment "The constraint that was validated when the result was produced."@en ;
  220. rdfs:domain sh:AbstractResult ;
  221. rdfs:isDefinedBy sh: .
  222. sh:sourceShape
  223. a rdf:Property ;
  224. rdfs:label "source shape"@en ;
  225. rdfs:comment "The shape that is was validated when the result was produced."@en ;
  226. rdfs:domain sh:AbstractResult ;
  227. rdfs:range sh:Shape ;
  228. rdfs:isDefinedBy sh: .
  229. sh:sourceConstraintComponent
  230. a rdf:Property ;
  231. rdfs:label "source constraint component"@en ;
  232. rdfs:comment "The constraint component that is the source of the result."@en ;
  233. rdfs:domain sh:AbstractResult ;
  234. rdfs:range sh:ConstraintComponent ;
  235. rdfs:isDefinedBy sh: .
  236. sh:value
  237. a rdf:Property ;
  238. rdfs:label "value"@en ;
  239. rdfs:comment "An RDF node that has caused the result."@en ;
  240. rdfs:domain sh:AbstractResult ;
  241. rdfs:isDefinedBy sh: .
  242. # Graph properties ------------------------------------------------------------
  243. sh:shapesGraph
  244. a rdf:Property ;
  245. rdfs:label "shapes graph"@en ;
  246. rdfs:comment "Shapes graphs that should be used when validating this data graph."@en ;
  247. rdfs:domain owl:Ontology ;
  248. rdfs:range owl:Ontology ;
  249. rdfs:isDefinedBy sh: .
  250. sh:suggestedShapesGraph
  251. a rdf:Property ;
  252. rdfs:label "suggested shapes graph"@en ;
  253. rdfs:comment "Suggested shapes graphs for this ontology. The values of this property may be used in the absence of specific sh:shapesGraph statements."@en ;
  254. rdfs:domain owl:Ontology ;
  255. rdfs:range owl:Ontology ;
  256. rdfs:isDefinedBy sh: .
  257. sh:entailment
  258. a rdf:Property ;
  259. rdfs:label "entailment"@en ;
  260. rdfs:comment "An entailment regime that indicates what kind of inferencing is required by a shapes graph."@en ;
  261. rdfs:domain owl:Ontology ;
  262. rdfs:range rdfs:Resource ;
  263. rdfs:isDefinedBy sh: .
  264. # Path vocabulary -------------------------------------------------------------
  265. sh:path
  266. a rdf:Property ;
  267. rdfs:label "path"@en ;
  268. rdfs:comment "Specifies the property path of a property shape."@en ;
  269. rdfs:domain sh:PropertyShape ;
  270. rdfs:range rdfs:Resource ;
  271. rdfs:isDefinedBy sh: .
  272. sh:inversePath
  273. a rdf:Property ;
  274. rdfs:label "inverse path"@en ;
  275. rdfs:comment "The (single) value of this property represents an inverse path (object to subject)."@en ;
  276. rdfs:range rdfs:Resource ;
  277. rdfs:isDefinedBy sh: .
  278. sh:alternativePath
  279. a rdf:Property ;
  280. rdfs:label "alternative path"@en ;
  281. rdfs:comment "The (single) value of this property must be a list of path elements, representing the elements of alternative paths."@en ;
  282. rdfs:range rdf:List ;
  283. rdfs:isDefinedBy sh: .
  284. sh:zeroOrMorePath
  285. a rdf:Property ;
  286. rdfs:label "zero or more path"@en ;
  287. rdfs:comment "The (single) value of this property represents a path that is matched zero or more times."@en ;
  288. rdfs:range rdfs:Resource ;
  289. rdfs:isDefinedBy sh: .
  290. sh:oneOrMorePath
  291. a rdf:Property ;
  292. rdfs:label "one or more path"@en ;
  293. rdfs:comment "The (single) value of this property represents a path that is matched one or more times."@en ;
  294. rdfs:range rdfs:Resource ;
  295. rdfs:isDefinedBy sh: .
  296. sh:zeroOrOnePath
  297. a rdf:Property ;
  298. rdfs:label "zero or one path"@en ;
  299. rdfs:comment "The (single) value of this property represents a path that is matched zero or one times."@en ;
  300. rdfs:range rdfs:Resource ;
  301. rdfs:isDefinedBy sh: .
  302. # Parameters metamodel --------------------------------------------------------
  303. sh:Parameterizable
  304. a rdfs:Class ;
  305. rdfs:label "Parameterizable"@en ;
  306. rdfs:comment "Superclass of components that can take parameters, especially functions and constraint components."@en ;
  307. rdfs:subClassOf rdfs:Resource ;
  308. rdfs:isDefinedBy sh: .
  309. sh:parameter
  310. a rdf:Property ;
  311. rdfs:label "parameter"@en ;
  312. rdfs:comment "The parameters of a function or constraint component."@en ;
  313. rdfs:domain sh:Parameterizable ;
  314. rdfs:range sh:Parameter ;
  315. rdfs:isDefinedBy sh: .
  316. sh:labelTemplate
  317. a rdf:Property ;
  318. rdfs:label "label template"@en ;
  319. rdfs:comment "Outlines how human-readable labels of instances of the associated Parameterizable shall be produced. The values can contain {?paramName} as placeholders for the actual values of the given parameter."@en ;
  320. rdfs:domain sh:Parameterizable ;
  321. # range: xsd:string or rdf:langString
  322. rdfs:isDefinedBy sh: .
  323. sh:Parameter
  324. a rdfs:Class ;
  325. rdfs:label "Parameter"@en ;
  326. rdfs:comment "The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics."@en ;
  327. rdfs:subClassOf sh:PropertyShape ;
  328. rdfs:isDefinedBy sh: .
  329. sh:optional
  330. a rdf:Property ;
  331. rdfs:label "optional"@en ;
  332. rdfs:comment "Indicates whether a parameter is optional."@en ;
  333. rdfs:domain sh:Parameter ;
  334. rdfs:range xsd:boolean ;
  335. rdfs:isDefinedBy sh: .
  336. # Constraint components metamodel ---------------------------------------------
  337. sh:ConstraintComponent
  338. a rdfs:Class ;
  339. rdfs:label "Constraint component"@en ;
  340. rdfs:comment "The class of constraint components."@en ;
  341. rdfs:subClassOf sh:Parameterizable ;
  342. rdfs:isDefinedBy sh: .
  343. sh:validator
  344. a rdf:Property ;
  345. rdfs:label "validator"@en ;
  346. rdfs:comment "The validator(s) used to evaluate constraints of either node or property shapes."@en ;
  347. rdfs:domain sh:ConstraintComponent ;
  348. rdfs:range sh:Validator ;
  349. rdfs:isDefinedBy sh: .
  350. sh:nodeValidator
  351. a rdf:Property ;
  352. rdfs:label "shape validator"@en ;
  353. rdfs:comment "The validator(s) used to evaluate a constraint in the context of a node shape."@en ;
  354. rdfs:domain sh:ConstraintComponent ;
  355. rdfs:range sh:Validator ;
  356. rdfs:isDefinedBy sh: .
  357. sh:propertyValidator
  358. a rdf:Property ;
  359. rdfs:label "property validator"@en ;
  360. rdfs:comment "The validator(s) used to evaluate a constraint in the context of a property shape."@en ;
  361. rdfs:domain sh:ConstraintComponent ;
  362. rdfs:range sh:Validator ;
  363. rdfs:isDefinedBy sh: .
  364. sh:Validator
  365. a rdfs:Class ;
  366. rdfs:label "Validator"@en ;
  367. rdfs:comment "The class of validators, which provide instructions on how to process a constraint definition. This class serves as base class for the SPARQL-based validators and other possible implementations."@en ;
  368. rdfs:subClassOf rdfs:Resource ;
  369. rdfs:isDefinedBy sh: .
  370. sh:SPARQLAskValidator
  371. a rdfs:Class ;
  372. rdfs:label "SPARQL ASK validator"@en ;
  373. rdfs:comment "The class of validators based on SPARQL ASK queries. The queries are evaluated for each value node and are supposed to return true if the given node conforms."@en ;
  374. rdfs:subClassOf sh:Validator ;
  375. rdfs:subClassOf sh:SPARQLAskExecutable ;
  376. rdfs:isDefinedBy sh: .
  377. sh:SPARQLSelectValidator
  378. a rdfs:Class ;
  379. rdfs:label "SPARQL SELECT validator"@en ;
  380. rdfs:comment "The class of validators based on SPARQL SELECT queries. The queries are evaluated for each focus node and are supposed to produce bindings for all focus nodes that do not conform."@en ;
  381. rdfs:subClassOf sh:Validator ;
  382. rdfs:subClassOf sh:SPARQLSelectExecutable ;
  383. rdfs:isDefinedBy sh: .
  384. # Library of Core Constraint Components and their properties ------------------
  385. sh:AndConstraintComponent
  386. a sh:ConstraintComponent ;
  387. rdfs:label "And constraint component"@en ;
  388. rdfs:comment "A constraint component that can be used to test whether a value node conforms to all members of a provided list of shapes."@en ;
  389. sh:parameter sh:AndConstraintComponent-and ;
  390. rdfs:isDefinedBy sh: .
  391. sh:AndConstraintComponent-and
  392. a sh:Parameter ;
  393. sh:path sh:and ;
  394. rdfs:isDefinedBy sh: .
  395. sh:and
  396. a rdf:Property ;
  397. rdfs:label "and"@en ;
  398. rdfs:comment "RDF list of shapes to validate the value nodes against."@en ;
  399. rdfs:range rdf:List ;
  400. rdfs:isDefinedBy sh: .
  401. sh:ClassConstraintComponent
  402. a sh:ConstraintComponent ;
  403. rdfs:label "Class constraint component"@en ;
  404. rdfs:comment "A constraint component that can be used to verify that each value node is an instance of a given type."@en ;
  405. sh:parameter sh:ClassConstraintComponent-class ;
  406. rdfs:isDefinedBy sh: .
  407. sh:ClassConstraintComponent-class
  408. a sh:Parameter ;
  409. sh:path sh:class ;
  410. sh:nodeKind sh:IRI ;
  411. rdfs:isDefinedBy sh: .
  412. sh:class
  413. a rdf:Property ;
  414. rdfs:label "class"@en ;
  415. rdfs:comment "The type that all value nodes must have."@en ;
  416. rdfs:range rdfs:Class ;
  417. rdfs:isDefinedBy sh: .
  418. sh:ClosedConstraintComponent
  419. a sh:ConstraintComponent ;
  420. rdfs:label "Closed constraint component"@en ;
  421. rdfs:comment "A constraint component that can be used to indicate that focus nodes must only have values for those properties that have been explicitly enumerated via sh:property/sh:path."@en ;
  422. sh:parameter sh:ClosedConstraintComponent-closed ;
  423. sh:parameter sh:ClosedConstraintComponent-ignoredProperties ;
  424. rdfs:isDefinedBy sh: .
  425. sh:ClosedConstraintComponent-closed
  426. a sh:Parameter ;
  427. sh:path sh:closed ;
  428. sh:datatype xsd:boolean ;
  429. rdfs:isDefinedBy sh: .
  430. sh:ClosedConstraintComponent-ignoredProperties
  431. a sh:Parameter ;
  432. sh:path sh:ignoredProperties ;
  433. sh:optional true ;
  434. rdfs:isDefinedBy sh: .
  435. sh:closed
  436. a rdf:Property ;
  437. rdfs:label "closed"@en ;
  438. rdfs:comment "If set to true then the shape is closed."@en ;
  439. rdfs:range xsd:boolean ;
  440. rdfs:isDefinedBy sh: .
  441. sh:ignoredProperties
  442. a rdf:Property ;
  443. rdfs:label "ignored properties"@en ;
  444. rdfs:comment "An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path."@en ;
  445. rdfs:range rdf:List ; # members: rdf:Property
  446. rdfs:isDefinedBy sh: .
  447. sh:DatatypeConstraintComponent
  448. a sh:ConstraintComponent ;
  449. rdfs:label "Datatype constraint component"@en ;
  450. rdfs:comment "A constraint component that can be used to restrict the datatype of all value nodes."@en ;
  451. sh:parameter sh:DatatypeConstraintComponent-datatype ;
  452. rdfs:isDefinedBy sh: .
  453. sh:DatatypeConstraintComponent-datatype
  454. a sh:Parameter ;
  455. sh:path sh:datatype ;
  456. sh:nodeKind sh:IRI ;
  457. sh:maxCount 1 ;
  458. rdfs:isDefinedBy sh: .
  459. sh:datatype
  460. a rdf:Property ;
  461. rdfs:label "datatype"@en ;
  462. rdfs:comment "Specifies an RDF datatype that all value nodes must have."@en ;
  463. rdfs:range rdfs:Datatype ;
  464. rdfs:isDefinedBy sh: .
  465. sh:DisjointConstraintComponent
  466. a sh:ConstraintComponent ;
  467. rdfs:label "Disjoint constraint component"@en ;
  468. rdfs:comment "A constraint component that can be used to verify that the set of value nodes is disjoint with the the set of nodes that have the focus node as subject and the value of a given property as predicate."@en ;
  469. sh:parameter sh:DisjointConstraintComponent-disjoint ;
  470. rdfs:isDefinedBy sh: .
  471. sh:DisjointConstraintComponent-disjoint
  472. a sh:Parameter ;
  473. sh:path sh:disjoint ;
  474. sh:nodeKind sh:IRI ;
  475. rdfs:isDefinedBy sh: .
  476. sh:disjoint
  477. a rdf:Property ;
  478. rdfs:label "disjoint"@en ;
  479. rdfs:comment "Specifies a property where the set of values must be disjoint with the value nodes."@en ;
  480. rdfs:range rdf:Property ;
  481. rdfs:isDefinedBy sh: .
  482. sh:EqualsConstraintComponent
  483. a sh:ConstraintComponent ;
  484. rdfs:label "Equals constraint component"@en ;
  485. rdfs:comment "A constraint component that can be used to verify that the set of value nodes is equal to the set of nodes that have the focus node as subject and the value of a given property as predicate."@en ;
  486. sh:parameter sh:EqualsConstraintComponent-equals ;
  487. rdfs:isDefinedBy sh: .
  488. sh:EqualsConstraintComponent-equals
  489. a sh:Parameter ;
  490. sh:path sh:equals ;
  491. sh:nodeKind sh:IRI ;
  492. rdfs:isDefinedBy sh: .
  493. sh:equals
  494. a rdf:Property ;
  495. rdfs:label "equals"@en ;
  496. rdfs:comment "Specifies a property that must have the same values as the value nodes."@en ;
  497. rdfs:range rdf:Property ;
  498. rdfs:isDefinedBy sh: .
  499. sh:HasValueConstraintComponent
  500. a sh:ConstraintComponent ;
  501. rdfs:label "Has-value constraint component"@en ;
  502. rdfs:comment "A constraint component that can be used to verify that one of the value nodes is a given RDF node."@en ;
  503. sh:parameter sh:HasValueConstraintComponent-hasValue ;
  504. rdfs:isDefinedBy sh: .
  505. sh:HasValueConstraintComponent-hasValue
  506. a sh:Parameter ;
  507. sh:path sh:hasValue ;
  508. rdfs:isDefinedBy sh: .
  509. sh:hasValue
  510. a rdf:Property ;
  511. rdfs:label "has value"@en ;
  512. rdfs:comment "Specifies a value that must be among the value nodes."@en ;
  513. rdfs:isDefinedBy sh: .
  514. sh:InConstraintComponent
  515. a sh:ConstraintComponent ;
  516. rdfs:label "In constraint component"@en ;
  517. rdfs:comment "A constraint component that can be used to exclusively enumerate the permitted value nodes."@en ;
  518. sh:parameter sh:InConstraintComponent-in ;
  519. rdfs:isDefinedBy sh: .
  520. sh:InConstraintComponent-in
  521. a sh:Parameter ;
  522. sh:path sh:in ;
  523. sh:maxCount 1 ;
  524. rdfs:isDefinedBy sh: .
  525. sh:in
  526. a rdf:Property ;
  527. rdfs:label "in"@en ;
  528. rdfs:comment "Specifies a list of allowed values so that each value node must be among the members of the given list."@en ;
  529. rdfs:range rdf:List ;
  530. rdfs:isDefinedBy sh: .
  531. sh:LanguageInConstraintComponent
  532. a sh:ConstraintComponent ;
  533. rdfs:label "Language-in constraint component"@en ;
  534. rdfs:comment "A constraint component that can be used to enumerate language tags that all value nodes must have."@en ;
  535. sh:parameter sh:LanguageInConstraintComponent-languageIn ;
  536. rdfs:isDefinedBy sh: .
  537. sh:LanguageInConstraintComponent-languageIn
  538. a sh:Parameter ;
  539. sh:path sh:languageIn ;
  540. sh:maxCount 1 ;
  541. rdfs:isDefinedBy sh: .
  542. sh:languageIn
  543. a rdf:Property ;
  544. rdfs:label "language in"@en ;
  545. rdfs:comment "Specifies a list of language tags that all value nodes must have."@en ;
  546. rdfs:range rdf:List ; # members: xsd:string
  547. rdfs:isDefinedBy sh: .
  548. sh:LessThanConstraintComponent
  549. a sh:ConstraintComponent ;
  550. rdfs:label "Less-than constraint component"@en ;
  551. rdfs:comment "A constraint component that can be used to verify that each value node is smaller than all the nodes that have the focus node as subject and the value of a given property as predicate."@en ;
  552. sh:parameter sh:LessThanConstraintComponent-lessThan ;
  553. rdfs:isDefinedBy sh: .
  554. sh:LessThanConstraintComponent-lessThan
  555. a sh:Parameter ;
  556. sh:path sh:lessThan ;
  557. sh:nodeKind sh:IRI ;
  558. rdfs:isDefinedBy sh: .
  559. sh:lessThan
  560. a rdf:Property ;
  561. rdfs:label "less than"@en ;
  562. rdfs:comment "Specifies a property that must have smaller values than the value nodes."@en ;
  563. rdfs:range rdf:Property ;
  564. rdfs:isDefinedBy sh: .
  565. sh:LessThanOrEqualsConstraintComponent
  566. a sh:ConstraintComponent ;
  567. rdfs:label "less-than-or-equals constraint component"@en ;
  568. rdfs:comment "A constraint component that can be used to verify that every value node is smaller than all the nodes that have the focus node as subject and the value of a given property as predicate."@en ;
  569. sh:parameter sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals ;
  570. rdfs:isDefinedBy sh: .
  571. sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals
  572. a sh:Parameter ;
  573. sh:path sh:lessThanOrEquals ;
  574. sh:nodeKind sh:IRI ;
  575. rdfs:isDefinedBy sh: .
  576. sh:lessThanOrEquals
  577. a rdf:Property ;
  578. rdfs:label "less than or equals"@en ;
  579. rdfs:comment "Specifies a property that must have smaller or equal values than the value nodes."@en ;
  580. rdfs:range rdf:Property ;
  581. rdfs:isDefinedBy sh: .
  582. sh:MaxCountConstraintComponent
  583. a sh:ConstraintComponent ;
  584. rdfs:label "Max-count constraint component"@en ;
  585. rdfs:comment "A constraint component that can be used to restrict the maximum number of value nodes."@en ;
  586. sh:parameter sh:MaxCountConstraintComponent-maxCount ;
  587. rdfs:isDefinedBy sh: .
  588. sh:MaxCountConstraintComponent-maxCount
  589. a sh:Parameter ;
  590. sh:path sh:maxCount ;
  591. sh:datatype xsd:integer ;
  592. sh:maxCount 1 ;
  593. rdfs:isDefinedBy sh: .
  594. sh:maxCount
  595. a rdf:Property ;
  596. rdfs:label "max count"@en ;
  597. rdfs:comment "Specifies the maximum number of values in the set of value nodes."@en ;
  598. rdfs:range xsd:integer ;
  599. rdfs:isDefinedBy sh: .
  600. sh:MaxExclusiveConstraintComponent
  601. a sh:ConstraintComponent ;
  602. rdfs:label "Max-exclusive constraint component"@en ;
  603. rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a maximum exclusive value."@en ;
  604. sh:parameter sh:MaxExclusiveConstraintComponent-maxExclusive ;
  605. rdfs:isDefinedBy sh: .
  606. sh:MaxExclusiveConstraintComponent-maxExclusive
  607. a sh:Parameter ;
  608. sh:path sh:maxExclusive ;
  609. sh:maxCount 1 ;
  610. sh:nodeKind sh:Literal ;
  611. rdfs:isDefinedBy sh: .
  612. sh:maxExclusive
  613. a rdf:Property ;
  614. rdfs:label "max exclusive"@en ;
  615. rdfs:comment "Specifies the maximum exclusive value of each value node."@en ;
  616. rdfs:isDefinedBy sh: .
  617. sh:MaxInclusiveConstraintComponent
  618. a sh:ConstraintComponent ;
  619. rdfs:label "Max-inclusive constraint component"@en ;
  620. rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a maximum inclusive value."@en ;
  621. sh:parameter sh:MaxInclusiveConstraintComponent-maxInclusive ;
  622. rdfs:isDefinedBy sh: .
  623. sh:MaxInclusiveConstraintComponent-maxInclusive
  624. a sh:Parameter ;
  625. sh:path sh:maxInclusive ;
  626. sh:maxCount 1 ;
  627. sh:nodeKind sh:Literal ;
  628. rdfs:isDefinedBy sh: .
  629. sh:maxInclusive
  630. a rdf:Property ;
  631. rdfs:label "max inclusive"@en ;
  632. rdfs:comment "Specifies the maximum inclusive value of each value node."@en ;
  633. rdfs:isDefinedBy sh: .
  634. sh:MaxLengthConstraintComponent
  635. a sh:ConstraintComponent ;
  636. rdfs:label "Max-length constraint component"@en ;
  637. rdfs:comment "A constraint component that can be used to restrict the maximum string length of value nodes."@en ;
  638. sh:parameter sh:MaxLengthConstraintComponent-maxLength ;
  639. rdfs:isDefinedBy sh: .
  640. sh:MaxLengthConstraintComponent-maxLength
  641. a sh:Parameter ;
  642. sh:path sh:maxLength ;
  643. sh:datatype xsd:integer ;
  644. sh:maxCount 1 ;
  645. rdfs:isDefinedBy sh: .
  646. sh:maxLength
  647. a rdf:Property ;
  648. rdfs:label "max length"@en ;
  649. rdfs:comment "Specifies the maximum string length of each value node."@en ;
  650. rdfs:range xsd:integer ;
  651. rdfs:isDefinedBy sh: .
  652. sh:MinCountConstraintComponent
  653. a sh:ConstraintComponent ;
  654. rdfs:label "Min-count constraint component"@en ;
  655. rdfs:comment "A constraint component that can be used to restrict the minimum number of value nodes."@en ;
  656. sh:parameter sh:MinCountConstraintComponent-minCount ;
  657. rdfs:isDefinedBy sh: .
  658. sh:MinCountConstraintComponent-minCount
  659. a sh:Parameter ;
  660. sh:path sh:minCount ;
  661. sh:datatype xsd:integer ;
  662. sh:maxCount 1 ;
  663. rdfs:isDefinedBy sh: .
  664. sh:minCount
  665. a rdf:Property ;
  666. rdfs:label "min count"@en ;
  667. rdfs:comment "Specifies the minimum number of values in the set of value nodes."@en ;
  668. rdfs:range xsd:integer ;
  669. rdfs:isDefinedBy sh: .
  670. sh:MinExclusiveConstraintComponent
  671. a sh:ConstraintComponent ;
  672. rdfs:label "Min-exclusive constraint component"@en ;
  673. rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a minimum exclusive value."@en ;
  674. sh:parameter sh:MinExclusiveConstraintComponent-minExclusive ;
  675. rdfs:isDefinedBy sh: .
  676. sh:MinExclusiveConstraintComponent-minExclusive
  677. a sh:Parameter ;
  678. sh:path sh:minExclusive ;
  679. sh:maxCount 1 ;
  680. sh:nodeKind sh:Literal ;
  681. rdfs:isDefinedBy sh: .
  682. sh:minExclusive
  683. a rdf:Property ;
  684. rdfs:label "min exclusive"@en ;
  685. rdfs:comment "Specifies the minimum exclusive value of each value node."@en ;
  686. rdfs:isDefinedBy sh: .
  687. sh:MinInclusiveConstraintComponent
  688. a sh:ConstraintComponent ;
  689. rdfs:label "Min-inclusive constraint component"@en ;
  690. rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a minimum inclusive value."@en ;
  691. sh:parameter sh:MinInclusiveConstraintComponent-minInclusive ;
  692. rdfs:isDefinedBy sh: .
  693. sh:MinInclusiveConstraintComponent-minInclusive
  694. a sh:Parameter ;
  695. sh:path sh:minInclusive ;
  696. sh:maxCount 1 ;
  697. sh:nodeKind sh:Literal ;
  698. rdfs:isDefinedBy sh: .
  699. sh:minInclusive
  700. a rdf:Property ;
  701. rdfs:label "min inclusive"@en ;
  702. rdfs:comment "Specifies the minimum inclusive value of each value node."@en ;
  703. rdfs:isDefinedBy sh: .
  704. sh:MinLengthConstraintComponent
  705. a sh:ConstraintComponent ;
  706. rdfs:label "Min-length constraint component"@en ;
  707. rdfs:comment "A constraint component that can be used to restrict the minimum string length of value nodes."@en ;
  708. sh:parameter sh:MinLengthConstraintComponent-minLength ;
  709. rdfs:isDefinedBy sh: .
  710. sh:MinLengthConstraintComponent-minLength
  711. a sh:Parameter ;
  712. sh:path sh:minLength ;
  713. sh:datatype xsd:integer ;
  714. sh:maxCount 1 ;
  715. rdfs:isDefinedBy sh: .
  716. sh:minLength
  717. a rdf:Property ;
  718. rdfs:label "min length"@en ;
  719. rdfs:comment "Specifies the minimum string length of each value node."@en ;
  720. rdfs:range xsd:integer ;
  721. rdfs:isDefinedBy sh: .
  722. sh:NodeConstraintComponent
  723. a sh:ConstraintComponent ;
  724. rdfs:label "Node constraint component"@en ;
  725. rdfs:comment "A constraint component that can be used to verify that all value nodes conform to the given node shape."@en ;
  726. sh:parameter sh:NodeConstraintComponent-node ;
  727. rdfs:isDefinedBy sh: .
  728. sh:NodeConstraintComponent-node
  729. a sh:Parameter ;
  730. sh:path sh:node ;
  731. rdfs:isDefinedBy sh: .
  732. sh:node
  733. a rdf:Property ;
  734. rdfs:label "node"@en ;
  735. rdfs:comment "Specifies the node shape that all value nodes must conform to."@en ;
  736. rdfs:range sh:NodeShape ;
  737. rdfs:isDefinedBy sh: .
  738. sh:NodeKindConstraintComponent
  739. a sh:ConstraintComponent ;
  740. rdfs:label "Node-kind constraint component"@en ;
  741. rdfs:comment "A constraint component that can be used to restrict the RDF node kind of each value node."@en ;
  742. sh:parameter sh:NodeKindConstraintComponent-nodeKind ;
  743. rdfs:isDefinedBy sh: .
  744. sh:NodeKindConstraintComponent-nodeKind
  745. a sh:Parameter ;
  746. sh:path sh:nodeKind ;
  747. sh:in ( sh:BlankNode sh:IRI sh:Literal sh:BlankNodeOrIRI sh:BlankNodeOrLiteral sh:IRIOrLiteral ) ;
  748. sh:maxCount 1 ;
  749. rdfs:isDefinedBy sh: .
  750. sh:nodeKind
  751. a rdf:Property ;
  752. rdfs:label "node kind"@en ;
  753. rdfs:comment "Specifies the node kind (e.g. IRI or literal) each value node."@en ;
  754. rdfs:range sh:NodeKind ;
  755. rdfs:isDefinedBy sh: .
  756. sh:NotConstraintComponent
  757. a sh:ConstraintComponent ;
  758. rdfs:label "Not constraint component"@en ;
  759. rdfs:comment "A constraint component that can be used to verify that value nodes do not conform to a given shape."@en ;
  760. sh:parameter sh:NotConstraintComponent-not ;
  761. rdfs:isDefinedBy sh: .
  762. sh:NotConstraintComponent-not
  763. a sh:Parameter ;
  764. sh:path sh:not ;
  765. rdfs:isDefinedBy sh: .
  766. sh:not
  767. a rdf:Property ;
  768. rdfs:label "not"@en ;
  769. rdfs:comment "Specifies a shape that the value nodes must not conform to."@en ;
  770. rdfs:range sh:Shape ;
  771. rdfs:isDefinedBy sh: .
  772. sh:OrConstraintComponent
  773. a sh:ConstraintComponent ;
  774. rdfs:label "Or constraint component"@en ;
  775. rdfs:comment "A constraint component that can be used to restrict the value nodes so that they conform to at least one out of several provided shapes."@en ;
  776. sh:parameter sh:OrConstraintComponent-or ;
  777. rdfs:isDefinedBy sh: .
  778. sh:OrConstraintComponent-or
  779. a sh:Parameter ;
  780. sh:path sh:or ;
  781. rdfs:isDefinedBy sh: .
  782. sh:or
  783. a rdf:Property ;
  784. rdfs:label "or"@en ;
  785. rdfs:comment "Specifies a list of shapes so that the value nodes must conform to at least one of the shapes."@en ;
  786. rdfs:range rdf:List ; # members: sh:Shape ;
  787. rdfs:isDefinedBy sh: .
  788. sh:PatternConstraintComponent
  789. a sh:ConstraintComponent ;
  790. rdfs:label "Pattern constraint component"@en ;
  791. rdfs:comment "A constraint component that can be used to verify that every value node matches a given regular expression."@en ;
  792. sh:parameter sh:PatternConstraintComponent-pattern ;
  793. sh:parameter sh:PatternConstraintComponent-flags ;
  794. rdfs:isDefinedBy sh: .
  795. sh:PatternConstraintComponent-pattern
  796. a sh:Parameter ;
  797. sh:path sh:pattern ;
  798. sh:datatype xsd:string ;
  799. rdfs:isDefinedBy sh: .
  800. sh:PatternConstraintComponent-flags
  801. a sh:Parameter ;
  802. sh:path sh:flags ;
  803. sh:datatype xsd:string ;
  804. sh:optional true ;
  805. rdfs:isDefinedBy sh: .
  806. sh:flags
  807. a rdf:Property ;
  808. rdfs:label "flags"@en ;
  809. rdfs:comment "An optional flag to be used with regular expression pattern matching."@en ;
  810. rdfs:range xsd:string ;
  811. rdfs:isDefinedBy sh: .
  812. sh:pattern
  813. a rdf:Property ;
  814. rdfs:label "pattern"@en ;
  815. rdfs:comment "Specifies a regular expression pattern that the string representations of the value nodes must match."@en ;
  816. rdfs:range xsd:string ;
  817. rdfs:isDefinedBy sh: .
  818. sh:PropertyConstraintComponent
  819. a sh:ConstraintComponent ;
  820. rdfs:label "Property constraint component"@en ;
  821. rdfs:comment "A constraint component that can be used to verify that all value nodes conform to the given property shape."@en ;
  822. sh:parameter sh:PropertyConstraintComponent-property ;
  823. rdfs:isDefinedBy sh: .
  824. sh:PropertyConstraintComponent-property
  825. a sh:Parameter ;
  826. sh:path sh:property ;
  827. rdfs:isDefinedBy sh: .
  828. sh:property
  829. a rdf:Property ;
  830. rdfs:label "property"@en ;
  831. rdfs:comment "Links a shape to its property shapes."@en ;
  832. rdfs:domain sh:Shape ;
  833. rdfs:range sh:PropertyShape ;
  834. rdfs:isDefinedBy sh: .
  835. sh:QualifiedMaxCountConstraintComponent
  836. a sh:ConstraintComponent ;
  837. rdfs:label "Qualified-max-count constraint component"@en ;
  838. rdfs:comment "A constraint component that can be used to verify that a specified maximum number of value nodes conforms to a given shape."@en ;
  839. sh:parameter sh:QualifiedMaxCountConstraintComponent-qualifiedMaxCount ;
  840. sh:parameter sh:QualifiedMaxCountConstraintComponent-qualifiedValueShape ;
  841. sh:parameter sh:QualifiedMaxCountConstraintComponent-qualifiedValueShapesDisjoint ;
  842. rdfs:isDefinedBy sh: .
  843. sh:QualifiedMaxCountConstraintComponent-qualifiedMaxCount
  844. a sh:Parameter ;
  845. sh:path sh:qualifiedMaxCount ;
  846. sh:datatype xsd:integer ;
  847. rdfs:isDefinedBy sh: .
  848. sh:QualifiedMaxCountConstraintComponent-qualifiedValueShape
  849. a sh:Parameter ;
  850. sh:path sh:qualifiedValueShape ;
  851. rdfs:isDefinedBy sh: .
  852. sh:QualifiedMaxCountConstraintComponent-qualifiedValueShapesDisjoint
  853. a sh:Parameter ;
  854. sh:path sh:qualifiedValueShapesDisjoint ;
  855. sh:datatype xsd:boolean ;
  856. sh:optional true ;
  857. rdfs:isDefinedBy sh: .
  858. sh:QualifiedMinCountConstraintComponent
  859. a sh:ConstraintComponent ;
  860. rdfs:label "Qualified-min-count constraint component"@en ;
  861. rdfs:comment "A constraint component that can be used to verify that a specified minimum number of value nodes conforms to a given shape."@en ;
  862. sh:parameter sh:QualifiedMinCountConstraintComponent-qualifiedMinCount ;
  863. sh:parameter sh:QualifiedMinCountConstraintComponent-qualifiedValueShape ;
  864. sh:parameter sh:QualifiedMinCountConstraintComponent-qualifiedValueShapesDisjoint ;
  865. rdfs:isDefinedBy sh: .
  866. sh:QualifiedMinCountConstraintComponent-qualifiedMinCount
  867. a sh:Parameter ;
  868. sh:path sh:qualifiedMinCount ;
  869. sh:datatype xsd:integer ;
  870. rdfs:isDefinedBy sh: .
  871. sh:QualifiedMinCountConstraintComponent-qualifiedValueShape
  872. a sh:Parameter ;
  873. sh:path sh:qualifiedValueShape ;
  874. rdfs:isDefinedBy sh: .
  875. sh:QualifiedMinCountConstraintComponent-qualifiedValueShapesDisjoint
  876. a sh:Parameter ;
  877. sh:path sh:qualifiedValueShapesDisjoint ;
  878. sh:datatype xsd:boolean ;
  879. sh:optional true ;
  880. rdfs:isDefinedBy sh: .
  881. sh:qualifiedMaxCount
  882. a rdf:Property ;
  883. rdfs:label "qualified max count"@en ;
  884. rdfs:comment "The maximum number of value nodes that can conform to the shape."@en ;
  885. rdfs:range xsd:integer ;
  886. rdfs:isDefinedBy sh: .
  887. sh:qualifiedMinCount
  888. a rdf:Property ;
  889. rdfs:label "qualified min count"@en ;
  890. rdfs:comment "The minimum number of value nodes that must conform to the shape."@en ;
  891. rdfs:range xsd:integer ;
  892. rdfs:isDefinedBy sh: .
  893. sh:qualifiedValueShape
  894. a rdf:Property ;
  895. rdfs:label "qualified value shape"@en ;
  896. rdfs:comment "The shape that a specified number of values must conform to."@en ;
  897. rdfs:range sh:Shape ;
  898. rdfs:isDefinedBy sh: .
  899. sh:qualifiedValueShapesDisjoint
  900. a rdf:Property ;
  901. rdfs:label "qualified value shapes disjoint"@en ;
  902. rdfs:comment "Can be used to mark the qualified value shape to be disjoint with its sibling shapes."@en ;
  903. rdfs:range xsd:boolean ;
  904. rdfs:isDefinedBy sh: .
  905. sh:UniqueLangConstraintComponent
  906. a sh:ConstraintComponent ;
  907. rdfs:label "Unique-languages constraint component"@en ;
  908. rdfs:comment "A constraint component that can be used to specify that no pair of value nodes may use the same language tag."@en ;
  909. sh:parameter sh:UniqueLangConstraintComponent-uniqueLang ;
  910. rdfs:isDefinedBy sh: .
  911. sh:UniqueLangConstraintComponent-uniqueLang
  912. a sh:Parameter ;
  913. sh:path sh:uniqueLang ;
  914. sh:datatype xsd:boolean ;
  915. sh:maxCount 1 ;
  916. rdfs:isDefinedBy sh: .
  917. sh:uniqueLang
  918. a rdf:Property ;
  919. rdfs:label "unique languages"@en ;
  920. rdfs:comment "Specifies whether all node values must have a unique (or no) language tag."@en ;
  921. rdfs:range xsd:boolean ;
  922. rdfs:isDefinedBy sh: .
  923. sh:XoneConstraintComponent
  924. a sh:ConstraintComponent ;
  925. rdfs:label "Exactly one constraint component"@en ;
  926. rdfs:comment "A constraint component that can be used to restrict the value nodes so that they conform to exactly one out of several provided shapes."@en ;
  927. sh:parameter sh:XoneConstraintComponent-xone ;
  928. rdfs:isDefinedBy sh: .
  929. sh:XoneConstraintComponent-xone
  930. a sh:Parameter ;
  931. sh:path sh:xone ;
  932. rdfs:isDefinedBy sh: .
  933. sh:xone
  934. a rdf:Property ;
  935. rdfs:label "exactly one"@en ;
  936. rdfs:comment "Specifies a list of shapes so that the value nodes must conform to exactly one of the shapes."@en ;
  937. rdfs:range rdf:List ; # members: sh:Shape ;
  938. rdfs:isDefinedBy sh: .
  939. # General SPARQL execution support --------------------------------------------
  940. sh:SPARQLExecutable
  941. a rdfs:Class ;
  942. rdfs:label "SPARQL executable"@en ;
  943. rdfs:comment "The class of resources that encapsulate a SPARQL query."@en ;
  944. rdfs:subClassOf rdfs:Resource ;
  945. rdfs:isDefinedBy sh: .
  946. sh:SPARQLAskExecutable
  947. a rdfs:Class ;
  948. rdfs:label "SPARQL ASK executable"@en ;
  949. rdfs:comment "The class of SPARQL executables that are based on an ASK query."@en ;
  950. rdfs:subClassOf sh:SPARQLExecutable ;
  951. rdfs:isDefinedBy sh: .
  952. sh:ask
  953. a rdf:Property ;
  954. rdfs:label "ask"@en ;
  955. rdfs:comment "The SPARQL ASK query to execute."@en ;
  956. rdfs:domain sh:SPARQLAskExecutable ;
  957. rdfs:range xsd:string ;
  958. rdfs:isDefinedBy sh: .
  959. sh:SPARQLConstructExecutable
  960. a rdfs:Class ;
  961. rdfs:label "SPARQL CONSTRUCT executable"@en ;
  962. rdfs:comment "The class of SPARQL executables that are based on a CONSTRUCT query."@en ;
  963. rdfs:subClassOf sh:SPARQLExecutable ;
  964. rdfs:isDefinedBy sh: .
  965. sh:construct
  966. a rdf:Property ;
  967. rdfs:label "construct"@en ;
  968. rdfs:comment "The SPARQL CONSTRUCT query to execute."@en ;
  969. rdfs:domain sh:SPARQLConstructExecutable ;
  970. rdfs:range xsd:string ;
  971. rdfs:isDefinedBy sh: .
  972. sh:SPARQLSelectExecutable
  973. a rdfs:Class ;
  974. rdfs:label "SPARQL SELECT executable"@en ;
  975. rdfs:comment "The class of SPARQL executables based on a SELECT query."@en ;
  976. rdfs:subClassOf sh:SPARQLExecutable ;
  977. rdfs:isDefinedBy sh: .
  978. sh:select
  979. a rdf:Property ;
  980. rdfs:label "select"@en ;
  981. rdfs:comment "The SPARQL SELECT query to execute."@en ;
  982. rdfs:range xsd:string ;
  983. rdfs:domain sh:SPARQLSelectExecutable ;
  984. rdfs:isDefinedBy sh: .
  985. sh:SPARQLUpdateExecutable
  986. a rdfs:Class ;
  987. rdfs:label "SPARQL UPDATE executable"@en ;
  988. rdfs:comment "The class of SPARQL executables based on a SPARQL UPDATE."@en ;
  989. rdfs:subClassOf sh:SPARQLExecutable ;
  990. rdfs:isDefinedBy sh: .
  991. sh:update
  992. a rdf:Property ;
  993. rdfs:label "update"@en ;
  994. rdfs:comment "The SPARQL UPDATE to execute."@en ;
  995. rdfs:domain sh:SPARQLUpdateExecutable ;
  996. rdfs:range xsd:string ;
  997. rdfs:isDefinedBy sh: .
  998. sh:prefixes
  999. a rdf:Property ;
  1000. rdfs:label "prefixes"@en ;
  1001. rdfs:comment "The prefixes that shall be applied before parsing the associated SPARQL query."@en ;
  1002. rdfs:domain sh:SPARQLExecutable ;
  1003. rdfs:range owl:Ontology ;
  1004. rdfs:isDefinedBy sh: .
  1005. sh:PrefixDeclaration
  1006. a rdfs:Class ;
  1007. rdfs:label "Prefix declaration"@en ;
  1008. rdfs:comment "The class of prefix declarations, consisting of pairs of a prefix with a namespace."@en ;
  1009. rdfs:subClassOf rdfs:Resource ;
  1010. rdfs:isDefinedBy sh: .
  1011. sh:declare
  1012. a rdf:Property ;
  1013. rdfs:label "declare"@en ;
  1014. rdfs:comment "Links a resource with its namespace prefix declarations."@en ;
  1015. rdfs:domain owl:Ontology ;
  1016. rdfs:range sh:PrefixDeclaration ;
  1017. rdfs:isDefinedBy sh: .
  1018. sh:prefix
  1019. a rdf:Property ;
  1020. rdfs:label "prefix"@en ;
  1021. rdfs:comment "The prefix of a prefix declaration."@en ;
  1022. rdfs:domain sh:PrefixDeclaration ;
  1023. rdfs:range xsd:string ;
  1024. rdfs:isDefinedBy sh: .
  1025. sh:namespace
  1026. a rdf:Property ;
  1027. rdfs:label "namespace"@en ;
  1028. rdfs:comment "The namespace associated with a prefix in a prefix declaration."@en ;
  1029. rdfs:domain sh:PrefixDeclaration ;
  1030. rdfs:range xsd:anyURI ;
  1031. rdfs:isDefinedBy sh: .
  1032. # SPARQL-based Constraints support --------------------------------------------
  1033. sh:SPARQLConstraintComponent
  1034. a sh:ConstraintComponent ;
  1035. rdfs:label "SPARQL constraint component"@en ;
  1036. rdfs:comment "A constraint component that can be used to define constraints based on SPARQL queries."@en ;
  1037. sh:parameter sh:SPARQLConstraintComponent-sparql ;
  1038. rdfs:isDefinedBy sh: .
  1039. sh:SPARQLConstraintComponent-sparql
  1040. a sh:Parameter ;
  1041. sh:path sh:sparql ;
  1042. rdfs:isDefinedBy sh: .
  1043. sh:sparql
  1044. a rdf:Property ;
  1045. rdfs:label "constraint (in SPARQL)"@en ;
  1046. rdfs:comment "Links a shape with SPARQL constraints."@en ;
  1047. rdfs:domain sh:Shape ;
  1048. rdfs:range sh:SPARQLConstraint ;
  1049. rdfs:isDefinedBy sh: .
  1050. sh:SPARQLConstraint
  1051. a rdfs:Class ;
  1052. rdfs:label "SPARQL constraint"@en ;
  1053. rdfs:comment "The class of constraints based on SPARQL SELECT queries."@en ;
  1054. rdfs:subClassOf sh:SPARQLSelectExecutable ;
  1055. rdfs:isDefinedBy sh: .
  1056. # Non-validating constraint properties ----------------------------------------
  1057. sh:defaultValue
  1058. a rdf:Property ;
  1059. rdfs:label "default value"@en ;
  1060. rdfs:comment "A default value for a property, for example for user interface tools to pre-populate input fields."@en ;
  1061. rdfs:domain sh:PropertyShape ;
  1062. rdfs:isDefinedBy sh: .
  1063. sh:description
  1064. a rdf:Property ;
  1065. rdfs:label "description"@en ;
  1066. rdfs:comment "Human-readable descriptions for the property in the context of the surrounding shape."@en ;
  1067. rdfs:domain sh:PropertyShape ;
  1068. # range: xsd:string or rdf:langString
  1069. rdfs:isDefinedBy sh: .
  1070. sh:group
  1071. a rdf:Property ;
  1072. rdfs:label "group"@en ;
  1073. rdfs:comment "Can be used to link to a property group to indicate that a property shape belongs to a group of related property shapes."@en ;
  1074. rdfs:domain sh:PropertyShape ;
  1075. rdfs:range sh:PropertyGroup ;
  1076. rdfs:isDefinedBy sh: .
  1077. sh:name
  1078. a rdf:Property ;
  1079. rdfs:label "name"@en ;
  1080. rdfs:comment "Human-readable labels for the property in the context of the surrounding shape."@en ;
  1081. rdfs:domain sh:PropertyShape ;
  1082. # range: xsd:string or rdf:langString
  1083. rdfs:isDefinedBy sh: .
  1084. sh:order
  1085. a rdf:Property ;
  1086. rdfs:label "order"@en ;
  1087. rdfs:comment "Specifies the relative order of this compared to its siblings. For example use 0 for the first, 1 for the second."@en ;
  1088. # range: xsd:decimal or xsd:integer ;
  1089. rdfs:isDefinedBy sh: .
  1090. sh:PropertyGroup
  1091. a rdfs:Class ;
  1092. rdfs:label "Property group"@en ;
  1093. rdfs:comment "Instances of this class represent groups of property shapes that belong together."@en ;
  1094. rdfs:subClassOf rdfs:Resource ;
  1095. rdfs:isDefinedBy sh: .
  1096. # -----------------------------------------------------------------------------
  1097. # SHACL ADVANCED FEATURES -----------------------------------------------------
  1098. # -----------------------------------------------------------------------------
  1099. # Advanced Target vocabulary --------------------------------------------------
  1100. sh:target
  1101. a rdf:Property ;
  1102. rdfs:label "target"@en ;
  1103. rdfs:comment "Links a shape to a target specified by an extension language, for example instances of sh:SPARQLTarget."@en ;
  1104. rdfs:domain sh:Shape ;
  1105. rdfs:range sh:Target ;
  1106. rdfs:isDefinedBy sh: .
  1107. sh:Target
  1108. a rdfs:Class ;
  1109. rdfs:label "Target"@en ;
  1110. rdfs:comment "The base class of targets such as those based on SPARQL queries."@en ;
  1111. rdfs:subClassOf rdfs:Resource ;
  1112. rdfs:isDefinedBy sh: .
  1113. sh:TargetType
  1114. a rdfs:Class ;
  1115. rdfs:label "Target type"@en ;
  1116. rdfs:comment "The (meta) class for parameterizable targets. Instances of this are instantiated as values of the sh:target property."@en ;
  1117. rdfs:subClassOf rdfs:Class ;
  1118. rdfs:subClassOf sh:Parameterizable ;
  1119. rdfs:isDefinedBy sh: .
  1120. sh:SPARQLTarget
  1121. a rdfs:Class ;
  1122. rdfs:label "SPARQL target"@en ;
  1123. rdfs:comment "The class of targets that are based on SPARQL queries."@en ;
  1124. rdfs:subClassOf sh:Target ;
  1125. rdfs:subClassOf sh:SPARQLAskExecutable ;
  1126. rdfs:subClassOf sh:SPARQLSelectExecutable ;
  1127. rdfs:isDefinedBy sh: .
  1128. sh:SPARQLTargetType
  1129. a rdfs:Class ;
  1130. rdfs:label "SPARQL target type"@en ;
  1131. rdfs:comment "The (meta) class for parameterizable targets that are based on SPARQL queries."@en ;
  1132. rdfs:subClassOf sh:TargetType ;
  1133. rdfs:subClassOf sh:SPARQLAskExecutable ;
  1134. rdfs:subClassOf sh:SPARQLSelectExecutable ;
  1135. rdfs:isDefinedBy sh: .
  1136. # Functions Vocabulary --------------------------------------------------------
  1137. sh:Function
  1138. a rdfs:Class ;
  1139. rdfs:label "Function"@en ;
  1140. rdfs:comment "The class of SHACL functions."@en ;
  1141. rdfs:subClassOf sh:Parameterizable ;
  1142. rdfs:isDefinedBy sh: .
  1143. sh:returnType
  1144. a rdf:Property ;
  1145. rdfs:label "return type"@en ;
  1146. rdfs:comment "The expected type of values returned by the associated function."@en ;
  1147. rdfs:domain sh:Function ;
  1148. rdfs:range rdfs:Class ;
  1149. rdfs:isDefinedBy sh: .
  1150. sh:SPARQLFunction
  1151. a rdfs:Class ;
  1152. rdfs:label "SPARQL function"@en ;
  1153. rdfs:comment "A function backed by a SPARQL query - either ASK or SELECT."@en ;
  1154. rdfs:subClassOf sh:Function ;
  1155. rdfs:subClassOf sh:SPARQLAskExecutable ;
  1156. rdfs:subClassOf sh:SPARQLSelectExecutable ;
  1157. rdfs:isDefinedBy sh: .
  1158. # Result Annotations ----------------------------------------------------------
  1159. sh:resultAnnotation
  1160. a rdf:Property ;
  1161. rdfs:label "result annotation"@en ;
  1162. rdfs:comment "Links a SPARQL validator with zero or more sh:ResultAnnotation instances, defining how to derive additional result properties based on the variables of the SELECT query."@en ;
  1163. rdfs:domain sh:SPARQLSelectValidator ;
  1164. rdfs:range sh:ResultAnnotation ;
  1165. rdfs:isDefinedBy sh: .
  1166. sh:ResultAnnotation
  1167. a rdfs:Class ;
  1168. rdfs:label "Result annotation"@en ;
  1169. rdfs:comment "A class of result annotations, which define the rules to derive the values of a given annotation property as extra values for a validation result."@en ;
  1170. rdfs:subClassOf rdfs:Resource ;
  1171. rdfs:isDefinedBy sh: .
  1172. sh:annotationProperty
  1173. a rdf:Property ;
  1174. rdfs:label "annotation property"@en ;
  1175. rdfs:comment "The annotation property that shall be set."@en ;
  1176. rdfs:domain sh:ResultAnnotation ;
  1177. rdfs:range rdf:Property ;
  1178. rdfs:isDefinedBy sh: .
  1179. sh:annotationValue
  1180. a rdf:Property ;
  1181. rdfs:label "annotation value"@en ;
  1182. rdfs:comment "The (default) values of the annotation property."@en ;
  1183. rdfs:domain sh:ResultAnnotation ;
  1184. rdfs:isDefinedBy sh: .
  1185. sh:annotationVarName
  1186. a rdf:Property ;
  1187. rdfs:label "annotation variable name"@en ;
  1188. rdfs:comment "The name of the SPARQL variable from the SELECT clause that shall be used for the values."@en ;
  1189. rdfs:domain sh:ResultAnnotation ;
  1190. rdfs:range xsd:string ;
  1191. rdfs:isDefinedBy sh: .
  1192. # Node Expressions ------------------------------------------------------------
  1193. sh:this
  1194. a rdfs:Resource ;
  1195. rdfs:label "this"@en ;
  1196. rdfs:comment "A node expression that represents the current focus node."@en ;
  1197. rdfs:isDefinedBy sh: .
  1198. sh:filterShape
  1199. a rdf:Property ;
  1200. rdfs:label "filter shape"@en ;
  1201. rdfs:comment "The shape that all input nodes of the expression need to conform to."@en ;
  1202. rdfs:range sh:Shape ;
  1203. rdfs:isDefinedBy sh: .
  1204. sh:nodes
  1205. a rdf:Property ;
  1206. rdfs:label "nodes"@en ;
  1207. rdfs:comment "The node expression producing the input nodes of a filter shape expression."@en ;
  1208. rdfs:isDefinedBy sh: .
  1209. sh:intersection
  1210. a rdf:Property ;
  1211. rdfs:label "intersection"@en ;
  1212. rdfs:comment "A list of node expressions that shall be intersected."@en ;
  1213. rdfs:isDefinedBy sh: .
  1214. sh:union
  1215. a rdf:Property ;
  1216. rdfs:label "union"@en ;
  1217. rdfs:comment "A list of node expressions that shall be used together."@en ;
  1218. rdfs:isDefinedBy sh: .
  1219. # Expression Constraints ------------------------------------------------------
  1220. sh:ExpressionConstraintComponent
  1221. a sh:ConstraintComponent ;
  1222. rdfs:label "Expression constraint component"@en ;
  1223. rdfs:comment "A constraint component that can be used to verify that a given node expression produces true for all value nodes."@en ;
  1224. sh:parameter sh:ExpressionConstraintComponent-expression ;
  1225. rdfs:isDefinedBy sh: .
  1226. sh:ExpressionConstraintComponent-expression
  1227. a sh:Parameter ;
  1228. sh:path sh:expression ;
  1229. rdfs:isDefinedBy sh: .
  1230. sh:expression
  1231. a rdf:Property ;
  1232. rdfs:label "expression"@en ;
  1233. rdfs:comment "The node expression that must return true for the value nodes."@en ;
  1234. rdfs:isDefinedBy sh: .
  1235. # Rules -----------------------------------------------------------------------
  1236. sh:Rule
  1237. a rdfs:Class ;
  1238. rdfs:label "Rule"@en ;
  1239. rdfs:comment "The class of SHACL rules. Never instantiated directly."@en ;
  1240. rdfs:subClassOf rdfs:Resource ;
  1241. rdfs:isDefinedBy sh: .
  1242. sh:rule
  1243. a rdf:Property ;
  1244. rdfs:label "rule"@en ;
  1245. rdfs:comment "The rules linked to a shape."@en ;
  1246. rdfs:domain sh:Shape ;
  1247. rdfs:range sh:Rule ;
  1248. rdfs:isDefinedBy sh: .
  1249. sh:condition
  1250. a rdf:Property ;
  1251. rdfs:label "condition"@en ;
  1252. rdfs:comment "The shapes that the focus nodes need to conform to before a rule is executed on them."@en ;
  1253. rdfs:domain sh:Rule ;
  1254. rdfs:range sh:Shape ;
  1255. rdfs:isDefinedBy sh: .
  1256. sh:TripleRule
  1257. a rdfs:Class ;
  1258. rdfs:label "A rule based on triple (subject, predicate, object) pattern."@en ;
  1259. rdfs:subClassOf sh:Rule ;
  1260. rdfs:isDefinedBy sh: .
  1261. sh:subject
  1262. a rdf:Property ;
  1263. rdfs:label "subject"@en ;
  1264. rdfs:comment "An expression producing the resources that shall be inferred as subjects."@en ;
  1265. rdfs:domain sh:TripleRule ;
  1266. rdfs:isDefinedBy sh: .
  1267. sh:predicate
  1268. a rdf:Property ;
  1269. rdfs:label "predicate"@en ;
  1270. rdfs:comment "An expression producing the properties that shall be inferred as predicates."@en ;
  1271. rdfs:domain sh:TripleRule ;
  1272. rdfs:isDefinedBy sh: .
  1273. sh:object
  1274. a rdf:Property ;
  1275. rdfs:label "object"@en ;
  1276. rdfs:comment "An expression producing the nodes that shall be inferred as objects."@en ;
  1277. rdfs:domain sh:TripleRule ;
  1278. rdfs:isDefinedBy sh: .
  1279. sh:SPARQLRule
  1280. a rdfs:Class ;
  1281. rdfs:label "SPARQL CONSTRUCT rule"@en ;
  1282. rdfs:comment "The class of SHACL rules based on SPARQL CONSTRUCT queries."@en ;
  1283. rdfs:subClassOf sh:Rule ;
  1284. rdfs:subClassOf sh:SPARQLConstructExecutable ;
  1285. rdfs:isDefinedBy sh: .
  1286. # SHACL-JS --------------------------------------------------------------------
  1287. sh:JSExecutable
  1288. a rdfs:Class ;
  1289. rdfs:label "JavaScript executable"@en ;
  1290. rdfs:comment "Abstract base class of resources that declare an executable JavaScript."@en ;
  1291. rdfs:subClassOf rdfs:Resource ;
  1292. rdfs:isDefinedBy sh: .
  1293. sh:JSTarget
  1294. a rdfs:Class ;
  1295. rdfs:label "JavaScript target"@en ;
  1296. rdfs:comment "The class of targets that are based on JavaScript functions."@en ;
  1297. rdfs:subClassOf sh:Target ;
  1298. rdfs:subClassOf sh:JSExecutable ;
  1299. rdfs:isDefinedBy sh: .
  1300. sh:JSTargetType
  1301. a rdfs:Class ;
  1302. rdfs:label "JavaScript target type"@en ;
  1303. rdfs:comment "The (meta) class for parameterizable targets that are based on JavaScript functions."@en ;
  1304. rdfs:subClassOf sh:TargetType ;
  1305. rdfs:subClassOf sh:JSExecutable ;
  1306. rdfs:isDefinedBy sh: .
  1307. sh:JSConstraint
  1308. a rdfs:Class ;
  1309. rdfs:label "JavaScript-based constraint"@en ;
  1310. rdfs:comment "The class of constraints backed by a JavaScript function."@en ;
  1311. rdfs:subClassOf sh:JSExecutable ;
  1312. rdfs:isDefinedBy sh: .
  1313. sh:JSConstraintComponent
  1314. a sh:ConstraintComponent ;
  1315. rdfs:label "JavaScript constraint component"@en ;
  1316. rdfs:comment "A constraint component with the parameter sh:js linking to a sh:JSConstraint containing a sh:script."@en ;
  1317. sh:parameter sh:JSConstraint-js ;
  1318. rdfs:isDefinedBy sh: .
  1319. sh:JSConstraint-js
  1320. a sh:Parameter ;
  1321. sh:path sh:js ;
  1322. rdfs:isDefinedBy sh: .
  1323. sh:js
  1324. a rdf:Property ;
  1325. rdfs:label "JavaScript constraint"@en ;
  1326. rdfs:comment "Constraints expressed in JavaScript." ;
  1327. rdfs:range sh:JSConstraint ;
  1328. rdfs:isDefinedBy sh: .
  1329. sh:jsFunctionName
  1330. a rdf:Property ;
  1331. rdfs:label "JavaScript function name"@en ;
  1332. rdfs:comment "The name of the JavaScript function to execute."@en ;
  1333. rdfs:domain sh:JSExecutable ;
  1334. rdfs:range xsd:string ;
  1335. rdfs:isDefinedBy sh: .
  1336. sh:jsLibrary
  1337. a rdf:Property ;
  1338. rdfs:label "JavaScript library"@en ;
  1339. rdfs:comment "Declares which JavaScript libraries are needed to execute this."@en ;
  1340. rdfs:range sh:JSLibrary ;
  1341. rdfs:isDefinedBy sh: .
  1342. sh:jsLibraryURL
  1343. a rdf:Property ;
  1344. rdfs:label "JavaScript library URL"@en ;
  1345. rdfs:comment "Declares the URLs of a JavaScript library. This should be the absolute URL of a JavaScript file. Implementations may redirect those to local files."@en ;
  1346. rdfs:domain sh:JSLibrary ;
  1347. rdfs:range xsd:anyURI ;
  1348. rdfs:isDefinedBy sh: .
  1349. sh:JSFunction
  1350. a rdfs:Class ;
  1351. rdfs:label "JavaScript function"@en ;
  1352. rdfs:comment "The class of SHACL functions that execute a JavaScript function when called."@en ;
  1353. rdfs:subClassOf sh:Function ;
  1354. rdfs:subClassOf sh:JSExecutable ;
  1355. rdfs:isDefinedBy sh: .
  1356. sh:JSLibrary
  1357. a rdfs:Class ;
  1358. rdfs:label "JavaScript library"@en ;
  1359. rdfs:comment "Represents a JavaScript library, typically identified by one or more URLs of files to include."@en ;
  1360. rdfs:subClassOf rdfs:Resource ;
  1361. rdfs:isDefinedBy sh: .
  1362. sh:JSRule
  1363. a rdfs:Class ;
  1364. rdfs:label "JavaScript rule"@en ;
  1365. rdfs:comment "The class of SHACL rules expressed using JavaScript."@en ;
  1366. rdfs:subClassOf sh:JSExecutable ;
  1367. rdfs:subClassOf sh:Rule ;
  1368. rdfs:isDefinedBy sh: .
  1369. sh:JSValidator
  1370. a rdfs:Class ;
  1371. rdfs:label "JavaScript validator"@en ;
  1372. rdfs:comment "A SHACL validator based on JavaScript. This can be used to declare SHACL constraint components that perform JavaScript-based validation when used."@en ;
  1373. rdfs:subClassOf sh:JSExecutable ;
  1374. rdfs:subClassOf sh:Validator ;
  1375. rdfs:isDefinedBy sh: .