fadmaa / RDF-faceted-browser

a faceted browser on top of RDF data available through SPARQL endpoints that support COUNT/GROUP BY queries
MIT License
36 stars 2 forks source link

HttpException: 406 Not Acceptable #19

Open bgeary opened 12 years ago

bgeary commented 12 years ago

Virtuoso Version: 06.01.3127 running on Centos 5.8 Browser is FF 12.0 App server is GlassFish Server Open Source Edition 3.1.2 (build 23)

I am trying to get your sample to work out of the box before I go about customizing to my ontology. However I keep getting 406 errors.

bgeary commented 12 years ago

configure.html has NOT been modified.

////////////////////////////////// configuration.json has been partially modified. ////////////////////////////////// { "endpoint_url": "http://hangover.org:8890/isparql", "graph":"http://data.example.com/test", "main_resource_selector": "a http://xmlns.com/foaf/0.1/Person ", "namespaces": [ [ "dcat", "http://www.w3.org/ns/dcat#" ], [ "rdf", "http://www.w3.org/2000/01/rdf-schema#" ] ], "template": "<div class=\"dataset-container\"><h2 class=\"dataset-title\" sparql_content=\"http://www.w3.org/2000/01/rdf-schema#label\"><div sparql_content=\"http://dbpedia.org/ontology/abstract\">

" }

fadmaa commented 12 years ago

Hi,

I am not familiar with Virtuoso, but I think the isparql is not the endpoint URL, could it be /sparql? endpoint_url should point to the SPARQL endpoint URL and not to the HTML interface to the endpoint. It should also be web accessible i.e. the URL should work in your browser

let me know if that helps!

bgeary commented 12 years ago

That appears to have solved the problem. Did not realize that Virtuoso has two end points. So now I have a front end. Is there anyone who might have some instructions on how to customize this. In other words an example on what changes to make? In addition does your application have a name?

Thanks

fadmaa commented 12 years ago

have a look at https://github.com/fadmaa/RDF-faceted-browser/tree/master/WebContent/other-config for a number of examples

you can copy the content of the config-xxx.json and facets-xxx.json to the fiels config.json and facets.json under WebContent... the BBC and DBpedia examples work against public endpoints so you can test them

fadmaa commented 12 years ago

regarding the name.. not really... I refer to it as "RDF Faceted browser" which is a description rather than a name :)

bgeary commented 12 years ago

Ok.. Just wanted to place a name to it. I prefer NOT to say "some guys web app". If I can think of a good name for it I will pass it along.

Thanks for the help.

Brian

Brian Geary Advanced Technical Computing Center, MITRE

bgeary@mitre.org 703-983-7526 Text page at 8773081449@skytel.com MITRE 2 bldg, office 2N745 M/S N210

-----Original Message----- From: Fadi Maali [mailto:reply@reply.github.com] Sent: Tuesday, May 22, 2012 12:47 PM To: Geary, Brian W. Subject: Re: [RDF-faceted-browser] HttpException: 406 Not Acceptable (#19)

regarding the name.. not really... I refer to it as "RDF Faceted browser" which is a description rather than a name :)


Reply to this email directly or view it on GitHub: https://github.com/fadmaa/RDF-faceted-browser/issues/19#issuecomment-5852184

fadmaa commented 12 years ago

Brian if you plan to have it deployed publicly I'd be very glad if you pass me a pointer to it

Regards, Fadi

bgeary commented 12 years ago

will do..

Brian Geary Advanced Technical Computing Center, MITRE

bgeary@mitre.org 703-983-7526 Text page at 8773081449@skytel.com MITRE 2 bldg, office 2N745 M/S N210

-----Original Message----- From: Fadi Maali [mailto:reply@reply.github.com] Sent: Tuesday, May 22, 2012 6:22 PM To: Geary, Brian W. Subject: Re: [RDF-faceted-browser] HttpException: 406 Not Acceptable (#19)

Brian if you plan to have it deployed publicly I'd be very glad if you pass me a pointer to it

Regards, Fadi


Reply to this email directly or view it on GitHub: https://github.com/fadmaa/RDF-faceted-browser/issues/19#issuecomment-5860644