qudt:applicableUnit

URI: http://qudt.org/schema/qudt/applicableUnit

Type
Description

A magic property that returns all units that are "appropriate" to a given QuantityKind, found by examining the incoming qudt:hasQuantityKind property for the provided QuantityKind. If there are none found, recurse up the skos:broader relation until such a QuantityKind is found. Example use: quantitykind:Power qudt:applicableUnit ?unit .

Properties
spin:body
SELECT DISTINCT ?unit
WHERE {
    {
        ?unit qudt:hasQuantityKind ?arg1 .
        ?unit a qudt:Unit .
    }
    UNION
    {
        NOT EXISTS {
            ?unit qudt:hasQuantityKind ?arg1 .
            ?unit a qudt:Unit .
        } .
        ?arg1 skos:broader ?parent1 .
        ?parent1 qudt:applicableUnit ?unit .
    } .
}
spin:constraint
spl:Argument("The QuantityKind instance", sp:arg1, qudt:QuantityKind)
Annotations
rdfs:comment
A magic property that returns all units that are "appropriate" to a given QuantityKind, found by examining the incoming qudt:hasQuantityKind property for the provided QuantityKind. If there are none found, recurse up the skos:broader relation until such a QuantityKind is found. Example use: quantitykind:Power qudt:applicableUnit ?unit .
rdfs:label
applicable unit
applicable units for a QuantityKind instance
View as:  CSV

Work in progress

RDF/XML
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:j.0="http://spinrdf.org/spin#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="http://qudt.org/schema/qudt/applicableUnit">
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spin#MagicProperties"/>
    <j.0:returnType rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
    <rdfs:range rdf:resource="http://qudt.org/schema/qudt/Unit"/>
    <rdf:type rdf:resource="http://spinrdf.org/spin#MagicProperty"/>
    <rdfs:comment>A magic property that returns all units that are "appropriate" to a given QuantityKind, found by examining the incoming qudt:hasQuantityKind property for the provided QuantityKind. If there are none found, recurse up the skos:broader relation until such a QuantityKind is found.

Example use:
quantitykind:Power qudt:applicableUnit ?unit . </rdfs:comment>
    <j.0:constraint rdf:nodeID="A0"/>
    <rdfs:isDefinedBy rdf:resource="http://qudt.org/2.1/schema/qudt"/>
    <j.0:body rdf:nodeID="A1"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdfs:label>applicable units for a QuantityKind instance</rdfs:label>
    <rdfs:label>applicable unit</rdfs:label>
  </rdf:Description>
</rdf:RDF>
TURTLE
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://qudt.org/schema/qudt/applicableUnit>
  rdf:type <http://spinrdf.org/spin#MagicProperty> ;
  rdf:type owl:ObjectProperty ;
  <http://spinrdf.org/spin#body> [] ;
  <http://spinrdf.org/spin#constraint> [] ;
  <http://spinrdf.org/spin#returnType> rdfs:Class ;
  rdfs:comment """A magic property that returns all units that are \"appropriate\" to a given QuantityKind, found by examining the incoming qudt:hasQuantityKind property for the provided QuantityKind. If there are none found, recurse up the skos:broader relation until such a QuantityKind is found.

Example use:
quantitykind:Power qudt:applicableUnit ?unit . """ ;
  rdfs:isDefinedBy <http://qudt.org/2.1/schema/qudt> ;
  rdfs:label "applicable unit" ;
  rdfs:label "applicable units for a QuantityKind instance" ;
  rdfs:range <http://qudt.org/schema/qudt/Unit> ;
  rdfs:subClassOf <http://spinrdf.org/spin#MagicProperties> ;
.
JSON
{"resource":"applicable unit" 
 ,"qname":"qudt:applicableUnit" 
 ,"uri":"http:\/\/qudt.org\/schema\/qudt\/applicableUnit" 
 ,"properties":["body":null 
    ,"comment":"A magic property that returns all units that are \"appropriate\" to a given QuantityKind, found by examining the incoming qudt:hasQuantityKind property for the provided QuantityKind. If there are none found, recurse up the skos:broader relation until such a QuantityKind is found.\n\nExample use:\nquantitykind:Power qudt:applicableUnit ?unit . " 
    ,"constraint":null 
    ,"isDefinedBy":"&lt;http:\/\/qudt.org\/2.1\/schema\/qudt&gt;" 
    ,"label":"applicable unit" 
    ,"label":"applicable units for a QuantityKind instance" 
    ,"range":"qudt:Unit" 
    ,"return type":"rdfs:Class" 
    ,"subClassOf":"spin:MagicProperties" 
    ,"type":"spin:MagicProperty" 
    ,"type":"owl:ObjectProperty" 
    ]}
JSON-LD
{
  "@id" : "http://qudt.org/schema/qudt/applicableUnit",
  "@type" : [ "http://spinrdf.org/spin#MagicProperty", "owl:ObjectProperty" ],
  "body" : "_:b1",
  "constraint" : "_:b0",
  "returnType" : "rdfs:Class",
  "comment" : "A magic property that returns all units that are \"appropriate\" to a given QuantityKind, found by examining the incoming qudt:hasQuantityKind property for the provided QuantityKind. If there are none found, recurse up the skos:broader relation until such a QuantityKind is found.\n\nExample use:\nquantitykind:Power qudt:applicableUnit ?unit . ",
  "isDefinedBy" : "http://qudt.org/2.1/schema/qudt",
  "label" : [ "applicable units for a QuantityKind instance", "applicable unit" ],
  "range" : "http://qudt.org/schema/qudt/Unit",
  "subClassOf" : "http://spinrdf.org/spin#MagicProperties",
  "@context" : {
    "subClassOf" : {
      "@id" : "http://www.w3.org/2000/01/rdf-schema#subClassOf",
      "@type" : "@id"
    },
    "returnType" : {
      "@id" : "http://spinrdf.org/spin#returnType",
      "@type" : "@id"
    },
    "range" : {
      "@id" : "http://www.w3.org/2000/01/rdf-schema#range",
      "@type" : "@id"
    },
    "comment" : {
      "@id" : "http://www.w3.org/2000/01/rdf-schema#comment"
    },
    "constraint" : {
      "@id" : "http://spinrdf.org/spin#constraint",
      "@type" : "@id"
    },
    "isDefinedBy" : {
      "@id" : "http://www.w3.org/2000/01/rdf-schema#isDefinedBy",
      "@type" : "@id"
    },
    "body" : {
      "@id" : "http://spinrdf.org/spin#body",
      "@type" : "@id"
    },
    "label" : {
      "@id" : "http://www.w3.org/2000/01/rdf-schema#label"
    },
    "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "owl" : "http://www.w3.org/2002/07/owl#",
    "xsd" : "http://www.w3.org/2001/XMLSchema#",
    "rdfs" : "http://www.w3.org/2000/01/rdf-schema#"
  }
}

Generated 2021-09-16T15:40:14.249-07:00 by lmdoc version 1.1 with  TopBraid SPARQL Web Pages (SWP)