easyrdf

SPARQL query of Person using EasyRdf on DBpedia

白昼怎懂夜的黑 提交于 2019-12-12 06:14:28
问题 I want to get all information about a Person from the DBpedia SPARQL API. First problem is, the request took too long time. Second, I don't get back any information about the person I looked for. I don't know what I am doing wrong? My Code: require_once "EasyRdf.php"; require_once "html_tag_helpers.php"; // Setup some additional prefixes for DBpedia EasyRdf_Namespace::set('category', 'http://dbpedia.org/resource/Category:'); EasyRdf_Namespace::set('dbpedia', 'http://dbpedia.org/resource/');

Fuseki config for 2 datasets + text index : how to use turtle files?

…衆ロ難τιáo~ 提交于 2019-12-08 06:09:20
问题 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())" don't work on the large dataset ("BnF_text"). Therefore, I've built a text index for "BnF_text", following this post : Fuseki indexed (Lucene) text search returns no results (but I had to modify the turtle config file to get the text:query working). It