> Could you be more specific about these intuitions and difficulties?

with other query languages such as gremlin you start from a vertex (or set of 
vertices), and follow links (predicates). This is very intuitive, because it 
resemble the picture of a graph that I have in mind. For example, I can start 
from the vertex "Bruce Springsteen" and follow its out-links 
"some_namespace:song". Very easy to understand and work with. SPARQL, at least 
to me, seems to be way more intricate, messy, verbose, and ultimately difficult 
to understand. Just look at this query (copied from wikidata examples) for a 
query as simple as "Children of Genghis Khan".... I barely understand how to 
read it to be honest

#Children of Genghis Khan
#added before 2016-10
#defaultView:Graph

PREFIX gas: <http://www.bigdata.com/rdf/gas#>

SELECT ?item ?itemLabel ?pic ?linkTo
WHERE
{
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
                gas:in wd:Q720 ;
                gas:traversalDirection "Forward" ;
                gas:out ?item ;
                gas:out1 ?depth ;
                gas:maxIterations 4 ;
                gas:linkType wdt:P40 .
  }
  OPTIONAL { ?item wdt:P40 ?linkTo }
  OPTIONAL { ?item wdt:P18 ?pic }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}

Reply via email to