Example #1
0
 function main()
 {
     self::initEndPoints();
     //print_r($rdf);
     echo 'IN MAIN sparqlEndpoint: ' . rdfConnector::sparqlEndpoint() . "\n";
     //res: '.var_dump($rdf[sparql]['headerTypes'])."\n";
 }
 public static function getPaths($pgrrUUIDArr)
 {
     try {
         $q = str_replace('<pgrrUUID_List>', self::arrToQuotedStr($pgrrUUIDArr), self::$get_filePaths_Q);
         echo 'Q: ' . $q . PHP_EOL;
         return rdfConnector::execQuery($q);
     } catch (Exception $e) {
         echo 'sampleSelection.getPaths: ', $e->getMessage(), "\n";
         throw new Exception('sampleSelection.getPaths: ', 0, $e);
     }
 }