onsdag 13 juli 2016

People related to Emnilda of Lusatia using polish names

More Piast Dynasty

#People related to  Emnilda of Lusatia
#Names displayed with the Polish spelling in the wikidata databas
# See also
#    * another Graph done for the Swedish King Gustav Vasa Q52947
#    * a list created with people with Q201615 = Piast dynasty
#defaultView:Graph
PREFIX gas: <http://www.bigdata.com/rdf/gas#>

SELECT ?item ?itemLabel ?pic ?linkTo {  
  SERVICE gas:service {                           # see also RDF GAS API

    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
                gas:in wd:Q455016 ; # Emnilda of Lusatia
#                gas:traversalDirection "Forward" ;
                gas:traversalDirection "Undirected" ;
#                gas:traversalDirection "Reverse" ;
                gas:out ?item ;
                gas:out1 ?depth ;
                gas:maxIterations 4 ;
                gas:linkType wdt:P40 .
  }
  OPTIONAL { ?item wdt:P40 ?linkTo } #P40 property Child used in the Graph
  OPTIONAL { ?item wdt:P18 ?pic } #Get illustration if available
  SERVICE wikibase:label {bd:serviceParam wikibase:language "pl" } #Polish name forms
}

Query
-------

Inga kommentarer:

Skicka en kommentar