Difference between revisions of "SimpleGraph Semantic Media Wiki Module"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 99: Line 99:
 
<graphviz>
 
<graphviz>
 
digraph EM {
 
digraph EM {
   Earth [ URL="https://www.wikidata.org/wiki/Q2" image="The Earth seen from Apollo 17.jpg" ]
+
   Earth [ URL="https://www.wikidata.org/wiki/Q2" image="Earth200.jpeg" ]
 
   Moon [URL="https://www.wikidata.org/wiki/Q405" ]
 
   Moon [URL="https://www.wikidata.org/wiki/Q405" ]
 
   Moon -> Earth [ label="orbits" ]
 
   Moon -> Earth [ label="orbits" ]

Revision as of 07:49, 13 December 2018

<slideshow style="bitplan" headingmark="⌘⌘" incmark="…" scaled="true" font="Comic Sans MS, Calibri, cursive" >

title

SimpleGraph Semantic Media Wiki ModuleProfiwikiicon.png
author
Wolfgang Fahl info@bitplan.com
footer
Integrating Semantic Media Wiki with multiple other systems via Apache TinkerPop/Gremlin
subfooter
SMW CON Fall 2018 Regensburg

</slideshow>

⌘⌘ Wolfgang Fahl

Wfjuggling.png
Peugeot Ion
Peugeot Ion
Giant Explore
Giant Explore

⌘⌘ Previous SMW Talks

WikiCMS

Wiki Content Management System

Using Semantic MediaWiki for managing quizzes for knowledge examination and evaluation

SMW Quiz

Office integration

Smart and professional integration of office documents

Introduction to Semantic Concepts

Introduction to Semantic Concepts smartMediaWiki

SMWCon Fall 2017 Rotterdam

SMWCon Fall 2017 Rotterdam

SWMCon Fall 2016 Frankfurt

SWMCon Fall 2016 Frankfurt

SMWCon Fall 2015 Barcelona

SMWCon Fall 2015 Barcelona

SMWCon Spring 2016 St. Louis
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?

Graph

The file "mwstore://local-backend/local-public/diagrams/archive/20241123211044!Diagrams_e39192e61c087272978f726e586eeb4f.png" already exists.

⌘⌘ The Simple Graph Navigation Language Idea

⌘⌘ What is Apache TinkerPop/Gremlin?

Gremlin programming language.png Apache Tinkerpop is an Open Source project.

⌘⌘ What is SimpleGraph?

Toskana2019planning.png

⌘⌘ Example: Planning bike tours

Explore2018-06Portobello.png

Tools:

⌘⌘ SPARQL Query Hot Springs in Italy

try it!

# Find Italian hot springs using the Wikidata Query service
# taken from
# http://wiki.bitplan.com/index.php/SPARQL#Hotsprings_in_Italy
# Created 2018-11 by Wolfgang Fahl BITPlan GmbH
# 
# 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

# 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 .
    }
}

⌘⌘ Thermal Baths

⌘⌘ Questions/Discussion

Bitplanpartner.png