http://spinrdf.org/spl#instanceOf
Class spl:instanceOf


spin:body
ASK WHERE {
{
FILTER isURI(?arg1) http://www.fadyart.com/parties#.
?class rdfs:subClassOf* ?arg2 http://www.fadyart.com/parties#.
?arg1 a ?class http://www.fadyart.com/parties#.
}
UNION
{
FILTER isLiteral(?arg1) http://www.fadyart.com/parties#.
LET (?datatype http://www.fadyart.com/parties#= datatype(?arg1)) http://www.fadyart.com/parties#.
FILTER (?datatype = ?arg2) http://www.fadyart.com/parties#.
} http://www.fadyart.com/parties#.
}
spin:constraint
Argument arg1 http://www.fadyart.com/parties# Resource
Argument arg2 http://www.fadyart.com/parties# rdfs:Class
spin:label template
{?arg1} instance of {?arg2}
spin:return type
xsd:boolean
rdf:type
spin:Function
rdfs:comment
Checks whether a given resource (?arg1) has a given type (?arg2). In order to fulfill this condition, there must either be a triple ?arg1 rdf:type ?arg2, or ?instance rdf:type ?subClass where ?subClass is a subclass of ?arg2. If the first argument is a literal, then the second argument must be the matching XSD datatype.
rdfs:label
instanceOf
rdfs:subClassOf
spl:Logical functions

Generated with TopBraid Composer by TopQuadrant, Inc.