It seems ideally that Wikibase needs a few underpinnings in place before
extending the API in further directions.

One would be a way to mark a Property as being "disambiguating", to use a
Freebase parlance.

For instance,
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=P856
The property that has a label of "official website url" is an important
disambiguating property.
Unfortunately, there does not seem to be that marker that tells me if
certain properties are useful to disambiguate between similar entities.

I would like to see Wikibase extended so that individual Properties could
be marked as being "disambiguating" or "rather important".

Futhermore, the wbgetclaims action should also be able to use this new
proposed parameter to return only disambiguating properties (instead of the
default all properties) like so:

https://www.wikidata.org/w/api.php?action=wbgetclaims&entity=Q1439&rank=normal&ungroupedlist&disambiguating

Thoughts ?

Thad
+ThadGuidry <https://www.google.com/+ThadGuidry>
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to