Skip to content

Instantly share code, notes, and snippets.

@agazzarini
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agazzarini/80a1005193e10ecf75d1 to your computer and use it in GitHub Desktop.
Save agazzarini/80a1005193e10ecf75d1 to your computer and use it in GitHub Desktop.
result.union(
new LeafPatternDocSet(
query.clauses().isEmpty()
? second
: searcher.getDocSet(query, second),
wrap(second.getTriplePattern()),
binding.isTopLevel()
? binding
: binding.getParent(),
query));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment