Hi Rupert you have already given me the right answer. ClerezzaYard under a ManagedSite doesn't allow to make queries on remote rdf document. I need to upload the rdf doucument hosted at GraphName.
Thanks a lot Daniele 2014-10-18 17:24 GMT+02:00 Daniele Perlo <[email protected]>: Hi Daniele, Finally I found time to look into your issue ... What I have tested for both 0.12.1-SNAPSHOT and 1.0.0-SNAPSHOT versions is the following: * Created a ClerezzaYard * Created a ManagedSite on top of the ClerezzaYard * Imported the RDF for the DBPedia resourcehttp://dbpedia.org/resource/Valentino_Rossi by using curl -i -X PUT -H "Content-Type:application/rdf+xml" \ -T ~/Downloads/Valentino_Rossi.rdf \ "http://localhost:8080/entityhub/site/test/entity * used the SPARQL endpoint (user interface athttp://localhost:8080/sparql to query the context as configured as graph of the ClerezzaYard SELECT distinct ?p ?o WHERE { <http://dbpedia.org/resource/Valentino_Rossi> ?p ?o . } LIMIT 5 and I got the expected results. As an example a single result binding <result> <binding name="p"> <uri>http://purl.org/dc/terms/subject</uri> </binding> <binding name="o"> <uri>http://dbpedia.org/resource/Category:1979_births</uri> </binding> [...] Based on that SPARQL seams to work over ClerezzaYards. Can you please provide more information how you uploaded the data and how you executed the queries. best Rupert Thanks Rupert > > i have a 0.12.1-snapshot launcher now > but the problem is still there > > all queries on different ClerezzaYards give the same result > <?xml version="1.0" encoding="UTF-8" standalone="no"?> <sparql xmlns=" > http://www.w3.org/2005/sparql-results#"> <head/> <results/> </sparql> > using working named graph > > Also default > > PREFIX fise: <http://fise.iks-project.eu/ontology/> > PREFIX dc: <http://purl.org/dc/terms/> > SELECT distinct ?enhancement ?content ?engine ?extraction_time > WHERE { > ?enhancement a fise:Enhancement . > ?enhancement fise:extracted-from ?content . > ?enhancement dc:creator ?engine . > ?enhancement dc:created ?extraction_time . > } > ORDER BY DESC(?extraction_time) LIMIT 5 > > on > org.apache.stanbol.contenthub.enhancements > > give the same empty result > > > > > > 2014-10-18 12:38 GMT+02:00 Daniele Perlo <[email protected]>: > >> Hi, >> >> i'm using >> >> stanbol/launchers/full/target/org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT >> >> in case i need to update all, how to do that without lose my >> configurations and managed sites? >> >> >Hi Daniele, >> > >> >I will have a look. Can you please tell me what Stanbol version your >> >are using (0.12.0 release, 0.12.1-Snapshot or the 1.0.0-SNAPSHOT trunk >> >version). >> >> >It might be that the ClerezzaYard is also affected by [1] as its >> >> >depends on a GpWeightedTcProvider (similar as the Ontonet Component). >> >> >@reto: Would it be possible to remove the Stanbol specific /sparql >> >endpoint in trunk and replace it with a similar component directly >> >from Clerezza? >> > >> >best >> >Rupert >> >> >[1] https://issues.apache.org/jira/browse/STANBOL-1393 >> >> >> 2014-10-18 11:45 GMT+02:00 Daniele Perlo <[email protected]>: >> >>> i'm sorry about wrong typing, but that's only an example >>> >>> my endpoint it's at http://localhost:8080/sparql >>> >>> >>> and all well-formed query results are >>> >>> <?xml version="1.0" encoding="UTF-8" standalone="no"?> >>> <sparql xmlns="http://www.w3.org/2005/sparql-results#"> >>> <head/> >>> <results/> >>> </sparql> >>> >>> on different ClerezzaYards. :-( >>> >>> >>> >Typo ? mystanbolinstance/sparql <- replace m with n > >On Thu, Oct 16, >>> 2014 at 6:51 PM, Daniele Perlo <[email protected]> >wrote: > >> >>> hi all, >> >> i have a new, noobie, problem :-) >> >> i'm trying to >>> configure a ClerezzaYard Site with named graph >> >> >>> http://data.semanticweb.org/conference/dc/2010/complete >>> >> >> with a simple query like "select * where {?x ?y ?z}" at >> >>> mystambolinstance/sparql, and it produce >> >> <?xml version="1.0" >>> encoding="UTF-8" standalone="no"?> >> <sparql xmlns=" >>> http://www.w3.org/2005/sparql-results#"> >> <head/> >> <results/> >> >>> </sparql> >> >> but if i try the same query on another open sparql endpoint >>> on the >> same graph i have my >> resultshttp:// >> >>> data.semanticweb.org/snorql/?query=select+*+where+{%3Fx+%3Fy+%3Fz}&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete >>> <http://data.semanticweb.org/snorql/?query=select+*+where+%7B%3Fx+%3Fy+%3Fz%7D&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete> >>> >> >> >> So, >> i miss some configurations? >> >> >> -- >> ***** >> >> >>> *Perlo Daniele* >> >>> >>> >>> 2014-10-17 1:51 GMT+02:00 Daniele Perlo <[email protected]>: >>> >>>> hi all, >>>> >>>> i have a new, noobie, problem :-) >>>> >>>> i'm trying to configure a ClerezzaYard Site with named graph >>>> >>>> http://data.semanticweb.org/conference/dc/2010/complete >>>> >>>> with a simple query like "select * where {?x ?y ?z}" at >>>> mystambolinstance/sparql, and it produce >>>> >>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?> >>>> <sparql xmlns="http://www.w3.org/2005/sparql-results#"> >>>> <head/> >>>> <results/> >>>> </sparql> >>>> >>>> but if i try the same query on another open sparql endpoint on the same >>>> graph i have my >>>> resultshttp://data.semanticweb.org/snorql/?query=select+*+where+{%3Fx+%3Fy+%3Fz}&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete >>>> >>>> <http://data.semanticweb.org/snorql/?query=select+*+where+%7B%3Fx+%3Fy+%3Fz%7D&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete> >>>> >>>> >>>> So, >>>> i miss some configurations? >>>> >>>> >>>> -- >>>> ***** >>>> >>>> *Perlo Daniele* >>>> >>> >>> >>> >>> -- >>> ***** >>> >>> *Perlo Daniele* >>> >> >> >> >> -- >> ***** >> >> *Perlo Daniele* >> > > > > -- > ***** > > *Perlo Daniele* > -- ***** *Perlo Daniele*
