One further alternative is the "Linked Data Fragments" (LDF) interface,
which is supposed to be a bit lighter on the server than SPARQL -- but
only returns a set of triples, so further actions would be needed if you
wanted to get labels for them as well.
For example:
On 04/12/2017 05:57 PM, Magnus Manske wrote:
Just say "wd:Q12345" (the author)
instead of "?author" ?
Yes, that is what we do all over in Scholia, e.g.,
https://tools.wmflabs.org/scholia/author/Q13520818
The backlinks thing works, but is tedious.
You'll need to load the items
via action=wbgetentities to check if that link actually means "author",
or some other property.
We got a question from a reviewer asking why we used SPARQL in Scholia
and not just MediaWiki API. My initial thought was that it was not
possible with MediaWiki API, but then I thought of list=backlinks and
followed by (as Magnus points out) action=wbgetentities.
I was afraid that some place hidden in the MediaWiki API would be a
query functionality so you could get Wikidata property-filtered
backlinks, but since Magnus don't point to them, I am pretty sure now
that no such functionality exists. :)
/Finn