Is there a way to always force single objects to arrays with EasyRdf?
If there are multiple values as rdf:type I get an array like this one. Note the @type property is an array.
{
"@context": {
"ethon": "http://ethon.consensys.net/",
…
I'm trying to run the sample code from the EasyRDF library with Apache Jena Fuseki, but the following error occurs when entering data into the database:
Fatal error: Uncaught exception 'EasyRdf_Exception' with message 'HTTP
request for
http://…
I recently started working with Knowledge Graphs and RDFs, and I was fortunate enough that someone provided me with an introductory excercise, which helped me implement some basic functionalities on a local Apache server using Php and EasyRdf. My…
I want to store the rdf data that i have created using Easy/Rdf lib from php,
i used this :
$store = new \EasyRdf\GraphStore('http://192.168.1.35:9999/blazegraph/');
$store->replace($graph);
but it gives me an error :
HTTP method PUT is not…
My school project is to create a Frontend ( html+javascript with ajax calls) connected to a PHP backend that is connected to NodeJs json-server ( https://www.npmjs.com/package/json-server)
The issue I have is on my backend where I use EasyRDF PHP…
I am working on a personal project using PHP and RDF4J Workbench Service and I have a repository with 3 contexts, one for robot categories, one for those robots that belongs to these categories and another one in which I store the owl:sameAs…
I´m new to the rdf and the easyrdf framework stuff. And we currently creating a small poc to see if it´s fit our needs.
We want to transform a given RDF file or data for example formatted in rdf/xml to our class object.
I already registered…
I'm new to fuseki and want to use 2 TDB datasets for our project : a small one for our own data, and a large one (168 M triples, imported data from http://data.bnf.fr).
We need to index the data because SPARQL queries using "FILTER(CONTAINS())"…
How can I parse RDF content (in the Turtle serialization) using EasyRDF? For instance, something like this:
$rdf = ' "object0"@en .' ;
$rdf .= "\n" ;
$rdf .= ' "object1"@en .' ;
$array =…
I have an remote RDF file from where I want to fetch some data. It is on remote server and the example data is working 100% fine, but soon I parse my file it starts giving the error.
I am using Easy RDF library.
Here is the example they are…
I'm trying to extract RDFa data from an html page using EasyRDF. But it doesn't seem to work. E.g., I've tried:
$work = new EasyRdf_Graph("http://example.com/");
$work->load();
echo $work;
$title = $work->primaryTopic();
echo "Title:…
I'm just starting to learn about the semantic web. can I perform CRUD operations using EasyRDF or other libraries?
previously I saw other libraries like Sparqllib in PHP. there is very simple and has no commands to create, update, delete