Code Monkey home page Code Monkey logo

wikidata-evaluation-based-on-ontologies's Introduction

An evaluation of the Wikidata platform based on ontologies

Some SPARQL queries and Python scripts I've written during my undergraduate research (Scientific Initiation) in 2020-2021.

Running scripts does not require any external libraries except for graphviz (as stated in requirements.txt) if you want to generate graphs with scripts/identify_taxonomic_trees.py. Stardog is only required for labels to be added to the ranking and to find subclasses before generating graphs, so it is possible to generate rankings without it, but labels for entities will be missing. Stardog was used to query local Wikidata dump and stardog is required to be set on your PATH variable. It is also required having a Stardog server up and running (stardog-admin server start) for queries to be served. These scripts were only tested and executed on Linux distributions (especifically, Linux Mint 20) and may not work on other operating systems.

Directory structure

queries/: .sparql files for queries;

    queries/results: queries results;

    queries/other: old/unused .sparql files;


scripts/: scripts that manipulate queries results, etc;

    queries/output: scripts outputs;

        queries/output/dots: graphs produced with graphviz;

        queries/output/ranking: rankings for AP1 and AP2;

    queries/other: old/unused files.

wikidata-evaluation-based-on-ontologies's People

Contributors

atilioa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.