use of org.wikidata.query.rdf.common.uri.FederatedUrisScheme in project wikidata-query-rdf by wikimedia.
the class FederatedUrisSchemeUnitTest method initURIs.
@Before
public void initURIs() throws URISyntaxException {
final URI commonsUrl = new URI("http://acme.commons/something");
final URI wikidataUrl = new URI("http://acme.test/prefix");
DefaultUrisScheme sdcUris = new DefaultUrisScheme(commonsUrl, SDC_ENTITY_PREFIX, SDC_ENTITY_DATA_PREFIX, singletonList(MEDIAINFO_INITIAL));
DefaultUrisScheme wikibaseUris = new DefaultUrisScheme(wikidataUrl, WIKIBASE_ENTITY_PREFIX, WIKIBASE_ENTITY_DATA_PREFIX, WIKIBASE_INITIALS);
uris = new FederatedUrisScheme(sdcUris, wikibaseUris);
}
Aggregations