800)) { header("HTTP/1.0 503 Service Unavailable"); print ' 503 System Busy

System Busy

Too many requests are being processed, please try again a little later.

'; exit; } /* ARC2 static class inclusion */ include_once('include/ARC2.php'); /* MySQL and endpoint configuration */ $config = array( /* db */ 'db_host' => 'localhost', /* optional, default is localhost */ 'db_name' => 'sparql', 'db_user' => 'sparql', 'db_pwd' => '58d9da1555cc2467b6bd134ae13761a9', /* store name */ 'store_name' => 'Muninn WW1 Sparql Store, data@muninn-project.org', 'store_name' => 'Muninn', /* endpoint */ 'endpoint_features' => array( 'select', 'construct', 'ask', 'describe', 'load', 'insert', 'delete', 'dump' /* dump is a special command for streaming SPOG export */ ), 'endpoint_timeout' => 60, /* not implemented in ARC2 preview */ 'endpoint_read_key' => '', /* optional */ 'endpoint_write_key' => '4w5y25y265y2y6', /* optional */ 'endpoint_max_limit' => 20000, /* optional */ ); /* instantiation */ $ep = ARC2::getStoreEndpoint($config); if (!empty($_POST)) { error_log("query " . $_POST["query"]); } if (!empty($_GET)) { $_GET["query"] = " PREFIX rdf: PREFIX owl: DESCRIBE ?s ?p ?f { ?s ?o ?p . ?o rdf:type owl:ObjectProperty . ?o2 rdf:type owl:ObjectProperty . ?p ?o2 ?f . FILTER (?s = \"" . urldecode($_GET["query"]) . "\") }"; error_log("query " . $_GET["query"]); }//if /* request handling */ // print 'Run up\n'; $ep->go(); ?>