rdfs:comment"Gets the global range (rdfs:range) of a property. If none is provided, it will walk up super-properties."^^xsd:string;
rdfs:label"global range"^^xsd:string;
rdfs:subClassOfapp:Functions;
spin:body
[rdf:typesp:Select;
sp:resultVariables([sp:varName"range"^^xsd:string
]);
sp:where([rdf:typesp:TriplePath;
sp:object
[sp:varName"p"^^xsd:string
];
sp:path[rdf:typesp:ModPath;
sp:modMax-2;
sp:modMin0;
sp:subPathrdfs:subPropertyOf
];
sp:subject
[sp:varName"property"^^xsd:string
]
][sp:object
[sp:varName"range"^^xsd:string
];
sp:predicaterdfs:range;
sp:subject
[sp:varName"p"^^xsd:string
]
])
];
spin:constraint
[rdf:typespl:Argument;
rdfs:comment"The property to get the range of."^^xsd:string;
spl:predicatearg:property;
spl:valueTyperdf:Property
];
spin:returnTyperdfs:Class.
app:googleMapsAPIKey
rdf:typespin:Function;
rdfs:comment"Gets the currently registered Google Maps API key."^^xsd:string;
...
...
@@ -744,7 +782,7 @@ app:localRange
sp:where([rdf:typesp:Bind;
sp:expression
[rdf:typeapp:resourceType;
arg:subject
arg:resource
[sp:varName"subject"^^xsd:string
]
];
...
...
@@ -763,11 +801,6 @@ app:localRange
arg:property
[sp:varName"predicate"^^xsd:string
]
];
sp:arg3[rdf:typeapp:defaultRange;
arg:property
[sp:varName"predicate"^^xsd:string
]
]
];
sp:variable
...
...
@@ -821,7 +854,7 @@ app:localRange
app:localRangeAtClass
rdf:typespin:Function;
rdfs:comment"Checks (in that order) for declared owl:allValuesFrom restrictions in superclasses, rdfs:range at the property and then spl:valueType in SPIN constraints (spl:Argument and spl:Attribute)."^^xsd:string;
rdfs:comment"Checks (in that order) for declared owl:allValuesFrom restrictions in superclasses, rdfs:range at the property and then spl:valueType in SPIN constraints (spl:Argument and spl:Attribute). It falls back to app:defaultRange if nothing else is found."^^xsd:string;