query-ced626ab5432243a236ad76e9e5ecb6a

rq turtle/ttl

The allowed units constraint and unit dimensionHello. lists units allowed for a quantity-valued property and notifies an editor if a statement was entered using a unit not in that list. If the editor sees the notification then there are two possible things to do: Add the unit to the list of allowed units or consider using (or proposing) a different property. (Q21514353)allowed units constraint The . (Q3023293)specific energy , then you should rather find a different property - one that expresses (Q57175225)joule per kilogram , and you want to enter a value given in (Q83327)electronvolt and (Q25269)joule units, say, (Q11379)energy - they can be converted into each other and values expressed in those units can be compared. Now, for our quantity-valued properties we should try to allow only compatible units. An example: If a property initially allowed compatible. When two units express quantities with the same dimension then those units are called (P4020)ISQ dimension ), and those can be expressed in the same unit. All quantities related to a unit in this way have something in common: They have the same value for (Q36253)length being a subclass of (Q173817)radius . This list need not be exhaustive - there might be subclasses of any of those quantities (like (P111)measured physical quantity , is used to express a variety of quantities, indicated by (Q56023789)joule per metre To help editors in deciding what to do I'll give a quick explanation: A unit, say, I recently did a survey of properties and found 25 which violated that principle. Some were easy or slightly difficult to fix, now we are down to 17. Here are the remaining ones:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select distinct ?prop ?propLabel where {
  ?prop wikibase:propertyType wikibase:Quantity .
  ?prop p:P2302 [
    ps:P2302 wd:Q21514353 ;
    pq:P2305 / wdt:P111 / wdt:P4020 ?dim1 ;
    pq:P2305 / wdt:P111 / wdt:P4020 ?dim2 ;
  ] .
  filter (! sameTerm(?dim1, ?dim2))
  service wikibase:label { bd:serviceParam wikibase:language "en" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?dim1") v2("?dim2") v3("?prop"):::projected a1((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) c10(["bd:serviceParam"]):::iri c4(["wd:Q21514353"]):::iri c2(["wikibase:Quantity"]):::iri c12(["en"]):::literal f0[["not sameterm(?dim1,?dim2)"]] f0 --> v1 f0 --> v2 v3 --"wikibase:propertyType"--> c2 a1 --"p:statement/P2302"--> c4 a1 --"p:qualifier/P2305"--> a2 a2 --"p:direct/P111"--> a3 a3 --"p:direct/P4020"--> v1 a1 --"p:qualifier/P2305"--> a4 a4 --"p:direct/P111"--> a5 a5 --"p:direct/P4020"--> v2 v3 --"p:P2302"--> a1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end