PropertyRegister { public String setPropertyTypeFromStringValue( PropertyIdValue propertyIdValue, StringValue value) { String datatype = getPropertyType(propertyIdValue); if (datatype == null) { logger.warn("Could not fetch datatype of " + propertyIdValue.getIri() + ". Assuming type " + DatatypeIdValue.DT_STRING); return DatatypeIdValue.DT_STRING; } else { return datatype; } } PropertyRegister(String uriPatternPropertyId,
			ApiConnection apiConnection, String siteUri); static PropertyRegister getWikidataPropertyRegister(); String getUriPrefix(); String getPropertyType(PropertyIdValue propertyIdValue); void setPropertyType(PropertyIdValue propertyIdValue,
			String datatypeIri); String getPropertyUriPattern(PropertyIdValue propertyIdValue); String setPropertyTypeFromEntityIdValue(
			PropertyIdValue propertyIdValue, EntityIdValue value); String setPropertyTypeFromGlobeCoordinatesValue(
			PropertyIdValue propertyIdValue, GlobeCoordinatesValue value); String setPropertyTypeFromQuantityValue(
			PropertyIdValue propertyIdValue, QuantityValue value); String setPropertyTypeFromStringValue(
			PropertyIdValue propertyIdValue, StringValue value); String setPropertyTypeFromTimeValue(PropertyIdValue propertyIdValue,
			TimeValue value); String setPropertyTypeFromMonolingualTextValue(
			PropertyIdValue propertyIdValue, MonolingualTextValue value); void fetchUsingSPARQL(URI endpoint);  }
@Test public void testSetPropertyTypeFromStringValue() { assertEquals(this.propertyRegister.setPropertyTypeFromStringValue( dataObjectFactory.getPropertyIdValue("P434", this.siteIri), dataObjectFactory .getStringValue("http: "http: }
@Test public void testSetMissingPropertyTypeFromStringValue() { assertEquals(this.propertyRegister.setPropertyTypeFromStringValue( dataObjectFactory.getPropertyIdValue("P10", this.siteIri), dataObjectFactory .getStringValue("http: "http: }