graphql over graphs [Was: W3C Graph Data Workshop trip report]

On Fri, Mar 08, 2019 at 01:42:12PM -0500, Juan Sequeda wrote:
> All,
> 
> I wrote my trip report on the W3C Graph Data workshop:
> http://www.juansequeda.com/blog/2019/03/08/w3c-graph-data-workshop-trip-report/

tx for the report! i'd hoped to go but a contract is taking a little
longer than hoped. (if there's another in the next 14 days, i can
probably go.)

I was interested in the graphql stuff. I know the graphql spec is
actually about trees but graphql is frequently used for graphs. Do you
know if it actually supports graphs? As a litmus for that, can I look
for people that know same person or do I have to look for people who
know a person with the same name? In SPARQL, the former:

SELECT ?whom {
  ?a foaf:knows ?whom .
  ?b foaf:knows ?whom .
  (FILTER ?a < ?b)
}

The latter relies on heuristics to because there's no graph identifier
on nodes. In SPARQL it would look kind of like:

SELECT ?whom {
  ?a foaf:knows [ foaf:name ?nameA ] .
  ?b foaf:knows [ foaf:name ?nameB ] .
  (FILTER ?nameA = ?nameB)
}

The latter is of course subject to false positives if multiple people
have the same name.


>  It was a successful event! In a nutshell
> – There is a unified and vibrant graph community.
> – A W3C Business Group will be formed and serve as a liaison between
> different interested parties.
> – There is a push for RDF*/SPARQL* to be a W3C Member submission.
> – There is interest to standardize a Property Graph data model with a
> schema.
> – There is interest to standardize mappings between Property Graphs and RDF.
> 
> Best,
> 
> Juan
> 
> 
> 
> --
> Juan Sequeda, Ph.D
> www.juansequeda.com

-- 
-eric

office: +1.617.258.5741 32-G528, MIT, Cambridge, MA 02144 USA
mobile: +1.617.599.3509

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Friday, 8 March 2019 21:33:17 UTC