Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge MLSea and LinkedPapersWithCode #15

Open
VladimirAlexiev opened this issue Dec 3, 2024 · 1 comment
Open

merge MLSea and LinkedPapersWithCode #15

VladimirAlexiev opened this issue Dec 3, 2024 · 1 comment

Comments

@VladimirAlexiev
Copy link

dtai-kg/MLSea-KGC#2 would be a major undertaking but with immense value :-)

@davidlamprecht
Copy link
Collaborator

davidlamprecht commented Jan 12, 2025

Hi @VladimirAlexiev ,
thank you for pointing out this opportunity to significant increase the interlinking within the scholarly LOD Cloud.

As a first step I linked publication, repository and dataset entities from Linked Papers With Code to the corresponding MLSea entities using owl:sameAs links.

In total there are now the following owl:sameAs triples in the linkedpaperswithcode database:

  • 442,742 owl:sameAs links between LPWC papers and MLSea Scientific Works.
  • 152,554 owl:sameAs links between LPWC repositories ans MLSea Software.
  • 8,887 owl:sameAs links between LPWC datasets and MLSea datasets.

All sameAs links are stored in the named graph https://linkedpaperswithcode.com/mlsealinks in the linkedpaperswithcode GraphDB repository.

Example owl:sameAs RDF triples:

  • paper link: <https://linkedpaperswithcode.com/paper/sticc-a-multivariate-spatial-clustering> <http://www.w3.org/2002/07/owl#sameAs> <http://w3id.org/mlsea/pwc/scientificWork/STICC%3A%20A%20multivariate%20spatial%20clustering%20method%20for%20repeated%20geographic%20pattern%20discovery%20with%20consideration%20of%20spatial%20contiguity> .
  • repository link: <https://linkedpaperswithcode.com/repository/github.com/ibm/multimodal-3d-image-segmentation> <http://www.w3.org/2002/07/owl#sameAs> <http://w3id.org/mlsea/pwc/software/3D%20Segmentation%20with%20Exponential%20Logarithmic%20Loss%20for%20Highly%20Unbalanced%20Object%20Sizes> .
  • dataset link: <https://linkedpaperswithcode.com/dataset/wiki-squirrel> <http://www.w3.org/2002/07/owl#sameAs> <http://w3id.org/mlsea/pwc/dataset/Wiki%20Squirrel> .

Example federated SPARQL Query for a paper executed over the LPWC SPARQL endpoint:

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX Service: <http://www.metaphacts.com/ontologies/platform/service/>
SELECT *
WHERE {
  GRAPH <https://linkedpaperswithcode.com/mlsealinks> {
    <https://linkedpaperswithcode.com/paper/sticc-a-multivariate-spatial-clustering> owl:sameAs ?mlsea_paper .
  }
  SERVICE <http://w3id.org/mlsea-kg>  {
    ?mlsea_paper ?predicate ?object .
  }
}

The code for creating the owl:sameAs link is available here: https://github.com/metaphacts/linkedpaperswithcode/tree/main/mlsea-linking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants