Nikki created this task.
Nikki added a project: Wikidata-Query-Service.
Herald added a subscriber: Aklapper.
Herald added projects: Wikidata, Discovery.


There seems to be some demand for accessing the item's ID. Right now the only way seems to be to turn the item into a string and then perform some sort of string replacement. A more direct way would be useful.

On one person is asking how to do it and another person's response suggests they do it quite often.

On the ID is extracted in order to include it in a URL.

I do it quite often when I want to generate QuickStatements-compatible output, is doing a similar thing.

We even do it in the module for generating SPARQL queries for constraints:

In they use triples using dc:identifier for the identifier (example). Something like that would work well, since we could then write ?item dc:identifier ?itemid without needing any functions at all.



To: Nikki
Cc: Nikki, Aklapper, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Wikidata-bugs mailing list

Reply via email to