- Notifications
You must be signed in to change notification settings - Fork7
Drill-down interface for Wikibase installations.
License
NotificationsYou must be signed in to change notification settings
sahajk21/Anvesha
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Drill-down browser for any installation of Wikibase, including Wikidata.
The project can be directly cloned usinggit and ran on any server.
https://github.com/sahajsk21/Anvesha.git
Create a config.js file in the root("/") folder. Following parameters can be set in this file:-
- SITE_NAME : The title of the website. Takes a string value as input.
- PREFERRED_LANGUAGES : An array of language symbols to set the default languages for the website.
- RESULTS_PER_PAGE : Maximum number of results to be displayed on a page. Takes an integer value as input.
- FAVICON : Path for setting the favicon image. Enter the path as a string value.
- LOGO : Path for setting the logo image. Enter the path as a string value.
- SUGGESTED_CLASSES : Class suggestions to be displayed on the homepage. Takes an array of string values of item IDs (prefixed with Q).
- SPARQL_ENDPOINT : URL input as a string value for the Wikibase instance to be used to fetch data.
- INSTANCE_OF_PID : Property ID forinstance of property. Takes a string value as input.
- PROPERTIES_FOR_THIS_TYPE_PID : Property ID forproperties for this type property. Takes a string value as input.
- LINKS_IN_TOPNAV : Links to be added in the top navbar of the website. Takes an object as input with key-value pairs where the key represents the label and value represents the path.
Example :
SITE_NAME="Anvesha"PREFERRED_LANGUAGES=["en","fr"]RESULTS_PER_PAGE=50FAVICON="images/favicon.png"LOGO="images/logo.png"SUGGESTED_CLASSES=["Q5","Q515","Q523","Q4022","Q7366","Q7397","Q7889","Q8502","Q11303","Q11424","Q16521","Q43229","Q178561","Q188784","Q215380","Q746549","Q3305213","Q4830453","Q5398426","Q7725634","Q15632617"]SPARQL_ENDPOINT="https://query.wikidata.org/sparql?query="INSTANCE_OF_PID="P31"PROPERTIES_FOR_THIS_TYPE_PID="P1963"LINKS_IN_TOPNAV={"Source":"https://github.com/sahajsk21/Anvesha",}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
About
Drill-down interface for Wikibase installations.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors5
Uh oh!
There was an error while loading.Please reload this page.