OMrkvonO created this task.
OMrkvonO added projects: Wikidata-Query-Service, Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  //This may be a feature request, not a bug. Hard to judge.//
  
  **List of steps to reproduce** (step by step, including full links if 
applicable):
  
  - Go to 
https://query.wikidata.org/bigdata/ldf?subject=http%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ146&predicate=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label&object=
 or run `curl 
https://query.wikidata.org/bigdata/ldf?subject=http%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ146&predicate=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label&object=`
 in your terminal
  - Look at the results
  - Observe that the returned labels don't include language tags like `"some 
string"@en`
  
  **What happens?**:
  
  When we query for language strings (e.g. labels) with 
https://query.wikidata.org/bigdata/ldf 
<https://query.wikidata.org/bigdata/ldf?subject=http%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ146&predicate=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label&object=>,
 the results are in format 
`"cat"^^http://www.w3.org/1999/02/22-rdf-syntax-ns#langString`, but they have 
no indication of their particular language (e.g. `"cat"@en`).
  
  **What should have happened instead?**:
  
  The language string should include its language tag, e.g. `"cat"@en`. Compare 
to DBpedia's LDF service 
<http://fragments.dbpedia.org/2016-04/en?subject=http%3A%2F%2Fdbpedia.org%2Fresource%2FCat&predicate=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label&object=>
  Without the language tag, the language strings are pretty much useless.
  In my particular case, i use Wikidata's Linked Data Fragments Endpoint when 
querying wikidata with Comunica <https://github.com/comunica/comunica>, but i 
can't filter the results by language
  
  **Software version (if not a Wikimedia wiki), browser information, 
screenshots, other information, etc.**
  
  Software version: whatever is the version of 
https://github.com/LinkedDataFragments/Server.java, used by 
https://query.wikidata.org/bigdata/ldf at the time of posting this issue
  Browser: Mozilla Firefox for Arch Linux v99.0 (64-bit), curl v7.82.0 - 
probably not relevant

TASK DETAIL
  https://phabricator.wikimedia.org/T305983

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: OMrkvonO
Cc: Aklapper, #wikidata-query-service, OMrkvonO, Astuthiodit_1, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to