GithubHelp home page GithubHelp logo

waldyrious / entityshape Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teester/entityshape

0.0 1.0 0.0 151 KB

An api to compare a wikidata item with an entityschema

License: GNU General Public License v3.0

JavaScript 21.94% Python 77.83% HTML 0.23%

entityshape's Introduction

entityshape

An api to compare a wikidata item with an entityschema

This api is available at http://entityshape.toolforge.org/api. The api requires 3 parameters to return a result as follows:

  1. language: e.g. en the language to return property names in
  2. entity: e.g. Q42 the wikidata entity to check
  3. entityschema: e.g. E14 the entityschema to check against

The api returns a json object containing the following:

  1. error: details of any error which may have occurred
  2. schema: the entityschema checked against
  3. name: the display name of the entityschema
  4. validity: the validity of the schema (currently unused)
  5. properties: a json object describing the validity of each property in the entity
  6. statements: a json object describing the validity of each statement in the entity

This repository also contains the source code for the user script at https://www.wikidata.org/w/User:Teester/EntityShape.js which allow use of this api on wikidata entity pages

entityshape's People

Contributors

teester avatar

Watchers

 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.