2017 © Pedro PelĂĄez
 

library easyspinrdf

SPIN implementation using the awsome EasyRdf

image

conjecto/easyspinrdf

SPIN implementation using the awsome EasyRdf

  • Wednesday, January 8, 2014
  • by bdecarne
  • Repository
  • 8 Watchers
  • 7 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

EasySpinRdf

SPIN SPARQL Syntax implementation using the awesome EasyRdf., (*1)

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., (*2)

Build Status, (*3)

Example

Take this RDF graph in ttl :, (*4)

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 :, (*5)

EasySpinRdf_Utils::setTypeMappers();
$graph = new EasyRdf_Graph("http://conjecto.com/queries.ttl");
$graph->load();
echo $graph->get("my:query")->getSparql();

Result :, (*6)

ASK WHERE {
    ?this my:age ?age .
    FILTER (?age < 18) .
}

Todo

The Versions

08/01 2014

dev-sparql_parser

dev-sparql_parser

SPIN implementation using the awsome EasyRdf

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

27/12 2013

dev-master

9999999-dev

SPIN implementation using the awsome EasyRdf

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

11/03 2013

0.1.0-beta.1

0.1.0.0-beta1

SPIN implementation using the awsome EasyRdf

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires