public static String getPropertyUri ( PropertyIdValue propertyIdValue , PropertyContext propertyContext ) { switch ( propertyContext ) { case DIRECT : return PREFIX_PROPERTY_DIRECT + propertyIdValue . getId ( ) ; case STATEMENT : return PREFIX_PROPERTY + propertyIdValue . getId ( ) ; case VALUE_SIMPLE : return PREFIX_PROPERTY_STATEMENT + propertyIdValue . getId ( ) ; case VALUE : return PREFIX_PROPERTY_STATEMENT_VALUE + propertyIdValue . getId ( ) ; case QUALIFIER : return PREFIX_PROPERTY_QUALIFIER_VALUE + propertyIdValue . getId ( ) ; case QUALIFIER_SIMPLE : return PREFIX_PROPERTY_QUALIFIER + propertyIdValue . getId ( ) ; case REFERENCE : return PREFIX_PROPERTY_REFERENCE_VALUE + propertyIdValue . getId ( ) ; case REFERENCE_SIMPLE : return PREFIX_PROPERTY_REFERENCE + propertyIdValue . getId ( ) ; case NO_VALUE : return PREFIX_WIKIDATA_NO_VALUE + propertyIdValue . getId ( ) ; case NO_QUALIFIER_VALUE : return PREFIX_WIKIDATA_NO_QUALIFIER_VALUE + propertyIdValue . getId ( ) ; default : return null ; } }
Get the URI for the given property in the given context .