JanZerebecki added a comment. Yes, it is probably not a good idea to add complex data structures like that.
We need to be clear about the data model / schema we will be using. As a start i quickly sketched a possible mapping from the Wikibase data model to a graph based form: item: vertex with edge to statement, edge to sitelink statement: vertex with exactly one edge to property, exactly one edge to value|item, edge to qualifier, edge to reference value: vertex qualifier: vertex with exactly one edge to property, exactly one edge to value|item reference: vertex with exactly one edge to property, exactly one edge to value|item sitelink: vertex property: vertex with edge to statement (Except where noted edges can occur 0 or multiple times. The key-value-pairs on vertexes and edges omitted, those values are only scalars.) TASK DETAIL https://phabricator.wikimedia.org/T76373 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. To: Smalyshev, JanZerebecki Cc: Smalyshev, Manybubbles, GWicke, JanZerebecki, aude, Lydia_Pintscher, jkroll, Wikidata-bugs, daniel _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
