Smalyshev created this task.
Smalyshev added projects: Wikidata, Commons, SDC General, 
Wikidata-Query-Service, WikibaseMediaInfo, User-Smalyshev.

TASK DESCRIPTION
  Right now the code that generates RDF for wikibase uses hardcoded prefixes 
for entities and other nodes - `wdata:`, `wd:`, `wdt:` etc. However, this may 
be confusing when used with MediaInfo/commons, for several reasons:
  
  1. MediaInfo entities (`M1234`) are not Wikidata, and `wd:` kind of implies 
Wikidata.
  2. If `wd:` prefix is linked to commons entity URI 
(http://commons.wikimedia.org/entity/) it can not be used for Wikidata 
entities, because these use http://www.wikida.org/entity/), so writing queries 
using these items will be confusing as another prefix should be used for those.
  3. Doing federated queries against Wikidata data set would be even more 
confusing since it won't be clear which `wd:` means what where.
  
  Same is true for some measure for other prefixes too, but `wd:` is most 
important, since Commons does not have now it's own properties, so all 
predicates still can use Wikidata ones, and `wds:` predicate which is used with 
statements is rarely used in queries (though it needs to be taken into account 
too).
  
  Thus, we have the following option:
  
  A. Leave everything as is and try to deal with the confusion by education and 
writing smarter queries, etc.
  
  B. Choose different prefixes for SDC/Mediainfo, e.g. `sdc:`, `sdcdata:`, etc. 
Not sure whether is makes sense to also change statement and value/reference 
ones, since it is not very likely they'd refer to each other, and Commons is 
not even using them currently.
  
  C. Use prefix-suffix system, like `c-wd:`, for all Commons prefixes.
  
  D. Something else?
  
  Note that this is distinct issue from T222306 
<https://phabricator.wikimedia.org/T222306> - we know which full URI will be in 
the database, but this is the question how it would be represented in export 
formats that use prefixes to be human-readable - like TTL - and how the queries 
and query service configuration (which includes default prefixes) would be set 
up.
  
  Also note that, strictly speaking, prefixes in TTL format do not need to 
match prefixes in query (they are internally resolved to full URIs anyway), so 
we can do different approaches in different areas, though it again will be 
somewhat confusing if we take this road.

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

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

To: Smalyshev
Cc: Mholloway, Cparle, daniel, Lucas_Werkmeister_WMDE, Salgo60, MB-one, Tpt, 
Addshore, Jarekt, Ramsey-WMF, Tgr, Lydia_Pintscher, Aklapper, Steinsplitter, 
Poyekhali, WMDE-leszek, Smalyshev, darthmon_wmde, alaa_wmde, Nandana, JKSTNK, 
Lahi, PDrouin-WMF, Gq86, E1presidente, Anooprao, SandraF_WMF, 
GoranSMilovanovic, QZanden, EBjune, Tramullas, Acer, merbst, LawExplorer, 
Silverfish, _jensen, rosalieper, Jonas, Xmlizer, Susannaanas, Wong128hk, 
Jane023, jkroll, Wikidata-bugs, Jdouglas, Base, matthiasmullie, aude, 
Tobias1984, El_Grafo, Dinoguy1000, Manybubbles, Ricordisamoa, Wesalius, 
Fabrice_Florin, Raymond, Jdforrester-WMF, Mbch331, Keegan
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to