Closed StroemPhi closed 3 years ago
YML produced using the above code.
duration:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
gnd:
label: Date of conference or event
uri: https://d-nb.info/standards/elementset/gnd#dateOfConferenceOrEvent
wikidata:
label: duration
uri: https://www.wikidata.org/wiki/Property:P2047
end_date:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
openresearch:
label: End_date
uri: https://www.openresearch.org/wiki/Property:End_date
wikidata:
label: end_time
uri: https://www.wikidata.org/wiki/Property:P582
is_about:
domain: http://purl.obolibrary.org/obo/BFO_0000015
maps_to:
gnd:
label: Topic that is related to a corporate body, conference, person, family,
subject heading or work.
uri: https://d-nb.info/standards/elementset/gnd#topic
openresearch:
label: Field
uri: https://www.openresearch.org/wiki/Property:Field
wikidata:
label: main_subjectLabel
uri: https://www.wikidata.org/wiki/Property:P921
occurs_in_city:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
gnd:
label: Place of conference or event
uri: https://d-nb.info/standards/elementset/gnd#placeOfConferenceOrEvent
openresearch:
label: Has_location_city
uri: https://www.openresearch.org/wiki/Property:Has_location_city
wikidata:
label: locationLabel
uri: https://www.wikidata.org/wiki/Property:P276
occurs_in_country:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
openresearch:
label: Has_location_country
uri: https://www.openresearch.org/wiki/Property:Has_location_country
wikidata:
label: countryLabel
uri: https://www.wikidata.org/wiki/Property:P17
occurs_in_state:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
openresearch:
label: Has_location_state
uri: https://www.openresearch.org/wiki/Property:Has_location_state
wikidata:
label: located_in_the_administrative_territorial_entityLabel
uri: https://www.wikidata.org/wiki/Property:P131
part_of_series:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
openresearch:
label: Event_in_series
uri: https://www.openresearch.org/wiki/Property:Event_in_series
wikidata:
label: part_of_the_seriesLabel
uri: https://www.wikidata.org/wiki/Property:P179
process_acronym:
domain: http://purl.obolibrary.org/obo/BFO_0000015
maps_to:
gnd:
label: Abbreviated name for the conference or event
uri: https://d-nb.info/standards/elementset/gnd#abbreviatedNameForTheConferenceOrEvent
openresearch:
label: Acronym
uri: https://www.openresearch.org/wiki/Property:Acronym
wikidata:
label: short_nameLabel
uri: https://www.wikidata.org/wiki/Property:P1813
process_alternative_name:
domain: http://purl.obolibrary.org/obo/BFO_0000015
maps_to:
gnd:
label: Variant name for the conference or event
uri: https://d-nb.info/standards/elementset/gnd#variantNameForTheConferenceOrEvent
process_name:
domain: http://purl.obolibrary.org/obo/BFO_0000015
maps_to:
gnd:
label: Preferred name for the conference or event
uri: https://d-nb.info/standards/elementset/gnd#preferredNameForTheConferenceOrEvent
openresearch:
label: Title
uri: https://www.openresearch.org/wiki/Property:Title
wikidata:
label: itemLabel
uri: null
process_website:
domain: http://purl.obolibrary.org/obo/BFO_0000015
maps_to:
openresearch:
label: Homepage
uri: https://www.openresearch.org/wiki/Property:Homepage
wikidata:
label: official_website
uri: https://www.wikidata.org/wiki/Property:P856
start_date:
domain: https://github.com/tibonto/aeon#AEON_0000001
maps_to:
openresearch:
label: Start_date
uri: https://www.openresearch.org/wiki/Property:Start_date
wikidata:
label: start_time
uri: https://www.wikidata.org/wiki/Property:P580
@andrecastro0o can you give me your feedback, if the keys of this YML are ok for you?
Although thinking about it, you can make the YML in your script anyway you like. So I rephrase my question and ask, if the keys in the JSON dict are sufficient in your eyes.
@StroemPhi the Wikidata property seem good. There is a awkward one, but which is correct, due to the fact that the itemLabel var is not extracted from a property's value but from the label of the wikidata Qnumber of the subject.
process_name:
....
wikidata:
label: itemLabel
uri: null
Are the all the same which we had under the aeon:WikidataLabel
and aeon:WikidataURI
properties, right?
I would like to test the resulting yaml in the wikidata import events scripts, but will only be able to do it after Friday.
But it looks good to .
Ahh one more thing aeon:WikidataLabel
& aeon:URI
are still in the ttl.
https://github.com/tibonto/aeon/blob/43cde57978a442bdd8659d87d16d6f833d758445/aeon.ttl#L1240
Perhaps a good way to check is to make a search for them and see if all those that have aeon:WikidataLabel
& aeon:URI
now have aeon:AEON_0000026
. And if so delete the wikidata props
@andrecastro0o wrt your first point. Yes this seemed awkward to me yesterday also (same with has_WDQID --> label: itemID), but I took it from aeon:WikidataLabel
and aeon:WikidataURI
, as you rightly assumed. I guess, we should discuss this in more detail later.
Wrt the second point: thanks for the hint, wanted to use this as well to check if, I've got everything while at the same time practice my SPARQL and rdflib skillz.
@andrecastro0o I've added also the still missing other Wikidata mappings previously described with aeon:WikidataURI
& aeon:WikidataLabel
. I will purge the latter two annotation properties from aeon, once you give me the go after your testing.
I'll do Crossref next. Hopefully tonight.
@andrecastro0o wrt the Crossref mapping, I used the JSON keys in line with Svantje's script (https://github.com/TIBHannover/confIDent-dataScraping/blob/master/crossref.py).
The Crossref JSON key used in the mapping of aeon:process_alternative_name maps to the proceedings title returned by Crossref as the title provided in event['name'] is often too short, probably due to wrong automatic truncation. (see also 97b57c5).
Good work @StroemPhi !! :)
The information of which property maps to which property from an external plattform needs to be stored in an annotation property in AEON using a JSON syntax.
Example where aeon:AEON_0000026 (rdfs:label "maps to") holds the mapping info as JSON dict:
This way we can later create a YML file for each external plattform with which we can import data of those plattforms to our semantic media wiki instance.
Example how to parse the ontology in order to retrieve the mapping info and storing it as YML