Closed fnielsen closed 7 months ago
see also the API of http://ceurspt.wikidata.dbis.rwth-aachen.de/docs and http://ceurspt.wikidata.dbis.rwth-aachen.de/Vol-3559/paper-1.qs
# created by /home/wf/.local/lib/python3.10/site-packages/ceurspt/ceurws.py
CREATE
# P31 :instance of Q13442814:scholarly article
LAST|P31|Q13442814
# P1433: published in
LAST|P1433|None
# english label
LAST|Len|"Location Query Answering Using Box Embeddings"
# english description
LAST|Den|"scientific paper published in CEUR-WS Volume 3559"
# P1476:title
LAST|P1476|en:"Location Query Answering Using Box Embeddings"
# P407 :language of work or name Q1860:English
LAST|P407|Q1860
# P953 :full work available at URL
LAST|P953|"https://ceur-ws.org/Vol-3559/paper-1.pdf"
# P577 :publication date
LAST|P577|+2023-11-21T00:00:00Z/11
# P2093: author name string, P1545: series ordinal
LAST|P2093|"Eleni Tsalapati"|P1545|"1"
# P2093: author name string, P1545: series ordinal
LAST|P2093|"Markos Iliakis"|P1545|"2"
# P2093: author name string, P1545: series ordinal
LAST|P2093|"Manolis Koubarakis"|P1545|"3"
for how we hope to add papers - indeed i'd prefer to use the wikibase-cli json approach: http://ceurspt.wikidata.dbis.rwth-aachen.de/Vol-3559/paper-1.wbjson
{
"labels": {
"en": "Location Query Answering Using Box Embeddings"
},
"descriptions": {
"en": "scientific paper published in CEUR-WS Volume 3559"
},
"claims": {
"P31": "Q13442814",
"P1433": null,
"P1476": {
"text": "Location Query Answering Using Box Embeddings",
"language": "en"
},
"P407": "Q1860",
"P953": "https://ceur-ws.org/Vol-3559/paper-1.pdf",
"P50": [],
"P2093": [{
"value": "Eleni Tsalapati",
"qualifiers": {
"P1545": "1"
}
}, {
"value": "Markos Iliakis",
"qualifiers": {
"P1545": "2"
}
}, {
"value": "Manolis Koubarakis",
"qualifiers": {
"P1545": "3"
}
}]
}
}
Describe the bug CEURWS scraper raise and error in models for paper_to_q when scraping the proceedings
To Reproduce Steps to reproduce the behavior:
python -m scholia.scrape.ceurws proceedings-url-to-quickstatements https://ceur-ws.org/Vol-3559/
Expected behavior Quickstatements should be generated or an appropriate error reported.