Property talk:P2118

Latest comment: 8 years ago by Tobias1984 in topic Temperature and pressure query

Documentation

kinematic viscosity
viscosity of a substance, with phase of matter (P515) and temperature (P2076) as qualifiers
[create Create a translatable help page (preferably in English) for this property to be included here]
Required qualifier “phase of matter (P515): this property should be used with the listed qualifier. (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/P2118#mandatory qualifier, SPARQL
Required qualifier “temperature (P2076): this property should be used with the listed qualifier. (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/P2118#mandatory qualifier, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P2118#Scope, hourly updated report, SPARQL
Citation needed: the property must have at least one reference (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/P2118#citation needed

Temperature and pressure query

edit

I wanted to take a look at all the statements we have for this property so far. But I still get duplicates and I don't know how to get the units in SPARQL:

SELECT ?item ?itemLabel ?value ?pressureValue ?tempValue
WHERE
{
    ?item wdt:P2118 ?value .
    ?valueStatement ps:P2118 ?any .
    wd:P2077 wikibase:qualifier ?pressureQual .
    ?valueStatement ?pressureQual ?pressureValue .
    wd:P2076 wikibase:qualifier ?tempQual .
    ?valueStatement ?tempQual ?tempValue .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en"  }   
}
Try it!

--Tobias1984 (talk) 13:08, 29 July 2016 (UTC)Reply

Return to "P2118" page.