use of org.eclipse.rdf4j.common.net.ParsedURI in project timbuctoo by HuygensING.
the class LookUpSubjectByUriFetcherWrapper method get.
@Override
public Object get(DataFetchingEnvironment environment) {
final DatabaseResult source = environment.getSource();
ParsedURI baseUri = new ParsedURI(source.getDataSet().getMetadata().getBaseUri());
String uri = environment.getArgument(uriArgument);
return lookUpSubjectByUriFetcher.getItem(baseUri.resolve(uri).toString(), source.getDataSet());
}
Aggregations