Download the PHP package conjecto/easyspinrdf without Composer
On this page you can find all versions of the php package conjecto/easyspinrdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download conjecto/easyspinrdf
More information about conjecto/easyspinrdf
Files in conjecto/easyspinrdf
Download conjecto/easyspinrdf
More information about conjecto/easyspinrdf
Files in conjecto/easyspinrdf
Vendor conjecto
Package easyspinrdf
Short Description SPIN implementation using the awsome EasyRdf
License BSD-3-Clause
Package easyspinrdf
Short Description SPIN implementation using the awsome EasyRdf
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package easyspinrdf
EasySpinRdf
SPIN SPARQL Syntax implementation using the awesome EasyRdf.
SPIN SPARQL Syntax is a machine-readable notation of SPARQL in RDF format. This EasyRdf extension convert SPIN RDF data structures into valid SPARQL query strings.
Example
Take this RDF graph in ttl :
my:query
a sp:Ask ;
sp:where (
[ sp:object sp:_age ;
sp:predicate my:age ;
sp:subject spin:_this
] [ a sp:Filter ;
sp:expression
[ sp:arg1 sp:_age ;
sp:arg2 18 ;
a sp:lt
]
] )
]
Get the corresponding SPARQL Query with EasyRdf and EasySpinRdf :
EasySpinRdf_Utils::setTypeMappers();
$graph = new EasyRdf_Graph("http://conjecto.com/queries.ttl");
$graph->load();
echo $graph->get("my:query")->getSparql();
Result :
ASK WHERE {
?this my:age ?age .
FILTER (?age < 18) .
}
Links
- EasyRdf Homepage
- Source Code: http://github.com/njh/easyspinrdf
- Issue Tracker: http://github.com/njh/easyspinrdf/issues
- Conjecto Homepage
Todo
- Reverse engineering
- SPIN Modeling Vocabulary support
All versions of easyspinrdf with dependencies
PHP Build Version
Package Version
The package conjecto/easyspinrdf contains the following files
Loading the files please wait ....