Property talk:P7007
Jump to navigation
Jump to search
Documentation
Wolfram Language unit code
input form for a unit of measurement in the Wolfram Language
input form for a unit of measurement in the Wolfram Language
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Unique value, SPARQL (every item), SPARQL (by value)
Type “unit of measurement (Q47574), individual quantity (Q71550118), unit prefix (Q15132612)”: item must contain property “instance of (P31)” with classes “unit of measurement (Q47574), individual quantity (Q71550118), unit prefix (Q15132612)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Type Q47574, Q71550118, Q15132612, SPARQL
Item “measured physical quantity (P111)”: Items with this property should also have “measured physical quantity (P111)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Item P111, search, SPARQL
Conflicts with “Wolfram Language quantity ID (P7431)”: this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Conflicts with P7431, search, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P7007#Entity types
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P7007#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P7007#Format, SPARQL
datatype[edit]
Shouldn't this have external-id datetype? It appears to uniquely identify units in that system. --- Jura 10:40, 27 July 2019 (UTC)
- I've been wondering that, too. If this were always just a string then I would tend to agree, but in general this can be an algebraic expression of strings with many valid ways to write them down. One could argue that once one agrees on a standard code formatting (I have used so far the InputForm[...] with a space inserted around "*" and "/") then those values should be unique identifiers. But then one could view this property - as its name suggests - as part of a family of "code" or "program" properties, just like Wolfram Language entity code (P4839) and some hypothetical "SPARQL code" (see also Wikidata SPARQL query equivalent (P3921)), "javascript code", ... which I would not consider identifiers because there are usually many ways to write any given "program". Toni 001 (talk) 12:58, 13 August 2019 (UTC)
- Wikidata SPARQL query equivalent (P3921) uses string as they dont need to be unique.
- Values for Wolfram Language unit code (P7007) should be normalized in one way or the other. --- Jura 08:51, 22 August 2019 (UTC)
- I just gave some more explanation about "code" on the Wolfram Language entity code (P4839) talk page, which applies here, too. Toni 001 (talk) 11:30, 2 October 2019 (UTC)
- Support Given that Wolfram Language entity code (P4839) will be changed to external ID I now think that the same can be done for this property. While identifying a unit, the expressions are still code, so I think the current name is good even if the type is changed to external ID. Toni 001 (talk) 17:47, 18 October 2019 (UTC)
- I just gave some more explanation about "code" on the Wolfram Language entity code (P4839) talk page, which applies here, too. Toni 001 (talk) 11:30, 2 October 2019 (UTC)
Categories:
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on type
- Properties with constraints on items using them
- Properties with conflicts with constraints
- Properties with scope constraints
- Properties with entity type constraints
- Properties with format constraints