data-quality/queries/inconsistent-range-usage

inconsistent-range-usage

By Data Quality
Created
8 months ago
Modified
8 months ago
Versions
1
Dataset
academy / pokemon
Service
https://api.triplydb.com/datasets/academy/pokemon/services/pokemon/sparql

Data quality aspect

There is sometimes an inconsistency between the defined range for properties (rdfs:range) and the object terms that are used with those properties in the data.

Implementation

This query identifies the use of properties in the data ([ ?p ?o].) and identifies the classes of the corresponding object terms. These classes can either be asserted through rdf:type for IRIs, or be part of the term itself (extracted with datatype/1) for literals. rdfs:Resource is used as a fallback if no class is specified in the data.

Related

  • The same consistency check can be done for domains: query
Version: 1

API variables

https://api.triplydb.com/queries/data-quality/inconsistent-range-usage/run

Documentation

Getting startedAPI referenceJavascript ClientYasgui

Triply

AboutContact usGeneral termsPrivacy policy
info@triply.cc
© 2021 Triply B.V. All rights reserved.