This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace your\namespace\here; | |
spl_autoload_register(function($class) { | |
if (stripos($class, __NAMESPACE__) === 0) | |
{ | |
@include(__DIR__ . DIRECTORY_SEPARATOR . 'classes' . str_replace('\\', DIRECTORY_SEPARATOR, strtolower(substr($class, strlen(__NAMESPACE__)))) . '.php'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sample scripts for using the VIVO SPARQL Update API in PHP, Python. | |
https://wiki.duraspace.org/display/VIVO/The+SPARQL+Update+API |