Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan...

16
Wikidata Query Service Stas Malyshev

Transcript of Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan...

Page 1: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

Wikidata Query ServiceStas Malyshev

Page 2: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

There’s over 14 million data itemsin Wikidata.

How can we make sense of it all?

How can we let our usersmake sense of it all?

Page 3: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

The Wikidata Query Service lets users ask Wikidata complex questions,

and find out the answers.

Page 4: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

Wikidata Query Service uses a query languagecalled SPARQL to write these complex questions.

SPARQL lets users precisely define their questionso that the Wikidata Query Service

understands how to answer it.

Page 5: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

Example:

What were some of the fields of work of physicists who worked at institutions where Richard Feynman also

worked?

Page 6: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David
Page 7: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

colleagueLabel fieldLabelBrian Greene string theory

Brian Greene quantum gravity

Earle Hesse Kennard mathematical physics

Earle Hesse Kennard fluid dynamics

Page 8: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

WDQS Demo

Page 9: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

What things does the Wikidata Query Service

let us do?

Page 10: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

Example:

What if someone is searching fora list of US presidents?

This is what they get.

Page 11: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David
Page 12: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

We could use Wikidata Query Serviceto just show them the list!

Page 13: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

Natural language search?Almost.

Page 14: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

https://tools.wmflabs.org/ppp-sparql/

Page 15: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

How to get involved!

● Check out our work: https://phabricator.wikimedia.org/tag/discovery/

● Give feedback at: https://www.mediawiki.org/wiki/Talk:

Wikidata_query_service

● Ask us questions: [email protected]

● Speak to us on IRC: #wikimedia-discovery on Freenode

● Community pages: https://www.wikidata.org/wiki/Wikidata:

SPARQL_query_service/queries

Thank you!

Page 16: Wikidata Query Service - Wikimedia€¦ · Douglas Nik Everett Smith Tomasz Stas Finc Moiz Syed Dan Kevin Garry Malyshev Max Semenik Wes Moran Oliver Keyes Erik Bernhardson David

Building the anonymous path of discovery to a trusted and relevant source of knowledge.

Discovery Department

JamesDouglas

NikEverett

TomaszFinc

MoizSyed

DanGarry

Stas Malyshev

Max Semenik

Wes Moran

OliverKeyes

Erik Bernhardson

KevinSmith

DavidCausse

YuriAstrakhan