qudt:applicableUnit

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

Type
Description

See https://github.com/qudt/qudt-public-repo/wiki/Advanced-User-Guide#4-computing-applicable-units-for-a-quantitykind on how `qudt:applicableUnit` is computed from `qudt:hasQuantityKind` and then materialized

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 .
dcterms:description
See https://github.com/qudt/qudt-public-repo/wiki/Advanced-User-Guide#4-computing-applicable-units-for-a-quantitykind on how `qudt:applicableUnit` is computed from `qudt:hasQuantityKind` and then materialized
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:j.0="http://purl.org/dc/terms/"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:j.1="http://spinrdf.org/spin#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="http://qudt.org/schema/qudt/applicableUnit">
    <j.1:body rdf:nodeID="A0"/>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spin#MagicProperties"/>
    <j.1: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.1:constraint rdf:nodeID="A1"/>
    <j.0:description rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML">See https://github.com/qudt/qudt-public-repo/wiki/Advanced-User-Guide#4-computing-applicable-units-for-a-quantitykind on how `qudt:applicableUnit` is computed from `qudt:hasQuantityKind` and then materialized</j.0:description>
    <rdfs:isDefinedBy rdf:resource="http://qudt.org/2.1/schema/qudt"/>
    <rdfs:isDefinedBy rdf:resource="http://qudt.org/2.1/schema/shacl/qudt"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
    <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 rdf:Property ;
  rdf:type owl:ObjectProperty ;
  <http://purl.org/dc/terms/description> "See https://github.com/qudt/qudt-public-repo/wiki/Advanced-User-Guide#4-computing-applicable-units-for-a-quantitykind on how `qudt:applicableUnit` is computed from `qudt:hasQuantityKind` and then materialized"^^rdf:HTML ;
  <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:isDefinedBy <http://qudt.org/2.1/schema/shacl/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 
    ,"description":"See https:\/\/github.com\/qudt\/qudt-public-repo\/wiki\/Advanced-User-Guide#4-computing-applicable-units-for-a-quantitykind on how `qudt:applicableUnit` is computed from `qudt:hasQuantityKind` and then materialized" 
    ,"isDefinedBy":"&lt;http:\/\/qudt.org\/2.1\/schema\/qudt&gt;" 
    ,"isDefinedBy":"&lt;http:\/\/qudt.org\/2.1\/schema\/shacl\/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":"rdf:Property" 
    ,"type":"owl:ObjectProperty" 
    ]}
JSON-LD
{
  "@id" : "http://qudt.org/schema/qudt/applicableUnit",
  "@type" : [ "http://spinrdf.org/spin#MagicProperty", "owl:ObjectProperty", "rdf:Property" ],
  "description" : "See https://github.com/qudt/qudt-public-repo/wiki/Advanced-User-Guide#4-computing-applicable-units-for-a-quantitykind on how `qudt:applicableUnit` is computed from `qudt:hasQuantityKind` and then materialized",
  "body" : "_:b0",
  "constraint" : "_:b1",
  "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", "http://qudt.org/2.1/schema/shacl/qudt" ],
  "label" : [ "applicable units for a QuantityKind instance", "applicable unit" ],
  "range" : "http://qudt.org/schema/qudt/Unit",
  "subClassOf" : "http://spinrdf.org/spin#MagicProperties",
  "@context" : {
    "body" : {
      "@id" : "http://spinrdf.org/spin#body",
      "@type" : "@id"
    },
    "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"
    },
    "description" : {
      "@id" : "http://purl.org/dc/terms/description",
      "@type" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML"
    },
    "isDefinedBy" : {
      "@id" : "http://www.w3.org/2000/01/rdf-schema#isDefinedBy",
      "@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 2024-09-27T07:14:22.994-04:00 by lmdoc version 1.1 with  TopBraid SPARQL Web Pages (SWP)