Skip to content

buda-base/entity-scorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BUDA Entity Scorer

This is a simple Python script to create entity scores for entities. It walks the work, person and place repositories, which must be cloned locally.

See this Google Doc for more about the idea.

Test

Searching for sgam po pa results in 16 results (P898, P5575, P1844, P2577, P354, P834, P958, P1854, P1857, P5809, P2GS984), but we expect that P1844 will have the highest score.

Use

Change the GITDIRS variable, run

python3 entity-score.py

then upload with:

curl -X PUT -H Content-Type:text/turtle -T entityScores.ttl -G http://buda1.bdrc.io:13180/fuseki/corerw/data --data-urlencode 'graph=http://purl.bdrc.io/graph/entityScores'

About

script to create a graph with entity scores

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages