Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Wikidata Scholarly Classifier

A lightweight Go library for classifying Wikidata entities as scholarly or non-scholarly based on Wikidata statements.

The logic follows the WDQS scholarly graph split rules.

Rules

An entity is considered scholarly if:

  • It has a non-deprecated publication type of scholarly work (P13046), or
  • It has a non-deprecated instance of (P31) whose value is a known scholarly type.

Usage

import "github.com/wikimedia/wikidata-scholarly-classifier/scholarly"

if scholarly.IsScholarly(entity) {
    // handle scholarly entity
}

About

Reusable Go library for classifying Wikidata entities as scholarly or non-scholarly based on Wikidata statements, following WDQS scholarly graph split rules.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages