| cscott added a comment. |
I also worked on proper JSON+LD statements in T44063: [Epic] Provide a plain linked data interface for accessing entities and T164655: Store and serve annotations in W3C standard format. FWIW, with https://gerrit.wikimedia.org/r/384050 you get the following JSONLD for Q100:
{
"@graph": [
{
"@id": "wdata:Q100",
"@type": "schema:Dataset",
"about": "wd:Q100",
"license": "http://creativecommons.org/publicdomain/zero/1.0/",
"softwareVersion": "0.1.0",
"version": 2799,
"dateModified": "2018-06-21T00:08:11Z",
"statements": 85,
"identifiers": 0,
"sitelinks": 184
},
{
"@id": "wd:Q100",
"@type": "wikibase:Item"
},
{
"@id": "https://sv.wikivoyage.org/wiki/Boston",
"@type": "schema:Article",
"about": "wd:Q100",
"inLanguage": "sv",
"isPartOf": "https://sv.wikivoyage.org/",
"name": {
"@language": "sv",
"@value": "Boston"
}
},
...etc...
}That suggests that the proper @type is schema:Article, although it is pointing to a wikibase:Item.
TASK DETAIL
EMAIL PREFERENCES
To: Niedzielski, cscott
Cc: Jdrewniak, Mholloway, gerritbot, Denny, ovasileva, Tbayer, Elitre, CKoerner_WMF, Jdlrobson, Niedzielski, phuedx, dr0ptp4kt, Imarlier, cscott, Krenair, Aklapper, Deskana, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Chicocvenancio, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Winter, Lewizho99, Maathavan, Wikidata-bugs, aude, Mbch331
Cc: Jdrewniak, Mholloway, gerritbot, Denny, ovasileva, Tbayer, Elitre, CKoerner_WMF, Jdlrobson, Niedzielski, phuedx, dr0ptp4kt, Imarlier, cscott, Krenair, Aklapper, Deskana, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Chicocvenancio, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Winter, Lewizho99, Maathavan, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
