PropertyRegister { public String getPropertyUriPattern(PropertyIdValue propertyIdValue) { if (!this.datatypes.containsKey(propertyIdValue.getId())) { fetchPropertyInformation(propertyIdValue); } return this.uriPatterns.get(propertyIdValue.getId()); } 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 testFetchPropertyUriPattern() { PropertyIdValue pid = this.dataObjectFactory.getPropertyIdValue("P434", this.siteIri); assertEquals("http: this.propertyRegister.getPropertyUriPattern(pid)); assertEquals("http: this.propertyRegister.getPropertyUriPattern(pid)); assertEquals(50, this.propertyRegister.smallestUnfetchedPropertyIdNumber); assertTrue(this.propertyRegister.datatypes.containsKey("P434")); }
@Test public void testFetchPropertyUriPatternExternalID() { PropertyIdValue pid = this.dataObjectFactory.getPropertyIdValue("P508", this.siteIri); assertEquals("http: this.propertyRegister.getPropertyUriPattern(pid)); }