Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vehnem authored Aug 13, 2019
1 parent b11abdd commit d74247f
Showing 1 changed file with 48 additions and 2 deletions.
50 changes: 48 additions & 2 deletions factual-consensus-finder/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
# TODO
# Usage
# FactualConsensusFinder

Prefusion([FlexiFusion](https://svn.aksw.org/papers/2019/ISWC_FlexiFusion/public.pdf)) based viewer for possible inconsensus in Wikipedia, Wikidata and "Your Data".

## Usage

> Prerequisites [node.js & npm](https://nodejs.org/en/)
(e.g Debian/Ubunutu `sudo apt-get install nodejs`)

Install project dependencies with

```
npm install
```

Change application configuration in `config.js`

```
module.exports = {
expose_port: "9005",
mongo_url: "mongodb://readonly:[email protected]:8989/prefusion",
database_name: "prefusion",
collection: "provenance",
id_management: "https://global.dbpedia.org/same-thing/lookup/?uri=",
default_subject: "https://global.dbpedia.org/id/4KKSo",
default_predicate: "http://www.w3.org/2000/01/rdf-schema#label"
//DEPRECATED
preference: "wikidata.dbpedia.org,en.dbpedia.org,de.dbpedia.org,fr.dbpedia.org,nl.dbpedia.org,sv.dbpedia.org",
};
```

Run

```
bin/www.js
```

and then visit [9005](http://localhost:9005)


## Routing

| Route | Params | Description |
|---|---|---|
| / | ?s=IRI <br> ?p=IRI | Lookup subject predicate pair |
| /raw | ?s=IRI <br> ?p=IRI | Same as / but returns JSON |
| /label | ?s=IRI | Get rdfs:label for Resource |

0 comments on commit d74247f

Please sign in to comment.