SimpleGraph Semantic Media Wiki ModuleProfiwikiicon.png

Wolfgang Fahl

Wfjuggling.png
Peugeot Ion
Peugeot Ion
Giant Explore
Giant Explore

Previous SMW Talks

Wiki Content Management System

SMW Quiz

Smart and professional integration of office documents

Introduction to Semantic Concepts smartMediaWiki

SMWCon Fall 2017 Rotterdam

SWMCon Fall 2016 Frankfurt

SMWCon Fall 2015 Barcelona

SMWCon Spring 2015 St. Louis

Agenda

  • What is a Graph?
  • The Simple Graph Navigation Language Idea
  • What is Apache TinkerPop/Gremlin?
  • What is SimpleGraph?
  • Example: Planning bike tours

What is a graph?

The Simple Graph Navigation Language Idea

What is Apache TinkerPop/Gremlin?

What is SimpleGraph?

Toskana2019planning.png

Example: Planning bike tours

SPARQL Query Hot Springs in Italy

try it!

MapOfThermalBathsTuscanyWikiData.png
# Find Italian hot springs using the Wikidata Query service
# display the results as a map
#defaultView:Map
# select the hot spring and its coordinates
SELECT ?hotspring ?coord ?range WHERE {
  ?hotspring wdt:P31 wd:Q177380.
  ?hotspring ?range wd:Q38.
  ?hotspring wdt:P625 ?coord.
}

SPARQL Query Hotsprings in Tuscany

try it!

# Find Tuscany hot springs using the Wikidata Query service
# taken from
# http://wiki.bitplan.com/index.php/SPARQL#Hotsprings_tuscany
# Created 2018-12-07 by Wolfgang Fahl BITPlan GmbH
# 
# display the results as a map
#defaultView:Map
#
# select the hot spring and its coordinates
SELECT ?hotspring ?coord  WHERE {
  # Ravenna
  wd:Q13364 wdt:P625 ?NECorner .
  # Aleria Corsica
  wd:Q212399  wdt:P625 ?SWCorner .
  ?hotspring wdt:P31 wd:Q177380.
  ?hotspring wdt:P625 ?coord.
  SERVICE wikibase:box {
      ?item wdt:P625 ?coord .
      bd:serviceParam wikibase:cornerSouthWest ?SWCorner .
      bd:serviceParam wikibase:cornerNorthEast ?NECorner .
    }
}

Combining 5 modules

Outlook: Dragtop

DragTopExample1.png

The Dragtop Open Source Software makes the SimpleGraph modules available for direct access from your Desktop. By simple drag and drop of the input onto the dragtop and then dropping a "tool" onto the dragtop you can combine the module functionality as you see fit.

Questions/Discussion