Skip to content

Commit

Permalink
extended FIXME comments to refer to the corresponding three bug repor…
Browse files Browse the repository at this point in the history
  • Loading branch information
Olaf Hartig committed Dec 25, 2015
1 parent a66e354 commit 7c5db60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ protected LinkedDataFragment createFragment(
// FIXME: The following algorithm is incorrect for cases in which
// the requested triple pattern contains a specific variable
// multiple times (e.g., ?x foaf:knows ?x ).
// see https://github.com/LinkedDataFragments/Server.Java/issues/23

// look up the result from the HDT datasource)
int subjectId = subject.isVariable() ? 0 : dictionary.getIntID(subject.asTerm().asNode(), TripleComponentRole.SUBJECT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ protected LinkedDataFragment createFragment(
// FIXME: The following algorithm is incorrect for cases in which
// the requested triple pattern contains a specific variable
// multiple times (e.g., ?x foaf:knows ?x ).
// see https://github.com/LinkedDataFragments/Server.Java/issues/25

final Resource subject = s.isVariable() ? null
: s.asTerm().asResource();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ protected LinkedDataFragment createFragment(
// FIXME: The following algorithm is incorrect for cases in which
// the requested triple pattern contains a specific variable
// multiple times (e.g., ?x foaf:knows ?x ).
// see https://github.com/LinkedDataFragments/Server.Java/issues/24

Model model = tdb.getDefaultModel();
QuerySolutionMap map = new QuerySolutionMap();
Expand Down

0 comments on commit 7c5db60

Please sign in to comment.