Justin0x2004 added a comment.
In T206560#7248377 <https://phabricator.wikimedia.org/T206560#7248377>, @DanBri wrote: > @Lydia_Pintscher mentioned a conversation with the Data Commons team at Google, they have this opensource codebase that's somewhat in this area: https://github.com/datacommonsorg/mixer It looks like Data Commons is not RDF native. And its "SPARQL endpoint" is an approximation of a SPARQL endpoint. That is, it is missing lots of things that make SPARQL endpoints useful to work with. e.g. Here is a query that works: curl -X POST 'https://api.datacommons.org/query' \ -d '{"sparql": "SELECT ?state ?name \ WHERE { \ ?state typeOf State . \ ?state name ?name \ }"}' - but it can't handle `select *` - notice how the predicates don't use a prefix - it doesn't respect a header like 'Accept: text/csv' In fairness they do say: Graph Query/SPARQL: Given a subgraph where some of the nodes are variables, retrieve possible matches. This corresponds to a subset of the graph query language SPARQL. https://docs.datacommons.org/api/ And in the code I see: `// Translate takes a datalog query and translates to GoogleSQL query based on schema mapping.` https://github.com/datacommonsorg/mixer/blob/b7518499a19360cc4ee33898feb8e26f81cc060b/internal/translator/translate.go#L853 But if you look how the Translate function gets called I think they mean "takes a SPARQL query." TASK DETAIL https://phabricator.wikimedia.org/T206560 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Justin0x2004 Cc: Justin0x2004, Jerven, TheKtk, Ivanhercaz, Jneubert, DanBri, Lydia_Pintscher, Tagishsimon, Samantha_Alipio_WMDE, Ostrzyciel, GreenReaper, WMDE-leszek, Salgo60, So9q, Krabina, Jecummings4, TomT0m, Akuckartz, Susannaanas, Addshore, Andrawaag, Gehel, Lucas_Werkmeister_WMDE, Aklapper, Smalyshev, Invadibot, MPhamWMF, Jtm-lis, maantietaja, NavinRizwi, CBogen, Isaacandy, Demian, Olson.jared.m, Nandana, Namenlos314, Lahi, Gq86, Bryandamon, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, Steko, Samwilson, PhotographerTom, suriyaa, Psychoslave, tosfos, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Darenwelsh, Dinoguy1000, Manybubbles, Foxtrott, brion, Mbch331, MarkAHershberger
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org