fadmaa / rdf-faceted-browser Goto Github PK
View Code? Open in Web Editor NEWa faceted browser on top of RDF data available through SPARQL endpoints that support COUNT/GROUP BY queries
License: MIT License
a faceted browser on top of RDF data available through SPARQL endpoints that support COUNT/GROUP BY queries
License: MIT License
The blog post mentions that the code uses BSD-licensed code but does not specify the license of the github code. Also no hint seems to be given there (guess I need to know before I even start looking at the code).
Is it possible to have the UI separate from the webarchive?
I'm working on an app in Go and would love to embed the faceted UI into that app and have it call back to the java app server for the data/updates.
Is this possible?
Hello,
I am trying to use glassfish server to run your application. I keep getting this error though when trying to load data.
Thanks,
RC
[#|2012-05-22T17:04:07.508-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=32;_ThreadName=Thread-2;|Exception in thread "org.deri.rdf.browser.facet.RdfListFacet@a4e90b5" |#]
[#|2012-05-22T17:04:07.508-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=32;_ThreadName=Thread-2;|HttpException: HttpException: 400 Bad Request: HttpException: 400 Bad Request
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:350)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:189)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:144)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:141)
at org.deri.rdf.browser.sparql.QueryEngine.execSparql(QueryEngine.java:215)
at org.deri.rdf.browser.sparql.QueryEngine.getPropertiesWithCount(QueryEngine.java:89)
at org.deri.rdf.browser.facet.RdfListFacet.computeChoices(RdfListFacet.java:89)
at org.deri.rdf.browser.model.FacetChoiceComputer.run(FacetChoiceComputer.java:28)
at java.lang.Thread.run(Thread.java:679)
Caused by: HttpException: 400 Bad Request
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:299)
... 8 more
|#]
[#|2012-05-22T17:04:07.615-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=33;_ThreadName=Thread-2;|Exception in thread "org.deri.rdf.browser.facet.RdfListFacet@271aec5c" |#]
[#|2012-05-22T17:04:07.616-0400|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=33;_ThreadName=Thread-2;|HttpException: HttpException: 400 Bad Request: HttpException: 400 Bad Request
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:350)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:189)
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:144)
at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:141)
at org.deri.rdf.browser.sparql.QueryEngine.execSparql(QueryEngine.java:215)
at org.deri.rdf.browser.sparql.QueryEngine.getPropertiesWithCount(QueryEngine.java:89)
at org.deri.rdf.browser.facet.RdfListFacet.computeChoices(RdfListFacet.java:89)
at org.deri.rdf.browser.model.FacetChoiceComputer.run(FacetChoiceComputer.java:28)
at java.lang.Thread.run(Thread.java:679)
Caused by: HttpException: 400 Bad Request
at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:299)
... 8 more
|#]
suggested by Richard
Getting
Uncaught TypeError: Cannot read property 'endpoint_url' of null rdf-browsing-engine.js:210
It read the configuration.json file in, but is not parsing or passing it along?
my config file
{
endpoint_url: "http://data.oceandrilling.org/sparql",
main_resource_selector: "?x a http://data.oceandrilling.org/core/1/taxa ",
namespaces: [
[
"dcat",
"http://www.w3.org/ns/dcat#"
],
[
"rdf",
"http://www.w3.org/2000/01/rdf-schema# "
],
[
"dct",
"http://purl.org/dc/terms/"
]
],
template: "
Getting:
Exception in thread "org.deri.rdf.browser.facet.RdfListFacet@12c108d" com.hp.hpl.jena.query.QueryParseException: Encountered " ")" ") "" at line 1, column 262.
Was expecting one of:
...
with configs
http://data.oceandrilling.org/facet/facets.json
and
http://data.oceandrilling.org/facet/configuration.json
at server http://data.oceandrilling.org/facet/
Not sure why.. this is against Virtuoso 6.0 (not SPARQL 1.1... SPARQL 1.0 but with COUNT and GROUP BY ability)
is it me?
currently am doing a SELECT ?x ?p ?o WHERE { ?x ?p ?o. ?x a type}
many of the ?p ?o are not needed. at least make the query configurable and better build it smartly :-) based on the resource presentation template set in configuration.json
suggested by Richard
Is there a way to specify a particular named graph to work against or is always against the entire triple store?
Hello:
I am kinda confused how the main_resource_selector is to be used. We are using virtuoso.
In your examples the endpoint_url and the main_resource_selector are at different URLs.
In my case they are at the same location. In other words "endpoint_url":"http://host.company.com:8890/sparql"
stores my RDF. Though RDF is for the semantic web we are NOT publishing our data to the web, it is strictly within
the RDF triplestore.
I am new to this so maybe I am overlooking something very simple.
Thanks
Brian
I am having issues with the template line.
If I try and use multiple lines in the template entry either with just returns or with \ at the end of line I can't seem to get it to work.
Is there a way to have the template entry span multiple lines to make creating more interesting templates easier to do.
thanks!
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.
narrow down using a list facet, then choose a range that matches zero records ==> the other facets contain no options
correct behavior: other facets still show choices with the selected one has zero matching but the other options matching the range selected
The generated SPARQL query returns empty results
affecting performance... waiting s much as the slowest facet takes to compute
suggested by Richard
export the visible data in RDF.. i.e. slice&dice using the facets then export only the filtered data
Hi,
Using the environment with the supplied bbc settings (as they are) as configuration.json and facets.json.
When opening the app, I get a 'working' page forever.
Doing the query (SELECT ?x WHERE {?x a http://dbpedia.org/ontology/Artist .}) from a REST client environment, returns results in an acceptable timeframe.
What am I missing?
Paul
suggested by Richard
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.