Skip to content

Missing triples: qudt:isScalingOf, qudt:prefix, qudt:conversionMulitiplier #547

Open
@fkleedorfer

Description

@fkleedorfer

The following is all based on the 2.1.19 data. Units and prefixes data is enough.

A few triples are missing. Using this query reveals them (result in missingTriples.txt). Most of the results of this query are missing one or two triples - possibly not all of them, because some units are speical cases.

PREFIX qudt: <http://qudt.org/schema/qudt/>

SELECT * where
{
    ?unit a qudt:Unit.
    optional {
        ?unit qudt:isScalingOf ?base .
    }
    optional {
        ?unit qudt:prefix ?prefix .
    }
    optional {
        ?unit qudt:conversionMultiplier ?conversionMultiplier .
    }
    filter(!contains(str(?unit), "-"))
    filter(regex(str(?unit), "(.+/Atto.+|.+/Centi.+|.+/Deca.+|.+/Deci.+|.+/Deka.+|.+/Exa.+|.+/Exbi.+|.+/Femto.+|.+/Gibi.+|.+/Giga.+|.+/Hecto.+|.+/Kibi.+|.+/Kilo.+|.+/Mebi.+|.+/Mega.+|.+/Micro.+|.+/Milli.+|.+/Nano.+|.+/Pebi.+|.+/Peta.+|.+/Pico.+|.+/Tebi.+|.+/Tera.+|.+/Yobi.+|.+/Yocto.+|.+/Yotta.+|.+/Zebi.+|.+/Zepto.+|.+/Zetta.+)"))
    filter(!bound(?base) || !bound (?prefix) || ! bound (?conversionMultiplier))
} order by ?prefix ?base ?unit ?conversionMultiplier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions