1. I can't see any image 2. what are words in an RDF context? Note, there are RDF graphs, triples, resource, literals - but no "word"
As I said, if your data contains rdfs:label values, use them. If not, use SPARQL string operations to "extract" something that you want from the URIs > The image I have attached is the result of my php code. Is there > anything that can be done in the query to just display the words > without the IRIs? > > On Fri, Jun 2, 2017 at 1:27 PM, Lorenz B. > <[email protected] > <mailto:[email protected]>> wrote: > > Not clear what you want, provide an example please. I don't want > to run > your PHP code...and I don't have your Fuseki server + your data. > > Note, RDF resources are identified by URIs, if you want something > different, it's your task to do it in the SPARQL query. > > Either, > > a) select something like the rdfs:label if exist (this is by the way > best pratice to provide a human-readable form) or > b) SPARQL String hacks on the URIs, see examples on Stackoverflow > > Lornez > > > Hey > > > > I'm using xampp and fuseki server to run my sparql query on a > webpage > > and give results. I have attached my php file here. > > > > I am getting the correct results but I want the output to be > like the > > way it comes on fuseki server. I want just the words without the > IRIs. > > > > Is there any possible way to do that? > > -- > Lorenz Bühmann > AKSW group, University of Leipzig > Group: http://aksw.org - semantic web research center > > -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center
