Hi Andy,

Thanks for the hint. However, I can't see how this data structure could be 
used/extended to provide *dataset-specific* queries, as in e.g. 
http://zbw.eu/beta/sparql/stw or http://zbw.eu/beta/sparql/gnd. 

Could you imagine to supplement the generic queries with additional custom 
queries loaded from a file referenced in config.ttl (opitonally, of course)?

Something like

<#someDataset>  rdf:type ja:RDFDataset ;
    skos:example <file:examples/someDataset.js>" .

(with someDataset.js  in the same syntax as qonsole-config.js).

Cheers, Joachim

-----Ursprüngliche Nachricht-----
Von: Andy Seaborne [mailto:a...@apache.org] 
Gesendet: Donnerstag, 21. Mai 2015 00:05
An: users@jena.apache.org
Betreff: Re: Fuseki2 - how to customize example queries?

On 20/05/15 09:07, Neubert, Joachim wrote:
> Congrats to the Fuseki2 interface - it's really fun to explore!
>
> The generic example queries (Selection of triples, Selection of classes) can 
> help giving users an idea about a dataset. They could be amended however with 
> custom, dataset-specific queries (and prefixes relevant for that dataset).
>
> Is there a way to do this?

They are in the file:

webapp/js/app/qonsole-config.js

If you are using the standalone jar: webapp is in the FUSEKI_HOME area

If you are using the war, you'll need to unpack the war and change it.

        Andy

>
> Cheers, Joachim
>
>
>

Reply via email to