0

Which claims represent the quotes on Wikiquote? For example, for the Knowledge page.

And the corresponding WikiData JSON: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q9081&props=claims&languages=en&sitefilter=enwikiquote&formatversion=2

The goal is to get the source of the quote.

Termininja
  • 6,620
  • 12
  • 48
  • 49
Brandon Bradley
  • 3,160
  • 4
  • 22
  • 39

1 Answers1

1

Structured Wikiquote is only a proposal. You have to parse each Wikiquote's wikitext on your own (general advice on wikitext parsing applies).

Nemo
  • 2,441
  • 2
  • 29
  • 63
  • Thanks, in the intervening time, I've figured out how to get the wkitext HTML, but don't know how to parse it. What is the general advice on wikitext parsing? – Brandon Bradley Jul 31 '16 at 14:38
  • @BrandonBradley http://stackoverflow.com/a/33862337/1333493 for instance (the principles are the same, details depend on which language edition you need to parse for what). – Nemo Jul 31 '16 at 15:01