Class definition |
owl:Class |
sh:NodeShape, sh:targetClass |
Logical Constraint Constraints |
?type a owl:Class . |
?shapeUrl a sh:NodeShape; sh:targetClass ?type . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:targetClass ?type . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Class definition |
rdfs:Class |
sh:NodeShape, sh:targetClass |
Logical Constraint Constraints |
?type a rdfs:Class . |
?shapeUrl a sh:NodeShape ; sh:targetClass ?type . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:targetClass ?type . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Minimum qualified cardinality |
owl:Class, rdfs:subClassOf, owl:onProperty, owl:minQualifiedCardinality, owl:onClass, owl:Restriction |
sh:NodeShape, sh:property, sh:qualifiedMinCount, sh:qualifiedValueShape, sh:class |
Shape-based Constraints |
?class a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:minQualifiedCardinality ?minQualifiedCardinality ; owl:onClass ?onClassRestriction . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?minQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?minQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl { owl:Class rdfs:Class } ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:minQualifiedCardinality ?minQualifiedCardinality . ?owlPropertyRestriction owl:onClass ?onClassRestriction . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Minimum qualified cardinality |
rdfs:Class, rdfs:subClassOf, owl:onProperty, owl:minQualifiedCardinality, owl:onClass, owl:Restriction |
sh:NodeShape, sh:property, sh:qualifiedMinCount, sh:qualifiedValueShape, sh:class |
Shape-based Constraints |
?class a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; sowl:minQualifiedCardinality ?minQualifiedCardinality ; owl:onClass ?onClassRestriction . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?minQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?minQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl { owl:Class rdfs:Class } ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:minQualifiedCardinality ?minQualifiedCardinality . ?owlPropertyRestriction owl:onClass ?onClassRestriction . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Minimum qualified cardinality |
owl:Class, rdfs:subClassOf, owl:onProperty, owl:qualifiedCardinality, owl:onClass, owl:Restriction |
sh:NodeShape, sh:property, sh:qualifiedMinCount, sh:qualifiedMaxCount,sh:qualifiedValueShape, sh:class |
Shape-based Constraints |
?type a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:qualifiedCardinality ?qualifiedCardinality ; owl:onClass ?onClassRestriction . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?qualifiedCardinality; sh:qualifiedMaxCount ?qualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?qualifiedCardinality; sh:qualifiedMaxCount ?qualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl { owl:Class rdfs:Class } ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:qualifiedCardinality ?qualifiedCardinality . ?owlPropertyRestriction owl:onClass ?onClassRestriction . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Qualified cardinality |
rdfs:Class, rdfs:subClassOf, owl:onProperty, owl:qualifiedCardinality, owl:onClass, owl:Restriction |
sh:NodeShape, sh:property, sh:qualifiedMinCount, sh:qualifiedMaxCount,sh:qualifiedValueShape, sh:class |
Shape-based Constraints |
?type a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:qualifiedCardinality ?qualifiedCardinality ; owl:onClass ?onClassRestriction . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?qualifiedCardinality; sh:qualifiedMaxCount ?qualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMinCount ?qualifiedCardinality; sh:qualifiedMaxCount ?qualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl { owl:Class rdfs:Class } ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:qualifiedCardinality ?qualifiedCardinality . ?owlPropertyRestriction owl:onClass ?onClassRestriction . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
is Defined By |
owl:Class, rdfs:isDefinedBy |
sh:NodeShape, rdfs:isDefinedBy |
Non-Validating Property Shape Characteristics |
?type a owl:Class ; rdfs:isDefinedBy ?shapeNodeDefinedBy . |
?shapeUrl a sh:NodeShape; rdfs:isDefinedBy ?shapeNodeDefinedBy . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; rdfs:isDefinedBy ?shapeNodeDefinedBy . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:isDefinedBy ?shapeNodeDefinedBy . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
is Defined By |
rdfs:Class, rdfs:isDefinedBy |
sh:NodeShape, rdfs:isDefinedBy |
Non-Validating Property Shape Characteristics |
?type a rdfs:Class ; rdfs:isDefinedBy ?shapeNodeDefinedBy . |
?shapeUrl a sh:NodeShape; rdfs:isDefinedBy ?shapeNodeDefinedBy . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; rdfs:isDefinedBy ?shapeNodeDefinedBy . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:isDefinedBy ?shapeNodeDefinedBy . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
seeAlso annotation |
owl:Class, rdfs:seeAlso |
sh:NodeShape, rdfs:seeAlso |
Non-Validating Property Shape Characteristics |
?type a owl:Class ; rdfs:seeAlso ?shapeNodeSeeAlso . |
?shapeUrl a sh:NodeShape; rdfs:seeAlso ?shapeNodeSeeAlso . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; rdfs:seeAlso ?shapeNodeSeeAlso . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:seeAlso ?shapeNodeSeeAlso . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
seeAlso annotation |
rdfs:Class, rdfs:seeAlso |
sh:NodeShape, rdfs:seeAlso |
Non-Validating Property Shape Characteristics |
?type a rdfs:Class ; rdfs:seeAlso ?shapeNodeSeeAlso . |
?shapeUrl a sh:NodeShape; rdfs:seeAlso ?shapeNodeSeeAlso . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; rdfs:seeAlso ?shapeNodeSeeAlso . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:seeAlso ?shapeNodeSeeAlso . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Class definition |
owl:Class |
sh:nodeKind, sh:NodeShape, sh:IRI |
Value Type Constraints |
?type a owl:Class . |
?shapeUrl a sh:NodeShape; sh:nodeKind sh:IRI . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:nodeKind sh:IRI . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Class definition |
rdfs:Class |
sh:nodeKind, sh:NodeShape, sh:IRI |
Value Type Constraints |
?type a rdfs:Class . |
?shapeUrl a sh:NodeShape; sh:nodeKind sh:IRI . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:nodeKind sh:IRI . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Cardinality |
owl:Class,rdfs:subClassOf, owl:Restriction, owl:cardinality, owl:onProperty |
sh:NodeShape,sh:property,sh:PropertyShape, sh:maxCount, sh:minCount |
Cardinality Constraints |
?type a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:cardinality ?cardinality . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?cardinality; sh:minCount ?cardinality . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?cardinality; sh:minCount ?cardinality . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:cardinality ?cardinality . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Cardinality |
rdfs:Class,rdfs:subClassOf, owl:Restriction, owl:cardinality, owl:onProperty |
sh:NodeShape,sh:property,sh:PropertyShape, sh:maxCount, sh:minCount |
Cardinality Constraints |
?type a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:cardinality ?cardinality . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?cardinality; sh:minCount ?cardinality . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?cardinality; sh:minCount ?cardinality . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:cardinality ?cardinality . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Maximum cardinality |
owl:Class,rdfs:subClassOf, owl:Restriction, owl:maxCardinality, owl:onProperty |
sh:NodeShape,sh:property,sh:PropertyShape, sh:maxCount |
Cardinality Constraints |
?type a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:maxCardinality ?maxCardinality . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?maxCardinality . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?maxCardinality . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:maxCardinality ?maxCardinality . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Maximum cardinality |
rdfs:Class,rdfs:subClassOf, owl:Restriction, owl:maxCardinality, owl:onProperty |
sh:NodeShape,sh:property,sh:PropertyShape, sh:maxCount |
Cardinality Constraints |
?type a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:maxCardinality ?maxCardinality . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?maxCardinality . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:maxCount ?maxCardinality . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:maxCardinality ?maxCardinality . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Minimum cardinality |
owl:Class, owl:Restriction, owl:minCardinality, owl:onProperty, owl:subClassOf |
sh:NodeShape,sh:property,sh:PropertyShape, sh:minCount |
Cardinality Constraints |
?type a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:minCardinality ?minCardinality . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:minCount ?minCardinality . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:minCount ?minCardinality . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:minCardinality ?minCardinality . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Minimum cardinality |
rdfs:Class, owl:Restriction, owl:minCardinality, owl:onProperty, owl:subClassOf |
sh:NodeShape,sh:property,sh:PropertyShape, sh:minCount |
Cardinality Constraints |
?type a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:minCardinality ?minCardinality . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:minCount ?minCardinality . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:minCount ?minCardinality . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:minCardinality ?minCardinality . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Universal restriction |
owl:Class, rdfs:subClassOf, owl:allValuesFrom, owl:Restriction, owl:onProperty |
sh:NodeShape, sh:PropertyShape, sh:datatype, sh:class |
Value Type Constraints |
?type a owl:Class; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:allValuesFrom ?valuesInRange . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; ?variableRange ?valuesInRange . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; ?variableRange ?valuesInRange . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:allValuesFrom ?valuesInRange . BIND ( IF ( STRSTARTS(str(?valuesInRange),'http://www.w3.org/2001/XMLSchema#'), sh:datatype, sh:class ) AS ?variableRange ) BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Universal restriction |
rdfs:Class, rdfs:subClassOf, owl:allValuesFrom, owl:Restriction, owl:onProperty |
sh:NodeShape, sh:PropertyShape, sh:datatype, sh:class |
Value Type Constraints |
?type a rdfs:Class; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:allValuesFrom ?valuesInRange . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; ?variableRange ?valuesInRange . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; ?variableRange ?valuesInRange . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:allValuesFrom ?valuesInRange . BIND ( IF ( STRSTARTS(str(?valuesInRange),'http://www.w3.org/2001/XMLSchema#'), sh:datatype, sh:class ) AS ?variableRange ) BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Complement of a class |
owl:Class, owl:complementOf |
sh:NodeShape,sh:not |
Logical Constraint Constraints |
?type a owl:Class ; owl:complementOf ?complementType . |
?shapeUrl a sh:NodeShape ; sh:not ?complementTypeShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:not ?complementTypeShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:complementOf ?complementType . BIND ( URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?complementType)))) AS ?complementTypeShape) . FILTER (!isBlank(?complementType)) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Complement of a class |
rdfs:Class, owl:complementOf |
sh:NodeShape,sh:not |
Logical Constraint Constraints |
?type a rdfs:Class ; owl:complementOf ?complementType . |
?shapeUrl a sh:NodeShape ; sh:not ?complementTypeShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:not ?complementTypeShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:complementOf ?complementType . BIND ( URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?complementType)))) AS ?complementTypeShape) . FILTER (!isBlank(?complementType)) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Disjoint with a class |
owl:Class, owl:disjointWith |
sh:NodeShape, sh:not, sh:class |
Property Pair Constraints |
?type a owl:Class ; owl:disjointWith ?disjointType . |
?shapeUrl a sh:NodeShape ; sh:not ?propertyShape . ?propertyShape a sh:PropertyShape ; sh:class ?disjointType . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:not ?propertyShape .
?propertyShape a sh:PropertyShape ; sh:class ?disjointType .
} WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:disjointWith ?disjointType . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT('property',STR(?disjointType))))) AS ?propertyShape) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Disjoint with a class |
rdfs:Class, owl:disjointWith |
sh:NodeShape, sh:not, sh:class |
Property Pair Constraints |
?type a rdfs:Class ; owl:disjointWith ?disjointType . |
?shapeUrl a sh:NodeShape ; sh:not ?propertyShape . ?propertyShape a sh:PropertyShape ; sh:class ?disjointType . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:not ?propertyShape .
?propertyShape a sh:PropertyShape ; sh:class ?disjointType .
} WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:disjointWith ?disjointType . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT('property',STR(?disjointType))))) AS ?propertyShape) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Equivalent classes |
owl:Class, owl:equivalentClass |
sh:NodeShape, sh:targetClass |
Property Pair Constraints |
?type a owl:Class ; owl:equivalentClass ?sameAsType . |
?shapeUrl a sh:NodeShape ; sh:targetClass ?sameAsType . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:targetClass ?sameAsType . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:equivalentClass ?sameAsType . FILTER (!isBlank(?sameAsType)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Equivalent classes |
rdfs:Class, owl:equivalentClass |
sh:NodeShape, sh:targetClass |
Property Pair Constraints |
?type a rdfs:Class ; owl:equivalentClass ?sameAsType . |
?shapeUrl a sh:NodeShape ; sh:targetClass ?sameAsType . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:targetClass ?sameAsType . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:equivalentClass ?sameAsType . FILTER( !isBlank(?sameAsType)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Specific values of a class |
owl:Class, rdfs:subClassOf, owl:onProperty, owl:hasValue |
sh:NodeShape, sh:property, sh:PropertyShape, sh:hasValue |
Other Constraint |
?type a owl:Class; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty ; owl:hasValue ?hasValue . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:hasValue ?hasValue . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:hasValue ?hasValue . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type ?restrictionPredicate ?owlPropertyRestriction . VALUES ?restrictionPredicate { rdfs:subClassOf } . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:hasValue ?hasValue . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Specific values of a class |
rdfs:Class, rdfs:subClassOf, owl:onProperty, owl:hasValue |
sh:NodeShape, sh:property, sh:PropertyShape, sh:hasValue |
Other Constraint |
?type a rdfs:Class; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty ; owl:hasValue ?hasValue . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:hasValue ?hasValue . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:hasValue ?hasValue . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type ?restrictionPredicate ?owlPropertyRestriction . VALUES ?restrictionPredicate { rdfs:subClassOf } . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:hasValue ?hasValue . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Maximum qualified cardinality |
owl:Class, rdfs:subClassOf, owl:onProperty, owl:maxQualifiedCardinality, owl:onClass, owl:Restriction |
sh:NodeShape, sh:property, sh:qualifiedMaxCount, sh:qualifiedValueShape, sh:class |
Shape-based Constraints |
?type a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:maxQualifiedCardinality ?maxQualifiedCardinality ; owl:onClass ?onClassRestriction . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMaxCount ?maxQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMaxCount ?maxQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl { owl:Class rdfs:Class } ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:maxQualifiedCardinality ?maxQualifiedCardinality . ?owlPropertyRestriction owl:onClass ?onClassRestriction . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Maximum qualified cardinality |
rdfs:Class, rdfs:subClassOf, owl:onProperty, owl:maxQualifiedCardinality, owl:onClass, owl:Restriction |
sh:NodeShape, sh:property, sh:qualifiedMaxCount, sh:qualifiedValueShape, sh:class |
Shape-based Constraints |
?type a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty ; owl:maxQualifiedCardinality ?maxQualifiedCardinality ; owl:onClass ?onClassRestriction . |
?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMaxCount ?maxQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode sh:qualifiedMaxCount ?maxQualifiedCardinality; sh:qualifiedValueShape [ sh:class ?onClassRestriction ] . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl { owl:Class rdfs:Class } ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . ?owlPropertyRestriction owl:maxQualifiedCardinality ?maxQualifiedCardinality . ?owlPropertyRestriction owl:onClass ?onClassRestriction . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Enumerated class |
owl:Class, owl:oneOf |
sh:NodeShape, sh:in |
Other Constraint |
?type a owl:Class ; owl:oneOf ?inclusionTypesList . ?inclusionTypesList rdf:rest* ?inclusionTypesListRest ; rdf:first ?inclusionTypesListHead ; rdf:rest ?inclusionTypesListTail . |
?shapeUrl a sh:NodeShape ; sh:in ?inclusionTypesList . ?inclusionTypesListRest rdf:first ?inclusionTypesListHeadShape ; rdf:rest ?inclusionTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:in ?inclusionTypesList . ?inclusionTypesListRest rdf:first ?inclusionTypesListHeadShape ; rdf:rest ?inclusionTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . OPTIONAL { ?type owl:oneOf ?inclusionTypesList . ?inclusionTypesList rdf:rest* ?inclusionTypesListRest . ?inclusionTypesListRest rdf:first ?inclusionTypesListHead . ?inclusionTypesListRest rdf:rest ?inclusionTypesListTail . BIND ( IF ( ?inclusionTypesListHead != rdf:nil && !isBlank(?inclusionTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?inclusionTypesListHead)))), ?inclusionTypesListHead ) AS ?inclusionTypesListHeadShape ) BIND ( IF ( ?inclusionTypesListTail != rdf:nil && !isBlank(?inclusionTypesListTail), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?inclusionTypesListTail)))), ?inclusionTypesListTail ) AS ?inclusionTypesListTailShape ) } FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Enumerated class |
rdfs:Class, owl:oneOf |
sh:NodeShape, sh:in |
Other Constraint |
?type a rdfs:Class ; owl:oneOf ?inclusionTypesList . ?inclusionTypesList rdf:rest* ?inclusionTypesListRest ; rdf:first ?inclusionTypesListHead ; rdf:rest ?inclusionTypesListTail . |
?shapeUrl a sh:NodeShape ; sh:in ?inclusionTypesList . ?inclusionTypesListRest rdf:first ?inclusionTypesListHeadShape ; rdf:rest ?inclusionTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:in ?inclusionTypesList . ?inclusionTypesListRest rdf:first ?inclusionTypesListHeadShape ; rdf:rest ?inclusionTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . OPTIONAL { ?type owl:oneOf ?inclusionTypesList . ?inclusionTypesList rdf:rest* ?inclusionTypesListRest . ?inclusionTypesListRest rdf:first ?inclusionTypesListHead . ?inclusionTypesListRest rdf:rest ?inclusionTypesListTail . BIND ( IF ( ?inclusionTypesListHead != rdf:nil && !isBlank(?inclusionTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?inclusionTypesListHead)))), ?inclusionTypesListHead ) AS ?inclusionTypesListHeadShape ) BIND ( IF ( ?inclusionTypesListTail != rdf:nil && !isBlank(?inclusionTypesListTail), URI(CONCAT('https://astrea.linkeddata.es/shapes#', MD5(STR(?inclusionTypesListTail)))), ?inclusionTypesListTail ) AS ?inclusionTypesListTailShape ) } FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Property definition |
owl:Class, owl:onProperty, owl:Restriction |
sh:NodeShape, sh:PropertyShape, sh:property, sh:path |
Embedded sh:PropertyShapes |
?type a owl:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty . |
?shapeUrl a sh:NodeShape ; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape ; sh:path ?rangedProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:path ?rangedProperty . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Property definition |
rdfs:Class, owl:onProperty, owl:Restriction |
sh:NodeShape, sh:PropertyShape, sh:property, sh:path |
Embedded sh:PropertyShapes |
?type a rdfs:Class ; rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?rangedProperty . |
?shapeUrl a sh:NodeShape ; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape ; sh:path ?rangedProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:path ?rangedProperty . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type rdfs:subClassOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?rangedProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?rangedProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Union of classes |
owl:Class, owl:unionOf |
sh:NodeShape, sh:or |
Logical Constraint Constraints |
?type a owl:Class ; owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest ; rdf:first ?unionTypesListHead ; rdf:rest ?unionTypesListTail . |
?shapeUrl a sh:NodeShape ; sh:or ?unionTypesList . ?unionTypesListRest rdf:first ?unionTypesListHeadShape ; rdf:rest ?unionTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:or ?unionTypesList . ?unionTypesListRest rdf:first ?unionTypesListHeadShape ; rdf:rest ?unionTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest . ?unionTypesListRest rdf:first ?unionTypesListHead . ?unionTypesListRest rdf:rest ?unionTypesListTail . BIND ( IF ( ?unionTypesListHead != rdf:nil && !isBlank(?unionTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?unionTypesListHead)))), ?unionTypesListHead ) AS ?unionTypesListHeadShape ) BIND ( IF ( ?unionTypesListTail != rdf:nil && !isBlank(?unionTypesListTail), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?unionTypesListTail)))), ?unionTypesListTail ) AS ?unionTypesListTailShape ) FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Union of classes |
rdfs:Class, owl:unionOf |
sh:NodeShape, sh:or |
Logical Constraint Constraints |
?type a rdfs:Class ; owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest ; rdf:first ?unionTypesListHead ; rdf:rest ?unionTypesListTail . |
?shapeUrl a sh:NodeShape ; sh:or ?unionTypesList . ?unionTypesListRest rdf:first ?unionTypesListHeadShape ; rdf:rest ?unionTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:or ?unionTypesList . ?unionTypesListRest rdf:first ?unionTypesListHeadShape ; rdf:rest ?unionTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest . ?unionTypesListRest rdf:first ?unionTypesListHead . ?unionTypesListRest rdf:rest ?unionTypesListTail . BIND ( IF ( ?unionTypesListHead != rdf:nil && !isBlank(?unionTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?unionTypesListHead)))), ?unionTypesListHead ) AS ?unionTypesListHeadShape ) BIND ( IF ( ?unionTypesListTail != rdf:nil && !isBlank(?unionTypesListTail), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?unionTypesListTail)))), ?unionTypesListTail ) AS ?unionTypesListTailShape ) FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Comment annotation |
owl:Class, rdfs:comment |
sh:NodeShape, sh:description |
Non-Validating Property Shape Characteristics |
?type a owl:Class; rdfs:comment ?shapeNodeDescription . |
?shapeUrl a sh:NodeShape ; sh:description ?shapeNodeDescription . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:description ?shapeNodeDescription . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type rdfs:comment ?shapeNodeDescription . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Comment annotation |
rdfs:Class, rdfs:comment |
sh:NodeShape, sh:description |
Non-Validating Property Shape Characteristics |
?type a rdfs:Class; rdfs:comment ?shapeNodeDescription . |
?shapeUrl a sh:NodeShape ; sh:description ?shapeNodeDescription . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:description ?shapeNodeDescription . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type rdfs:comment ?shapeNodeDescription . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Label annotation |
owl:Class, rdfs:label |
sh:NodeShape,sh:name, rdfs:label |
Non-Validating Property Shape Characteristics |
?type a owl:Class; rdfs:label ?shapeNodeName . |
?shapeUrl a sh:NodeShape ; sh:name ?shapeNodeName ; rdfs:label ?shapeNodeName . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:name ?shapeNodeName; rdfs:label ?shapeNodeName . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type rdfs:label ?shapeNodeName . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Label annotation |
rdfs:Class, rdfs:label |
sh:NodeShape,sh:name, rdfs:label |
Non-Validating Property Shape Characteristics |
?type a rdfs:Class; rdfs:label ?shapeNodeName . |
?shapeUrl a sh:NodeShape ; sh:name ?shapeNodeName ; rdfs:label ?shapeNodeName . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:name ?shapeNodeName; rdfs:label ?shapeNodeName . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type rdfs:label ?shapeNodeName . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Property definition |
owl:Class, owl:onProperty, owl:Restriction |
sh:NodeShape,sh:property, sh:PropertyShape, sh:nodeKind, sh:IRIOrLiteral, sh:path |
Shape-based Constraints |
?type a owl:Class ; ?relationship ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?complementaryProperty . |
?shapeUrl a sh:NodeShape ; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape ; sh:nodeKind sh:IRIOrLiteral; sh:path ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:nodeKind sh:IRIOrLiteral ; sh:path ?property . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type ?relationship ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?property . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?property))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Property definition |
rdfs:Class, owl:onProperty, owl:Restriction |
sh:NodeShape,sh:property, sh:PropertyShape, sh:nodeKind, sh:IRIOrLiteral, sh:path |
Shape-based Constraints |
?type a rdfs:Class ; ?relationship ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?complementaryProperty . |
?shapeUrl a sh:NodeShape ; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape ; sh:nodeKind sh:IRIOrLiteral; sh:path ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:property ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:nodeKind sh:IRIOrLiteral ; sh:path ?property . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type ?relationship ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?property . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?property))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Complement of a class |
owl:Class, owl:complementOf, owl:onProperty, owl:Restriction, owl:hasValue |
sh:NodeShape,sh:not, sh:PropertyShape, sh:hasValue, sh:path |
Logical Constraint Constraints |
?type a owl:Class ; owl:complementOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?complementaryProperty ; owl:hasValue ?complementaryPropertyRange . |
?shapeUrl a sh:NodeShape ; sh:not ?embeddedNode . ?embeddedNode a sh:PropertyShape ; sh:hasValue ?complementaryPropertyRange ; sh:path ?complementaryProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:not ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:hasValue ?complementaryPropertyRange; sh:path ?complementaryProperty .
} WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:complementOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?complementaryProperty . ?owlPropertyRestriction owl:hasValue ?complementaryPropertyRange . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?complementaryProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Complement of a class |
rdfs:Class, owl:complementOf, owl:onProperty, owl:Restriction, owl:hasValue |
sh:NodeShape,sh:not, sh:PropertyShape, sh:hasValue, sh:path |
REVIEW Logical Constraint Constraints |
?type a rdfs:Class ; owl:complementOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction ; owl:onProperty ?complementaryProperty ; owl:hasValue ?complementaryPropertyRange . |
?shapeUrl a sh:NodeShape ; sh:not ?embeddedNode . ?embeddedNode a sh:PropertyShape ; sh:hasValue ?complementaryPropertyRange ; sh:path ?complementaryProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:not ?embeddedNode . ?embeddedNode a sh:PropertyShape; sh:hasValue ?complementaryPropertyRange; sh:path ?complementaryProperty .
} WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:complementOf ?owlPropertyRestriction . ?owlPropertyRestriction a owl:Restriction . ?owlPropertyRestriction owl:onProperty ?complementaryProperty . ?owlPropertyRestriction owl:hasValue ?complementaryPropertyRange . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(CONCAT(STR(?type),STR(?complementaryProperty))))) AS ?embeddedNode) . FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Functional Property definition |
owl:FunctionalProperty |
sh:PropertyShape, sh:maxCount, sh:nodeKind, sh:IRIOrLiteral |
Cardinality Constraints |
?property a owl:FunctionalProperty . |
?shapeUrl a sh:PropertyShape; sh:nodeKind sh:IRIOrLiteral; sh:maxCount 1 . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:nodeKind sh:IRIOrLiteral; sh:maxCount 1 . } WHERE { ?property a owl:FunctionalProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Intersection of classes |
owl:intersectionOf, owl:Class |
sh:NodeShape, sh:and |
Logical Constraint Constraints |
?type a owl:Class ; owl:intersectionOf ?intersectedTypesList . ?intersectedTypesList rdf:rest* ?intersectedTypesListRest ; rdf:first ?intersectedTypesListHead ; rdf:rest ?intersectedTypesListTail . |
?shapeUrl a sh:NodeShape ; sh:and ?intersectedTypesList . ?intersectedTypesListRest rdf:first ?intersectedTypesListHeadShape ; rdf:rest ?intersectedTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:and ?intersectedTypesList . ?intersectedTypesListRest rdf:first ?intersectedTypesListHeadShape ; rdf:rest ?intersectedTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type owl:intersectionOf ?intersectedTypesList . ?intersectedTypesList rdf:rest* ?intersectedTypesListRest . ?intersectedTypesListRest rdf:first ?intersectedTypesListHead . ?intersectedTypesListRest rdf:rest ?intersectedTypesListTail . BIND ( IF ( ?intersectedTypesListHead != rdf:nil && !isBlank(?intersectedTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?intersectedTypesListHead)))), ?intersectedTypesListHead ) AS ?intersectedTypesListHeadShape ) BIND ( IF ( ?intersectedTypesListTail != rdf:nil && !isBlank(?intersectedTypesListTail), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?intersectedTypesListTail)))), ?intersectedTypesListTail ) AS ?intersectedTypesListTailShape ) FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Intersection of classes |
owl:intersectionOf, rdfs:Class |
sh:NodeShape, sh:and |
Logical Constraint Constraints |
?type a rdfs:Class ; owl:intersectionOf ?intersectedTypesList . ?intersectedTypesList rdf:rest* ?intersectedTypesListRest ; rdf:first ?intersectedTypesListHead ; rdf:rest ?intersectedTypesListTail . |
?shapeUrl a sh:NodeShape ; sh:and ?intersectedTypesList . ?intersectedTypesListRest rdf:first ?intersectedTypesListHeadShape ; rdf:rest ?intersectedTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:and ?intersectedTypesList . ?intersectedTypesListRest rdf:first ?intersectedTypesListHeadShape ; rdf:rest ?intersectedTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} ?type owl:intersectionOf ?intersectedTypesList . ?intersectedTypesList rdf:rest* ?intersectedTypesListRest . ?intersectedTypesListRest rdf:first ?intersectedTypesListHead . ?intersectedTypesListRest rdf:rest ?intersectedTypesListTail . BIND ( IF ( ?intersectedTypesListHead != rdf:nil && !isBlank(?intersectedTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?intersectedTypesListHead)))), ?intersectedTypesListHead ) AS ?intersectedTypesListHeadShape ) BIND ( IF ( ?intersectedTypesListTail != rdf:nil && !isBlank(?intersectedTypesListTail), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?intersectedTypesListTail)))), ?intersectedTypesListTail ) AS ?intersectedTypesListTailShape ) FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Object Property definition |
owl:ObjectProperty |
sh:PropertyShape, sh:nodeKind, sh:BlankNodeOrIRI |
Value Type Constraints |
?property a owl:ObjectProperty . |
?shapeUrl a sh:PropertyShape ; sh:nodeKind sh:BlankNodeOrIRI . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:nodeKind sh:BlankNodeOrIRI . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Object Property definition |
owl:ObjectProperty |
sh:PropertyShape, sh:path |
Value Type Constraints |
?property a owl:ObjectProperty . |
?shapeUrl a sh:PropertyShape ; sh:nodeKind sh:BlankNodeOrIRI . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:path ?property . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty } FILTER NOT EXISTS { ?property a owl:InverseFunctionalProperty . } FILTER NOT EXISTS { ?property rdfs:range ?rangeURI . } FILTER NOT EXISTS { ?property rdfs:domain ?rangeURI . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Object Property definition |
owl:ObjectProperty, owl:DatatypeProperty, rdfs:domain |
sh:PropertyShape, sh:path, sh:nodeKind, sh:BlankNodeOrIRI, sh:NodeShape, sh:targetClass, sh:property |
Value Type Constraints |
?property a owl:ObjectProperty . ?property rdfs:domain ?domainURI . |
?shapeDomainClassUrl a sh:NodeShape ; sh:targetClass ?domainURI ; sh:property ?shapeUrl . ?shapeUrl a sh:PropertyShape; sh:path ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeDomainClassUrl a sh:NodeShape ; sh:targetClass ?domainURI ; sh:property ?shapeUrl . ?shapeUrl a sh:PropertyShape; sh:path ?property . } WHERE { ?property a ?propertyType . ?property rdfs:domain ?domainURI . VALUES ?propertyType { owl:ObjectProperty owl:DatatypeProperty } OPTIONAL {?property rdfs:range ?rangeURI . } FILTER NOT EXISTS { ?property a owl:InverseFunctionalProperty . } FILTER (!isBlank(?property) && !isBlank(?domainURI) && !isBlank(?rangeURI)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?domainURI)))) AS ?shapeDomainClassUrl) . } |
Object Property definition |
owl:ObjectProperty, rdfs:domain |
sh:PropertyShape, sh:path, sh:nodeKind, sh:BlankNodeOrIRI, sh:NodeShape, sh:targetClass, sh:property |
Value Type Constraints |
?property a owl:ObjectProperty . ?property rdfs:domain ?domainURI . |
?shapeDomainClassUrl a sh:NodeShape ; sh:targetClass ?domainURI ; sh:property ?shapeUrl . ?shapeUrl a sh:PropertyShape; sh:path ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?unionTypesListHeadShape a sh:NodeShape ; sh:targetClass ?unionTypesListHead ; sh:property ?shapeUrl . ?shapeUrl a sh:PropertyShape; sh:path ?property . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty owl:DatatypeProperty } FILTER NOT EXISTS { ?property a owl:InverseFunctionalProperty . } ?property rdfs:domain ?domainURI . OPTIONAL {?property rdfs:range ?rangeURI . } ?domainURI owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest . ?unionTypesListRest rdf:first ?unionTypesListHead . ?unionTypesListRest rdf:rest ?unionTypesListTail . BIND ( IF ( ?unionTypesListHead != rdf:nil && !isBlank(?unionTypesListHead), URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?unionTypesListHead)))), ?unionTypesListHead ) AS ?unionTypesListHeadShape ) BIND ( IF ( ?unionTypesListTail != rdf:nil && !isBlank(?unionTypesListTail), URI(CONCAT(STR(?unionTypesListTail),'')), ?unionTypesListTail ) AS ?unionTypesListTailShape )
FILTER (!isBlank(?property) && !isBlank(?rangeURI)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Object Property definition |
owl:ObjectProperty, rdfs:range |
sh:PropertyShape, sh:path, sh:nodeKind, sh:BlankNodeOrIRI, sh:NodeShape, sh:targetClass, sh:property |
Value Type Constraints |
?property a owl:ObjectProperty . ?property rdfs:range ?rangeURI . ?rangeURI owl:unionOf ?unionTypesList . |
?shapeDomainClassUrl a sh:NodeShape ; sh:targetClass ?domainURI ; sh:property ?shapeUrl . ?shapeUrl a sh:PropertyShape; sh:path ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:or ?unionTypesList . ?unionTypesListRest rdf:first [ sh:path ?property ; sh:class ?unionTypesListHead ]; rdf:rest ?unionTypesListTail .
} WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty } ?property rdfs:range ?rangeURI . ?rangeURI owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest . ?unionTypesListRest rdf:first ?unionTypesListHead . ?unionTypesListRest rdf:rest ?unionTypesListTail .
FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Object Property definition |
owl:ObjectProperty, rdfs:range |
sh:PropertyShape, sh:path, sh:class |
Value Type Constraints |
?property a owl:ObjectProperty . ?property rdfs:range ?rangeURI . |
?shapeUrl a sh:PropertyShape; sh:path ?property ; sh:class ?rangeURI . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:path ?property ; sh:class ?rangeURI .
} WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty } ?property rdfs:range ?rangeURI . FILTER (!isBlank(?property) && !isBlank(?rangeURI)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Comment annotation |
owl:ObjectProperty, rdfs:comment |
sh:PropertyShape, sh:description, rdfs:label |
Non-Validating Property Shape Characteristics |
?property a owl:ObjectProperty ; rdfs:comment ?propertyComment . |
?shapeUrl a sh:PropertyShape ; sh:description ?propertyComment ; rdfs:label ?propertyComment . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:description ?propertyComment; rdfs:label ?propertyComment . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:comment ?propertyComment . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Comment annotation |
owl:DatatypeProperty, rdfs:comment |
sh:PropertyShape, sh:description, rdfs:label |
Non-Validating Property Shape Characteristics |
?property a owl:DatatypeProperty ; rdfs:comment ?propertyComment . |
?shapeUrl a sh:PropertyShape ; sh:description ?propertyComment ; rdfs:label ?propertyComment . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:description ?propertyComment; rdfs:label ?propertyComment . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:comment ?propertyComment . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Comment annotation |
rdfs:Datatype, rdfs:comment |
sh:PropertyShape, sh:description, rdfs:label |
Non-Validating Property Shape Characteristics |
?property a rdfs:Datatype ; rdfs:comment ?propertyComment . |
?shapeUrl a sh:PropertyShape ; sh:description ?propertyComment ; rdfs:label ?propertyComment . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:description ?propertyComment; rdfs:label ?propertyComment . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:comment ?propertyComment . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Union of classes |
owl:ObjectProperty, rdfs:range |
sh:PropertyShape, sh:class |
Value Type Constraints |
?property a owl:ObjectProperty ; rdfs:range ?typeInRange . |
?shapeUrl a sh:PropertyShape; sh:class ?typeInRange . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:class ?typeInRange . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty } ?property rdfs:range ?typeInRange . FILTER (!isBlank(?typeInRange)) . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Union of classes |
owl:ObjectProperty, rdfs:range, owl:unionOf |
sh:PropertyShape, sh:class |
Value Type Constraints |
?property a owl:ObjectProperty ; rdfs:range [ owl:unionOf ?typeInRange ] . |
?shapeUrl a sh:PropertyShape; sh:class ?typeInRange . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:class ?typeInRange . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty } ?property rdfs:range ?typeInRangeBlank . ?typeInRangeBlank owl:unionOf ?typeInRange . FILTER (!isBlank(?typeInRangeUnited)) . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Datatype definition |
owl:DatatypeProperty |
sh:PropertyShape, sh:nodeKind, sh:Literal |
Value Type Constraints |
?property a owl:DatatypeProperty . |
?shapeUrl a sh:PropertyShape ; sh:nodeKind sh:Literal . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:nodeKind sh:Literal . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Datatype definition |
rdfs:Datatype |
sh:PropertyShape, sh:nodeKind, sh:Literal |
Value Type Constraints |
?property a rdfs:Datatype . |
?shapeUrl a sh:PropertyShape ; sh:nodeKind sh:Literal . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:nodeKind sh:Literal . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Maximum Exclusive restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:maxExclusive |
sh:PropertyShape, sh:maxExclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:maxExclusive ?restrictionMax . |
?shapeUrl a sh:PropertyShape ; sh:maxExclusive ?restrictionMax . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:maxExclusive ?restrictionMax . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:maxExclusive ?restrictionMax . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Maximum Exclusive restriction |
rdfs:Datatype, owl:withRestrictions, xsd:maxExclusive |
sh:PropertyShape, sh:maxExclusive |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:maxExclusive ?restrictionMax . |
?shapeUrl a sh:PropertyShape ; sh:maxExclusive ?restrictionMax . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:maxExclusive ?restrictionMax . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:maxExclusive ?restrictionMax . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Maximum Inclusive restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:maxInclusive |
sh:PropertyShape, sh:maxInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:maxInclusive ?restrictionMax . |
?shapeUrl a sh:PropertyShape ; sh:maxInclusive ?restrictionMax . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:maxInclusive ?restrictionMax . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:maxInclusive ?restrictionMax . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Maximum Inclusive restriction |
rdfs:Datatype, owl:withRestrictions, xsd:maxInclusive |
sh:PropertyShape, sh:maxInclusive |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:maxInclusive ?restrictionMax . |
?shapeUrl a sh:PropertyShape ; sh:maxInclusive ?restrictionMax . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:maxInclusive ?restrictionMax . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:maxInclusive ?restrictionMax . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Maximum length restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:maxLength |
sh:PropertyShape, sh:maxLength |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:maxLength ?restrictionMax . |
?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionMax . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionMax . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:maxLength ?restrictionMax . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Maximum length restriction |
rdfs:Datatype, owl:withRestrictions, xsd:maxLength |
sh:PropertyShape, sh:maxLength |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:maxLength ?restrictionMax . |
?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionMax . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionMax . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:maxLength ?restrictionMax . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minimum length restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:minExclusive |
sh:PropertyShape, sh:minExclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:minExclusive ?restrictionMin . |
?shapeUrl a sh:PropertyShape ; sh:minExclusive ?restrictionMin . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:minExclusive ?restrictionMin . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:minExclusive ?restrictionMin . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minimum length restriction |
rdfs:Datatype, owl:withRestrictions, xsd:minExclusive |
sh:PropertyShape, sh:minExclusive |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:minExclusive ?restrictionMin . |
?shapeUrl a sh:PropertyShape ; sh:minExclusive ?restrictionMin . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:minExclusive ?restrictionMin . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:minExclusive ?restrictionMin . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minimum inclusive restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:minInclusive |
sh:PropertyShape, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:minInclusive ?restrictionMin . |
?shapeUrl a sh:PropertyShape ; sh:minInclusive ?restrictionMin . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:minInclusive ?restrictionMin . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:minInclusive ?restrictionMin . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minimum inclusive restriction |
rdfs:Datatype, owl:withRestrictions, xsd:minInclusive |
sh:PropertyShape, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:minInclusive ?restrictionMin . |
?shapeUrl a sh:PropertyShape ; sh:minInclusive ?restrictionMin . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:minInclusive ?restrictionMin . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:minInclusive ?restrictionMin . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minumum length restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:minLength |
sh:PropertyShape, sh:minLength |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:minLength ?restrictionMin . |
?shapeUrl a sh:PropertyShape ; sh:minLength ?restrictionMin . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:minLength ?restrictionMin . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:minLength ?restrictionMin . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minumum length restriction |
rdfs:Datatype, owl:withRestrictions, xsd:minLength |
sh:PropertyShape, sh:minLength |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:minLength ?restrictionMin . |
?shapeUrl a sh:PropertyShape ; sh:minLength ?restrictionMin . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:minLength ?restrictionMin . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:minLength ?restrictionMin . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minimum length restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:length |
sh:PropertyShape, sh:maxLength, sh:minLength |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:length ?restrictionLength . |
?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionLength ; sh:minLength ?restrictionLength . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionLength ; sh:minLength ?restrictionLength . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:length ?restrictionLength . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Minimum length restriction |
rdfs:Datatype, owl:withRestrictions, xsd:length |
sh:PropertyShape, sh:maxLength, sh:minLength |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:length ?restrictionLength . |
?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionLength ; sh:minLength ?restrictionLength . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:maxLength ?restrictionLength ; sh:minLength ?restrictionLength . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:length ?restrictionLength . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Range of a datatype |
owl:DatatypeProperty, rdfs:range |
sh:PropertyShape, sh:datatype |
Value Type Constraints |
?property a owl:DatatypeProperty; rdfs:range ?typeInRange . |
?shapeUrl a sh:PropertyShape ; sh:datatype ?typeInRange . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:datatype ?typeInRange . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property rdfs:range ?typeInRange. FILTER (!isBlank(?property) && !isBlank(?typeInRange)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Equivalent properties |
owl:equivalentProperty, owl:ObjectProperty |
sh:PropertyShape, sh:equals |
Property Pair Constraints |
?property a owl:ObjectProperty ; owl:equivalentProperty ?equivalentProperty . MINUS { ?property a owl:InverseFunctionalProperty } . MINUS { ?property a owl:FunctionalProperty } . |
?shapeUrl a sh:PropertyShape ; sh:equals ?equivalentProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:equals ?equivalentProperty . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . MINUS { ?propertyType a owl:InverseFunctionalProperty } . MINUS { ?propertyType a owl:FunctionalProperty } . ?property owl:equivalentProperty ?equivalentProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Equivalent properties |
owl:equivalentProperty, owl:DatatypeProperty |
sh:PropertyShape, sh:equals |
Property Pair Constraints |
?property a owl:DatatypeProperty ; owl:equivalentProperty ?equivalentProperty . MINUS { ?property a owl:InverseFunctionalProperty } . MINUS { ?property a owl:FunctionalProperty } . |
?shapeUrl a sh:PropertyShape ; sh:equals ?equivalentProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:equals ?equivalentProperty . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . MINUS { ?propertyType a owl:InverseFunctionalProperty } . MINUS { ?propertyType a owl:FunctionalProperty } . ?property owl:equivalentProperty ?equivalentProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Equivalent properties |
owl:equivalentProperty, rdfs:Datatype |
sh:PropertyShape, sh:equals |
Property Pair Constraints |
?property a rdfs:Datatype ; owl:equivalentProperty ?equivalentProperty . MINUS { ?property a owl:InverseFunctionalProperty } . MINUS { ?property a owl:FunctionalProperty } . |
?shapeUrl a sh:PropertyShape ; sh:equals ?equivalentProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:equals ?equivalentProperty . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . MINUS { ?propertyType a owl:InverseFunctionalProperty } . MINUS { ?propertyType a owl:FunctionalProperty } . ?property owl:equivalentProperty ?equivalentProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . }
|
Inverse Functional Property |
owl:InverseFunctionalProperty |
sh:PropertyShape, sh:inversePath, sh:maxCount |
Property Paths and Cardinality Constraint Components |
?property a owl:InverseFunctionalProperty . |
?shapeUrl a sh:PropertyShape ; sh:maxCount 1 ; sh:inversePath ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:maxCount 1; sh:nodeKind sh:IRIOrLiteral ; sh:inversePath ?property . } WHERE { ?property a owl:InverseFunctionalProperty . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
isDefinedBy annotation |
owl:ObjectProperty, rdfs:isDefinedBy |
sh:PropertyShape, rdfs:isDefinedBy |
Non-Validating Property Shape Characteristics |
?property a owl:ObjectProperty ; rdfs:isDefinedBy ?shapePropertyDefinedBy . |
?shapeUrl a sh:PropertyShape ; rdfs:isDefinedBy ?shapePropertyDefinedBy . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; rdfs:isDefinedBy ?shapePropertyDefinedBy . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:isDefinedBy ?shapePropertyDefinedBy . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
isDefinedBy annotation |
owl:DatatypeProperty, rdfs:isDefinedBy |
sh:PropertyShape, rdfs:isDefinedBy |
Non-Validating Property Shape Characteristics |
?property a owl:DatatypeProperty ; rdfs:isDefinedBy ?shapePropertyDefinedBy . |
?shapeUrl a sh:PropertyShape ; rdfs:isDefinedBy ?shapePropertyDefinedBy . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; rdfs:isDefinedBy ?shapePropertyDefinedBy . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:isDefinedBy ?shapePropertyDefinedBy . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
isDefinedBy annotation |
rdfs:Datatype, rdfs:isDefinedBy |
sh:PropertyShape, rdfs:isDefinedBy |
Non-Validating Property Shape Characteristics |
?property a rdfs:Datatype ; rdfs:isDefinedBy ?shapePropertyDefinedBy . |
?shapeUrl a sh:PropertyShape ; rdfs:isDefinedBy ?shapePropertyDefinedBy . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; rdfs:isDefinedBy ?shapePropertyDefinedBy . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:isDefinedBy ?shapePropertyDefinedBy . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Label annotation |
owl:ObjectProperty, rdfs:label |
sh:PropertyShape, sh:name, rdfs:label |
Non-Validating Property Shape Characteristics |
?property a owl:ObjectProperty ; rdfs:label ?propertyName . |
?shapeUrl a sh:PropertyShape ; sh:name ?propertyName ; rdfs:label ?propertyName . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:name ?propertyName; rdfs:label ?propertyName . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:label ?propertyName . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Label annotation |
owl:DatatypeProperty, rdfs:label |
sh:PropertyShape, sh:name, rdfs:label |
Non-Validating Property Shape Characteristics |
?property a owl:DatatypeProperty ; rdfs:label ?propertyName . |
?shapeUrl a sh:PropertyShape ; sh:name ?propertyName ; rdfs:label ?propertyName . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:name ?propertyName; rdfs:label ?propertyName . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:label ?propertyName . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Label annotation |
rdfs:Datatype, rdfs:label |
sh:PropertyShape, sh:name, rdfs:label |
Non-Validating Property Shape Characteristics |
?property a rdfs:Datatype ; rdfs:label ?propertyName . |
?shapeUrl a sh:PropertyShape ; sh:name ?propertyName ; rdfs:label ?propertyName . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:name ?propertyName; rdfs:label ?propertyName . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:label ?propertyName . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
seeAlso annotation |
owl:ObjectProperty, rdfs:seeAlso |
sh:PropertyShape, rdfs:seeAlso |
Non-Validating Property Shape Characteristics |
?property a owl:ObjectProperty ; rdfs:seeAlso ?shapePropertySeeAlso . |
?shapeUrl a sh:PropertyShape ; rdfs:seeAlso ?shapePropertySeeAlso . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; rdfs:seeAlso ?shapePropertySeeAlso . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:seeAlso ?shapePropertySeeAlso . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
seeAlso annotation |
owl:DatatypeProperty, rdfs:seeAlso |
sh:PropertyShape, rdfs:seeAlso |
Non-Validating Property Shape Characteristics |
?property a owl:DatatypeProperty ; rdfs:seeAlso ?shapePropertySeeAlso . |
?shapeUrl a sh:PropertyShape ; rdfs:seeAlso ?shapePropertySeeAlso . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; rdfs:seeAlso ?shapePropertySeeAlso . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:seeAlso ?shapePropertySeeAlso . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
seeAlso annotation |
rdfs:Datatype, rdfs:seeAlso |
sh:PropertyShape, rdfs:seeAlso |
Non-Validating Property Shape Characteristics |
?property a rdfs:Datatype ; rdfs:seeAlso ?shapePropertySeeAlso . |
?shapeUrl a sh:PropertyShape ; rdfs:seeAlso ?shapePropertySeeAlso . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; rdfs:seeAlso ?shapePropertySeeAlso . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:ObjectProperty owl:DatatypeProperty rdfs:Datatype } . ?property rdfs:seeAlso ?shapePropertySeeAlso . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, owl:withRestrictions, xsd:pattern |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:pattern ?restrictionPattern . |
?shapeUrl a sh:PropertyShape ; sh:pattern ?restrictionPattern . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:pattern ?restrictionPattern . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:pattern ?restrictionPattern . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, owl:withRestrictions, xsd:pattern |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . ?restrictionElement xsd:pattern ?restrictionPattern . |
?shapeUrl a sh:PropertyShape ; sh:pattern ?restrictionPattern . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:pattern ?restrictionPattern . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype} ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . OPTIONAL { ?restrictionElement xsd:pattern ?restrictionPattern . } FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:decimal |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:decimal . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:decimal . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:decimal |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:decimal . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:decimal . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:float |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:float . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)?|(\\\\+|-)?INF|NaN'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)?|(\\\\+|-)?INF|NaN'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:float . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:float |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:float . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)?|(\\\\+|-)?INF|NaN'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)?|(\\\\+|-)?INF|NaN'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:float . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:double |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:double . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)? |(\\\\+|-)?INF|NaN'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)? |(\\\\+|-)?INF|NaN'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:double . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:double |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:double . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)? |(\\\\+|-)?INF|NaN'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '(\\\\+|-)?([0-9]+(\\\\.[0-9]*)?|\\\\.[0-9]+)([Ee](\\\\+|-)?[0-9]+)? |(\\\\+|-)?INF|NaN'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:double . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:duration |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:duration . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S))))'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S))))'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:duration . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:duration |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:duration . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S))))'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\\\.[0-9]+)?S)?|([0-9]+(\\\\.[0-9]+)?S))))'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:duration . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:time |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:time . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:time . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:time |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:time . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:time . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:boolean |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:boolean . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern 'true|false|0|1'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern 'true|false|0|1'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:boolean . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:boolean |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:boolean . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern 'true|false|0|1'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern 'true|false|0|1'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:boolean . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:gMonthDay |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:gMonthDay . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gMonthDay . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:gMonthDay |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:gMonthDay . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gMonthDay . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:gDay |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:gDay . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '---(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '---(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gDay . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:gDay |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:gDay . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '---(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '---(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gDay . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:gMonth |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:gMonth . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '--(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '--(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gMonth . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:gMonth |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:gMonth . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } }
|
?shapeUrl a sh:PropertyShape ; sh:pattern '--(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '--(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gMonth . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:hexBinary |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:hexBinary . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '([0-9a-fA-F]{2})*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '([0-9a-fA-F]{2})*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:hexBinary . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:hexBinary |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:hexBinary . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '([0-9a-fA-F]{2})*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '([0-9a-fA-F]{2})*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:hexBinary . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:base64Binary |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:base64Binary . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '((([A-Za-z0-9+/] ?){4})*(([A-Za-z0-9+/] ?){3}[A-Za-z0-9+/]|([A-Za-z0-9+/] ?){2}[AEIMQUYcgkosw048] ?=|[A-Za-z0-9+/] ?[AQgw] ?= ?=))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '((([A-Za-z0-9+/] ?){4})*(([A-Za-z0-9+/] ?){3}[A-Za-z0-9+/]|([A-Za-z0-9+/] ?){2}[AEIMQUYcgkosw048] ?=|[A-Za-z0-9+/] ?[AQgw] ?= ?=))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:base64Binary . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:base64Binary |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:base64Binary . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '((([A-Za-z0-9+/] ?){4})*(([A-Za-z0-9+/] ?){3}[A-Za-z0-9+/]|([A-Za-z0-9+/] ?){2}[AEIMQUYcgkosw048] ?=|[A-Za-z0-9+/] ?[AQgw] ?= ?=))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '((([A-Za-z0-9+/] ?){4})*(([A-Za-z0-9+/] ?){3}[A-Za-z0-9+/]|([A-Za-z0-9+/] ?){2}[AEIMQUYcgkosw048] ?=|[A-Za-z0-9+/] ?[AQgw] ?= ?=))?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:base64Binary . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:language |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:language . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:language . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:language |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:language . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:language . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:NMTOKEN |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:NMTOKEN . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '\\\\c+'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '\\\\c+'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:NMTOKEN . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:NMTOKEN |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:NMTOKEN . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '\\\\c+'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '\\\\c+'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:NMTOKEN . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:Name |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:Name . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '\\\\i\\\\c*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '\\\\i\\\\c*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:Name . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:Name |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:Name . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '\\\\i\\\\c*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '\\\\i\\\\c*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:Name . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:integer |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:integer . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:integer . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:integer |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:integer . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:integer . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:long, xsd:maxInclusive, xsd:minInclusive |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:long . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '9223372036854775807'^^xsd:integer ; sh:minInclusive '-9223372036854775808'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '9223372036854775807'^^xsd:integer . ?shapeUrl sh:minInclusive '-9223372036854775808'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:long . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:long, xsd:maxInclusive, xsd:minInclusive |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:long . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '9223372036854775807'^^xsd:integer ; sh:minInclusive '-9223372036854775808'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '9223372036854775807'^^xsd:integer . ?shapeUrl sh:minInclusive '-9223372036854775808'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:long . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:nonNegativeInteger, xsd:minInclusive |
sh:PropertyShape, sh:pattern, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:nonNegativeInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:nonNegativeInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:nonNegativeInteger, xsd:minInclusive |
sh:PropertyShape, sh:pattern, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:nonNegativeInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:nonNegativeInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:string |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:string . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '.*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '.*'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:string . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:string |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:string . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '.*'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '.*'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:string . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:dateTime |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:dateTime . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:dateTime . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:dateTime |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:dateTime . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\\\.[0-9]+)?|(24:00:00(\\\\.0+)?))(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:dateTime . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:date |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:date . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:date . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:date |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:date . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:date . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:gYearMonth |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:gYearMonth . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gYearMonth . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:gYearMonth |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:gYearMonth . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gYearMonth . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:gYear |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:gYear . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gYear . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:gYear |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:gYear . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:gYear . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:anyURI |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:anyURI . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\\\?([^#]*))?(#(.*))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\\\?([^#]*))?(#(.*))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:anyURI . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:anyURI |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:anyURI . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\\\?([^#]*))?(#(.*))?'^^xsd:string . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\\\?([^#]*))?(#(.*))?'^^xsd:string . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:anyURI . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:NMTOKENS |
sh:PropertyShape, sh:pattern,sh:minLength |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:NMTOKENS . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '\\\\c+'^^xsd:string ; sh:minLength '1'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '\\\\c+'^^xsd:string. ?shapeUrl sh:minLength '1'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:NMTOKENS . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:NMTOKENS |
sh:PropertyShape, sh:pattern,sh:minLength |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:NMTOKENS . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } }
|
?shapeUrl a sh:PropertyShape ; sh:pattern '\\\\c+'^^xsd:string ; sh:minLength '1'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '\\\\c+'^^xsd:string. ?shapeUrl sh:minLength '1'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:NMTOKENS . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:nonPositiveInteger |
sh:PropertyShape, sh:pattern,sh:maxInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:nonPositiveInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. ?shapeUrl sh:maxInclusive '0'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:nonPositiveInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:nonPositiveInteger |
sh:PropertyShape, sh:pattern,sh:maxInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:nonPositiveInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. ?shapeUrl sh:maxInclusive '0'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:nonPositiveInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:negativeInteger |
sh:PropertyShape, sh:pattern,sh:maxInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:negativeInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '-1'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. ?shapeUrl sh:maxInclusive '-1'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:negativeInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:negativeInteger |
sh:PropertyShape, sh:pattern,sh:maxInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:negativeInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } }
|
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '-1'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. ?shapeUrl sh:maxInclusive '-1'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:negativeInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:positiveInteger |
sh:PropertyShape, sh:pattern,sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:positiveInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:minInclusive '1'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. ?shapeUrl sh:minInclusive '1'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:positiveInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:positiveInteger |
sh:PropertyShape, sh:pattern,sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:positiveInteger . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:minInclusive '1'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string. ?shapeUrl sh:minInclusive '1'^^xsd:integer. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:positiveInteger . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:int |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:int . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '2147483647'^^xsd:integer ; sh:minInclusive '-2147483648'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '2147483647'^^xsd:integer . ?shapeUrl sh:minInclusive '-2147483648'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:int . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:int |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:int . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '2147483647'^^xsd:integer ; sh:minInclusive '-2147483648'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '2147483647'^^xsd:integer . ?shapeUrl sh:minInclusive '-2147483648'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:int . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:short |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:short . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '32767'^^xsd:integer ; sh:minInclusive '-32768'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '32767'^^xsd:integer . ?shapeUrl sh:minInclusive '-32768'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:short . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:short |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:short . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } }
|
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '32767'^^xsd:integer ; sh:minInclusive '-32768'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '32767'^^xsd:integer . ?shapeUrl sh:minInclusive '-32768'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:short . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:byte |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:byte . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '127'^^xsd:integer ; sh:minInclusive '-128'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '127'^^xsd:integer . ?shapeUrl sh:minInclusive '-128'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:byte . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:byte |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:byte . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '127'^^xsd:integer ; sh:minInclusive '-128'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '127'^^xsd:integer . ?shapeUrl sh:minInclusive '-128'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:byte . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:unsignedLong |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:unsignedLong . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '18446744073709551615'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '18446744073709551615'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedLong . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:unsignedLong |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:unsignedLong . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '18446744073709551615'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '18446744073709551615'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedLong . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:unsignedInt |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:unsignedInt . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } }
|
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '4294967295'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '4294967295'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedInt . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:unsignedInt |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:unsignedInt . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '4294967295'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '4294967295'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedInt . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:unsignedShort |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:unsignedShort . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '65535'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '65535'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedShort . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:unsignedShort |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:unsignedShort . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '65535'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '65535'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedShort . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:unsignedByte |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:unsignedByte . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '255'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '255'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedByte . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:unsignedByte |
sh:PropertyShape, sh:pattern, sh:maxInclusive, sh:minInclusive |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:unsignedByte . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } }
|
?shapeUrl a sh:PropertyShape ; sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string ; sh:maxInclusive '255'^^xsd:integer ; sh:minInclusive '0'^^xsd:integer . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[\\\\-+]?[0-9]+'^^xsd:string . ?shapeUrl sh:maxInclusive '255'^^xsd:integer . ?shapeUrl sh:minInclusive '0'^^xsd:integer . } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:unsignedByte . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:yearMonthDuration |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:yearMonthDuration . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape; sh:pattern '[^DT]*'^^xsd:string. |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[^DT]*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:yearMonthDuration . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:yearMonthDuration |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:yearMonthDuration . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape; sh:pattern '[^DT]*'^^xsd:string. |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape . ?shapeUrl sh:pattern '[^DT]*'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:yearMonthDuration . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:DatatypeProperty, rdfs:range, xsd:dayTimeDuration |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a owl:DatatypeProperty ; rdfs:range xsd:dayTimeDuration . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[^YM]*(T.*)?'^^xsd:string. |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:pattern '[^YM]*(T.*)?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:dayTimeDuration . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
rdfs:Datatype, rdfs:range, xsd:dayTimeDuration |
sh:PropertyShape, sh:pattern |
String-based Constraints |
?property a rdfs:Datatype ; rdfs:range xsd:dayTimeDuration . OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } |
?shapeUrl a sh:PropertyShape ; sh:pattern '[^YM]*(T.*)?'^^xsd:string. |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape ; sh:pattern '[^YM]*(T.*)?'^^xsd:string. } WHERE { ?property a ?propertyType . VALUES ?propertyType {owl:DatatypeProperty rdfs:Datatype } OPTIONAL { ?property owl:withRestrictions ?restrictionsList . ?restrictionsList rdf:rest*/rdf:first ?restrictionElement . FILTER NOT EXISTS { ?restrictionElement xsd:pattern ?restrictionPattern . } } ?property rdfs:range xsd:dayTimeDuration . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Pattern restriction |
owl:Class, rdfs:Class, owl:equivalentClass, owl:allValuesFrom, owl:someValuesFrom, owl:onProperty, owl:unionOf, rdfs:subClassOf |
sh:NodeShape, sh:or, sh:class, sh:path |
Logical Constraint Constraints |
?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} .
?type ?typeRelationship ?owlRestrictionURI . VALUES ?typeRelationship { rdfs:subClassOf owl:equivalentClass } .
?owlRestrictionURI ?restrictionRelationship ?owlRestrictionRangeURI . VALUES ?restrictionRelationship { owl:allValuesFrom owl:someValuesFrom} . ?owlRestrictionURI owl:onProperty ?shPath .
?owlRestrictionRangeURI owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest . ?unionTypesListRest rdf:first ?unionTypesListHead . ?unionTypesListRest rdf:rest ?unionTypesListTail . BIND ( IF ( ?unionTypesListHead != rdf:nil && !isBlank(?unionTypesListHead), URI(CONCAT(STR(?unionTypesListHead),'')), ?unionTypesListHead ) AS ?unionTypesListHeadShape ) BIND ( IF ( ?unionTypesListTail != rdf:nil && !isBlank(?unionTypesListTail), URI(CONCAT(STR(?unionTypesListTail),'')), ?unionTypesListTail ) AS ?unionTypesListTailShape ) FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . |
?shapeUrl a sh:NodeShape; sh:or ?unionTypesList . ?unionTypesListRest rdf:first [ sh:path ?shPath ; sh:class ?unionTypesListHeadShape ]; rdf:rest ?unionTypesListTailShape . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:NodeShape; sh:or ?unionTypesList . ?unionTypesListRest rdf:first [ sh:path ?shPath ; sh:class ?unionTypesListHeadShape ]; rdf:rest ?unionTypesListTailShape . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} .
?type ?typeRelationship ?owlRestrictionURI . VALUES ?typeRelationship { rdfs:subClassOf owl:equivalentClass } .
?owlRestrictionURI ?restrictionRelationship ?owlRestrictionRangeURI . VALUES ?restrictionRelationship { owl:allValuesFrom owl:someValuesFrom} . ?owlRestrictionURI owl:onProperty ?shPath .
?owlRestrictionRangeURI owl:unionOf ?unionTypesList . ?unionTypesList rdf:rest* ?unionTypesListRest . ?unionTypesListRest rdf:first ?unionTypesListHead . ?unionTypesListRest rdf:rest ?unionTypesListTail . BIND ( IF ( ?unionTypesListHead != rdf:nil && !isBlank(?unionTypesListHead), URI(CONCAT(STR(?unionTypesListHead),'')), ?unionTypesListHead ) AS ?unionTypesListHeadShape ) BIND ( IF ( ?unionTypesListTail != rdf:nil && !isBlank(?unionTypesListTail), URI(CONCAT(STR(?unionTypesListTail),'')), ?unionTypesListTail ) AS ?unionTypesListTailShape ) FILTER (!isBlank(?type)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Disjoint object Property definition |
owl:ObjectProperty, owl:DatatypeProperty, owl:propertyDisjointWith |
sh:PropertyShape, sh:disjoint |
Value Type Constraints |
?property a owl:ObjectProperty . ?property owl:propertyDisjointWith ?disjoinedProperty . |
?shapeUrl a sh:PropertyShape; sh:disjoint ?disjoinedProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:disjoint ?disjoinedProperty . } WHERE { ?property a ?propertyType . VALUES ?propertyType { owl:ObjectProperty owl:DatatypeProperty } ?property owl:propertyDisjointWith ?disjoinedProperty . FILTER (!isBlank(?property) && !isBlank(?disjoinedProperty)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |
Object Property definition |
owl:ObjectProperty, owl:DatatypeProperty, owl:propertyDisjointWith, owl:unionOf |
sh:PropertyShape, sh:disjoint |
Value Type Constraints |
?property a owl:ObjectProperty . ?property owl:propertyDisjointWith ?disjoinedProperty . |
?shapeUrl a sh:PropertyShape; sh:disjoint ?disjoinedProperty . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX afn: <http://jena.apache.org/ARQ/function#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:disjoint ?disjoinedPropertiesListHead . } WHERE { ?property a owl:AllDisjointProperties . ?property owl:members ?disjoinedPropertiesList . ?disjoinedPropertiesList rdf:rest* ?disjoinedPropertiesListRest . ?disjoinedPropertiesListRest rdf:first ?disjoinedPropertiesListHead . ?disjoinedPropertiesListRest rdf:rest ?disjoinedPropertiesListTail . FILTER (isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(afn:bnode(?property)))) AS ?shapeUrl) . } |
Equivalent classes |
rdfs:Class,owl:Class, owl:equivalentClass, owl:unionOf |
sh:NodeShape, sh:targetClass |
Property Pair Constraints |
?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:equivalentClass ?rangedEquivalentClasses . ?rangedEquivalentClasses rdf:type owl:Class . ?rangedEquivalentClasses owl:unionOf ?equivalentClassesList . ?equivalentClassesList rdf:rest* ?equivalentClassesListRest . ?equivalentClassesListRest rdf:first ?equivalentClassesListHead . ?equivalentClassesListRest rdf:rest ?equivalentClassesListTail . |
?shapeUrl a sh:NodeShape ; sh:targetClass ?equivalentClassesListHead . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX sh: <http://www.w3.org/ns/shacl#>
CONSTRUCT { ?shapeUrl a sh:NodeShape ; sh:targetClass ?equivalentClassesListHead . } WHERE { ?type a ?typeClassUrl . VALUES ?typeClassUrl {owl:Class rdfs:Class} . ?type owl:equivalentClass ?rangedEquivalentClasses . ?rangedEquivalentClasses a owl:Class . ?rangedEquivalentClasses owl:unionOf ?equivalentClassesList . ?equivalentClassesList rdf:rest* ?equivalentClassesListRest . ?equivalentClassesListRest rdf:first ?equivalentClassesListHead . ?equivalentClassesListRest rdf:rest ?equivalentClassesListTail .
FILTER( !isBlank(?type) && isBlank(?rangedEquivalentClasses)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?type)))) AS ?shapeUrl) . } |
Disjoint object Property definition |
owl:DatatypeProperty |
sh:PropertyShape, sh:path |
Value Type Constraints |
?property a owl:ObjectProperty . |
?shapeUrl a sh:PropertyShape; sh:path ?property . |
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
CONSTRUCT { ?shapeUrl a sh:PropertyShape; sh:path ?property .
} WHERE { ?property a owl:DatatypeProperty . FILTER (!isBlank(?property)) . BIND(URI(CONCAT('https://astrea.linkeddata.es/shapes#',MD5(STR(?property)))) AS ?shapeUrl) . } |