Skip to content

Commit

Permalink
lod2: fix nav a little
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrekle committed Jul 31, 2010
1 parent 65d2a59 commit 3728eae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Erfurt/Store.php
Expand Up @@ -1676,11 +1676,12 @@ private function _getTransitiveClosure($modelIri, $property, $startResources, $i
$subSparql = 'SELECT ?parent ?child
FROM <' . $modelIri . '>' . PHP_EOL . $from . '
WHERE {
' . $where . '
' . $where . ' OPTIONAL {?child <http://ns.ontowiki.net/SysOnt/order> ?order}
FILTER (
sameTerm(?parent, <' . implode('>) || sameTerm(?parent, <', $classes) . '>)
)
}';
}
ORDER BY ?order';

require_once 'Erfurt/Sparql/SimpleQuery.php';
$subSparql = Erfurt_Sparql_SimpleQuery::initWithString($subSparql);
Expand Down

0 comments on commit 3728eae

Please sign in to comment.