equal
deleted
inserted
replaced
121 $newGraph->add($doc->doc, "http://purl.org/dc/terms/issued", $doc->issued); |
121 $newGraph->add($doc->doc, "http://purl.org/dc/terms/issued", $doc->issued); |
122 } |
122 } |
123 if(isset($doc->modified)) { |
123 if(isset($doc->modified)) { |
124 $newGraph->add($doc->doc, "http://purl.org/dc/terms/modified", $doc->modified); |
124 $newGraph->add($doc->doc, "http://purl.org/dc/terms/modified", $doc->modified); |
125 } |
125 } |
|
126 if(isset($doc->created)) { |
|
127 $newGraph->add($doc->doc, "http://purl.org/dc/terms/created", $doc->created); |
|
128 } |
126 if(isset($doc->publishers)) { |
129 if(isset($doc->publishers)) { |
127 $newGraph->add($doc->doc, "http://purl.org/dc/elements/1.1/publisher", $doc->publishers); |
130 $newGraph->add($doc->doc, "http://purl.org/dc/elements/1.1/publisher", $doc->publishers); |
128 } |
131 } |
129 if(isset($doc->extent)) { |
132 if(isset($doc->extent)) { |
130 $newGraph->add($doc->doc, "http://purl.org/dc/terms/extent", $doc->extent); |
133 $newGraph->add($doc->doc, "http://purl.org/dc/terms/extent", $doc->extent); |
222 |
225 |
223 } |
226 } |
224 |
227 |
225 |
228 |
226 $sparqlQuery = sprintf(self::BASE_DOC_QUERY.$sortClauseStr.$limitsClausesStr, $filterUris); |
229 $sparqlQuery = sprintf(self::BASE_DOC_QUERY.$sortClauseStr.$limitsClausesStr, $filterUris); |
|
230 |
|
231 Log::debug("SPARQL QUERY :"); |
|
232 Log::debug($sparqlQuery); |
227 |
233 |
228 $docs = $this->sparqlClient->query($sparqlQuery); |
234 $docs = $this->sparqlClient->query($sparqlQuery); |
229 |
235 |
230 foreach($docs as $doc) { |
236 foreach($docs as $doc) { |
231 $graph = $this->getResGraph($doc); |
237 $graph = $this->getResGraph($doc); |