Advertisement
Advertisement

More Related Content

Advertisement

Start je eigen Wikidata! Een introductie op Wikibase

  1. Start je eigen Wikidata! Een introductie op Wikibase HackaLOD • 9 april 2021 • Sjors de Valk
  2. Archief Eemland / B_album_001_008_01
  3. ● Vervaardiger: A. Boer ● Datum van vervaardiging: juli 1914 ● Plaats van vervaardiging: Baarn ● Afgebeeld persoon: Emma zu Waldeck und Pyrmont ● Afgebeeld gebouw: Huize Peking
  4. Vragen: ● Is de foto gemaakt in juli 1914? Of het tijdschrift? ● Of is het tijdschrift niet gemaakt, maar een aflevering ervan? ● Is het wel een foto? Of een artikel? ● Is het wel een artikel? Of een knipsel? ● Of een bladzijde uit een album (inclusief handgeschreven annotaties)?
  5. Artikel Knipsel Foto Afleve- ring Tijd- schrift Album
  6. Eisen aan systeem: ● Rijke datamodellering (‘real-world’) ● Publicatie als Linked Data ● Kostenefficiënt (‘niet te duur’)
  7. Wikibase Wikidata Wikibase Eigen instantie Dezelfde software Eigen gebruikers, datamodel, data Eigen gebruikers, datamodel, data
  8. “Data does not need to be stored in any single place like Wikidata but we do want as much data as possible to be freely available, machine-readable, and connected among others to Wikidata.”
  9. “No single project, company or institution is an expert for all kinds of niche data. It is better for everyone if this data is maintained by the people close to it and then shared with the world as appropriate.”
  10. Wat maakt Wikibase interessant? ● Installeren van applicatie ● Beheren van informatie ● Publiceren van informatie
  11. Wat maakt Wikibase interessant? ● Installeren van applicatie ● Beheren van informatie ● Publiceren van informatie
  12. Wikibase MediaWiki Query Service (Blazegraph) Zoekmachine (Elasticsearch) Database (MySQL) QuickStatements
  13. curl https://raw.githubusercontent.com/wmde/ wikibase-docker/master/docker-compose.yml -o docker-compose.yml docker-compose up
  14. Wat maakt Wikibase interessant? ● Installeren van applicatie ● Beheren van informatie ● Publiceren van informatie
  15. Item Label Omschrijving Alias ● Foto ● Artikel ● Aflevering ● Tijdschrift ● Knipsel ● Album ● Persoon ● Gebouw Te herkennen aan webadres met ‘Q’, bv. http:/ /www.wikidata.org/entity/Q22686
  16. Eigenschap Label Omschrijving Alias Gegevenstype ● Type ● Vervaardiger ● Datum van vervaardiging ● Plaats van vervaardiging ● Afgebeeld persoon ● Afgebeeld gebouw Te herkennen aan webadres met ‘P’, bv. http:/ /www.wikidata.org/entity/P19
  17. schema:Photograph? rdf:type?
  18. Wat maakt Wikibase interessant? ● Installeren van applicatie ● Beheren van informatie ● Publiceren van informatie
  19. ● Wikibase API ● Linked Data-documenten ● Query Service ● RDF-dump
  20. http:/ /localhost:8181/entity/Q1 http:/ /localhost:8181/wiki/Item:Q1
  21. curl -L http://localhost:8181/entity/Q1 -H "Accept: text/turtle" Of: application/rdf+xml application/ld+json application/n-triples text/n3 Of: http:/ /localhost:8181/entity/Q1.ttl http:/ /localhost:8181/entity/Q1.rdf http:/ /localhost:8181/entity/Q1.jsonld http:/ /localhost:8181/entity/Q1.nt http:/ /localhost:8181/entity/Q1.n3
  22. http:/ /localhost:8181/entity/Q1
  23. docker-compose exec wikibase php ./extensions/Wikibase/repo/maintenance/dumpRdf.php --format ttl --output dump.ttl
  24. Bedankt!
Advertisement