server/src/app/Console/Commands/ImportCocoonRDF.php
changeset 513 dad9471f0d63
parent 508 2cb514f10a72
child 518 4864076bf0e3
equal deleted inserted replaced
512:cf4653cf88f2 513:dad9471f0d63
   304             }
   304             }
   305             $progressBar->setMessage("finished raw import");
   305             $progressBar->setMessage("finished raw import");
   306             $progressBar->finish();
   306             $progressBar->finish();
   307         }
   307         }
   308 
   308 
   309         // $collectionDocsUris = $this->gs_raw->query("SELECT distinct ?uri WHERE {
       
   310         //     GRAPH ?uri {
       
   311         //         ?s ?p ?o.
       
   312         //         ?s <http://purl.org/dc/elements/1.1/type> <http://purl.org/dc/dcmitype/Collection>.
       
   313         //         FILTER(?o IN (<http://purl.org/dc/dcmitype/Sound>, <http://purl.org/dc/dcmitype/MovingImage>))
       
   314         //     }
       
   315         // }");
       
   316 
       
   317         if($clear) {
   309         if($clear) {
   318             $this->gs->clear("all");
   310             $this->gs->clear("all");
   319         }
   311         }
   320 
   312 
   321         $collectionDocsUris = $this->gs_raw->query("SELECT distinct ?uri WHERE {
   313         $collectionDocsUris = $this->gs_raw->query("SELECT distinct ?uri WHERE {