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

Synchronize with Wikidata #25

Open
WolfgangFahl opened this issue Aug 13, 2022 · 7 comments
Open

Synchronize with Wikidata #25

WolfgangFahl opened this issue Aug 13, 2022 · 7 comments
Assignees

Comments

@WolfgangFahl
Copy link
Contributor

WolfgangFahl commented Aug 13, 2022

see sample cases for:

@WolfgangFahl
Copy link
Contributor Author

WolfgangFahl commented Aug 13, 2022

# 
# get CEUR-WS Proceedings records by Volume
# 
# WF 2022-08-13
#
# the Volume number P478 is sometimes available with the proceedings item and sometimes as a qualifier
# of 
#  
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX schema: <http://schema.org/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?itemDescription
  ?ceurwspart
  ?sVolume
  ?Volume
  ?short_name
  ?event
  ?eventLabel
  ?title
  ?language_of_work_or_name ?language_of_work_or_nameLabel
  ?URN_NBN ?URN_NBNUrl
  ?publication_date
  ?fullWorkUrl
  ?described_at_URL
  ?homePage

WHERE {
  ?item rdfs:label ?itemLabel.
  FILTER(LANG(?itemLabel) = "en")
  OPTIONAL { 
    ?item schema:description ?itemDescription.
    FILTER(LANG(?itemDescription) = "en")
  }

  # Instance of Proceedings
  ?item wdt:P31 wd:Q1143604.
  # Part of the series
  ?item p:P179 ?partOfTheSeries.
  # CEUR Workshop proceedings
  ?partOfTheSeries ps:P179 wd:Q27230297.
  
  # Volume directly with the proceeedings
  OPTIONAL {
    ?item wdt:P478 ?Volume.
  }
  # Volumes via a a qualifier of the part of the series relation
  OPTIONAL {
    ?partOfTheSeries pq:P478 ?sVolume.
  }
  # Acronym
  OPTIONAL {
    ?item wdt:P1813 ?short_name.
  }
  OPTIONAL {
    ?item wdt:P4745 ?event.
    ?event rdfs:label ?eventLabel.
    FILTER(LANG(?eventLabel) = "en")
  }
  # Title
  OPTIONAL {
    ?item wdt:P1476 ?title.
  }
  # Language
  OPTIONAL {
    ?item wdt:P407 ?language_of_work_or_name.
    ?language_of_work_or_name rdfs:label ?language_of_work_or_nameLabel.
    FILTER(LANG(?language_of_work_or_nameLabel) = "en")
  }
  # The URN shouldn't be optional
  OPTIONAL {
    ?item wdt:P4109 ?URN_NBN.
    wd:P4109 wdt:P1630 ?URN_NBNFormatterUrl.
    BIND(IRI(REPLACE(?URN_NBN, '^(.+)$', ?URN_NBNFormatterUrl)) AS ?URN_NBNUrl).
  }
  # publication date
  OPTIONAL {
    ?item wdt:P577 ?publication_date.
  }
  # full work available at
  OPTIONAL {
    ?item wdt:P953 ?fullWorkUrl
  } 
  # described at url
  OPTIONAL {
    ?item wdt:P973 ?described_at_URL.
  }
  # homepage -> replace with full work available at
  OPTIONAL {
    ?item wdt:P856 ?homePage
  }
} ORDER BY xsd:integer(?sVolume)

try it!

@fnielsen
Copy link

Excellent idea. I noted that down as an issue for Scholia WDscholia/scholia#1438 but if it is handle elsewhere we do not need to implement it in Scholia.

@fnielsen
Copy link

Would it also entails the metadata about the article?

@WolfgangFahl
Copy link
Contributor Author

WolfgangFahl commented Aug 15, 2022

We'll start with the proceedings then work thru the submitters and editors and papers.

The basic analysis work to collect as much metadata as possible has been done multiple times between 2014 and today but the results didn't have a permanent sink so far. That's why i want to put an emphasis on the synchronization issue with wikidata to give the metadata a permanent and LOD accessible home.

see:

@WolfgangFahl
Copy link
Contributor Author

WolfgangFahl commented Aug 15, 2022

see also CEUR-WS Volume Browser

@WolfgangFahl
Copy link
Contributor Author

WolfgangFahl commented Aug 15, 2022

I think the main issue will be the dblp author name disambiguation and synchronization since CEUR-WS editors have a dblp footprint by definition but not necessarily a wikidata entry yet. Is there a dblp synchronization issue in scholia and a matching tool available?

@fnielsen
Copy link

"Is there a dblp synchronization issue in scholia and a matching tool available?"

No. Not as far as I remember.

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

No branches or pull requests

2 participants