LinkedWiki
From Biowikifarm Metawiki
Issues
- make Linked wiki use rdfs reasoning with Allegrograph
-add into array "infer" => "rdfs++" in queryRead in SPARQL/Endpoint.php - wsparql must be in xxx=xxx format with no spaces, otherwise compains
e.g. endpoint=http:dbpedia.org - LinkedWiki does not support ASK queries, can be replaced by
SELECT (COUNT(*) AS ?count) - Linkedwiki has problem with maintainances, best so set a flag DO_MAINTENANCE and make Linkedwiki ignore certain parts.
if(!defined('DO_MAINTENANCE')){
$subject = $wgRequest->getRequestURL();
$pattern = '/\?.*(title=[^&]*).*$/';
if(preg_match($pattern, $subject) == 1){
$url = preg_replace($pattern, "?\${1}&action=purge",$subject) ;
}
else{
$url = $subject . "?action=purge";
}
}