Open dssib opened 2 weeks ago
I.e. having emi:Taxon and up:Taxon in the same named graph results in duplicate predicates. the final query will therefore be a random choice.
private static final String SKOS_SEMANTICRELATION_TAXON_QUERY = "SELECT ?object WHERE { GRAPH https://purl.org/otl-skos { ?id http://www.w3.org/2004/02/skos/core#semanticRelation ?object . ?object a http://purl.uniprot.org/core/Taxon}}";
private static final String SKOS_SEMANTICRELATION_TAXON_QUERY = "SELECT ?object WHERE { GRAPH https://purl.org/otl-skos { ?id http://www.w3.org/2004/02/skos/core#semanticRelation ?object . ?object a https://purl.org/emi#Taxon}}";
I.e. having emi:Taxon and up:Taxon in the same named graph results in duplicate predicates. the final query will therefore be a random choice.
private static final String SKOS_SEMANTICRELATION_TAXON_QUERY = "SELECT ?object WHERE { GRAPH https://purl.org/otl-skos { ?id http://www.w3.org/2004/02/skos/core#semanticRelation ?object . ?object a http://purl.uniprot.org/core/Taxon}}";
private static final String SKOS_SEMANTICRELATION_TAXON_QUERY = "SELECT ?object WHERE { GRAPH https://purl.org/otl-skos { ?id http://www.w3.org/2004/02/skos/core#semanticRelation ?object . ?object a https://purl.org/emi#Taxon}}";