I'm using D3 to draw node graphs of things from DBPedia, and since ontology:wikiPageWikiLink
comes up a lot, I've filtered it out using a simple FILTER
statement:
FILTER (?_predicate != <http://dbpedia.org/ontology/wikiPageWikiLink>)
And in the process, I've observed a noticeable increase in the query execution time when using that line.
So, is there more performant way to filter out the IRI?
If you want a triple where you don't care about what the predicate is (I'm guessing the _ prefix is "ignore me") except that it's not dbpedia-owl:wikiPageWikiLink, you could simply ask for that with the property path
?s !dbpedia-owl:wikiPageWikiLink ?o
Then you'd get just the results you want rather than getting more and filtering out what you don't want.