Difference between revisions of "SimpleGraph Semantic Media Wiki Module"
Jump to navigation
Jump to search
Line 48: | Line 48: | ||
===⌘⌘ What is Apache TinkerPop/Gremlin? === | ===⌘⌘ What is Apache TinkerPop/Gremlin? === | ||
[[File:Gremlin programming language.png|400px]] | [[File:Gremlin programming language.png|400px]] | ||
+ | Apache Tinkerpop is an Open Source project. | ||
+ | ===⌘⌘ What is a graph? === | ||
+ | <graphviz> | ||
+ | digraph Tuscany { | ||
+ | Tuscany [ URL="https://en.wikipedia.org/wiki/Tuscany" ] | ||
+ | |||
+ | Arezzo [ URL="https://en.wikipedia.org/wiki/Province_of_Arezzo" ] | ||
+ | Florence [ URL="https://en.wikipedia.org/wiki/Province_of_Florence" ] | ||
+ | Grossetto [ URL="https://en.wikipedia.org/wiki/Province_of_Grosseto" ] | ||
+ | Livorno [ URL="https://en.wikipedia.org/wiki/Province_of_Livorno" ] | ||
+ | Lucca [ URL="https://en.wikipedia.org/wiki/Province_of_Lucca" ] | ||
+ | Massa [ label="Massa and Carrara" URL="https://en.wikipedia.org/wiki/Province_of_Massa_and_Carrara" ] | ||
+ | Pisa [ URL="https://en.wikipedia.org/wiki/Province_of_Pisa" ] | ||
+ | Pistoia [ URL="https://en.wikipedia.org/wiki/Province_of_Pistoia" ] | ||
+ | Prato [ URL="https://en.wikipedia.org/wiki/Province_of_Prato" ] | ||
+ | Siena [ URL="https://en.wikipedia.org/wiki/Province_of_Siena" ] | ||
+ | |||
+ | Saturnia [ URL="https://en.wikipedia.org/wiki/Saturnia" ] | ||
+ | BagniDiLucca [ label="Bagni di Lucca" URL="https://de.wikipedia.org/wiki/Bagni_di_Lucca" ] | ||
+ | |||
+ | ThermalBath [URL="https://de.wikipedia.org/wiki/Liste_der_Thermalb%C3%A4der_in_der_Toskana"] | ||
+ | Provinces [ URL="https://en.wikipedia.org/wiki/Category:Provinces_of_Tuscany"] | ||
+ | |||
+ | ThermalBath -> Saturnia | ||
+ | ThermalBath -> BagniDiLucca | ||
+ | |||
+ | Saturnia -> Grossetto | ||
+ | BagniDiLucca -> Lucca | ||
+ | |||
+ | Provinces -> Tuscany | ||
+ | Tuscany -> ThermalBath | ||
+ | Arezzo -> Provinces | ||
+ | Florence -> Provinces | ||
+ | Grossetto -> Provinces | ||
+ | Livorno -> Provinces | ||
+ | Lucca -> Provinces | ||
+ | Massa -> Provinces | ||
+ | Pisa -> Provinces | ||
+ | Pistoia -> Provinces | ||
+ | Prato -> Provinces | ||
+ | Siena -> Provinces | ||
+ | } | ||
+ | </graphviz> | ||
+ | |||
==⌘⌘ What is SimpleGraph? == | ==⌘⌘ What is SimpleGraph? == | ||
[[File:toskana2019planning.png|800px|center]] | [[File:toskana2019planning.png|800px|center]] |
Revision as of 17:02, 12 December 2018
<slideshow style="bitplan" headingmark="⌘⌘" incmark="…" scaled="true" font="Comic Sans MS, Calibri, cursive" >
- title
SimpleGraph Semantic Media Wiki Module- 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
| |
Peugeot Ion |
Giant Explore |
⌘⌘ Previous SMW Talks
Wiki Content Management System |
SMW Quiz |
Smart and professional integration of office documents |
smartMediaWiki, Introduction to Semantic Concepts |
SMWCon Fall 2017 Rotterdam |
SWMCon Fall 2016 Frankfurt |
SMWCon Fall 2015 Barcelona |
SMWCon Spring 2015 St. Louis |
⌘⌘ Agenda
- What is Apache TinkerPop/Gremlin?
- What is SimpleGraph?
- Example: Planning a bike tour to tuscany thermal baths
⌘⌘ What is Apache TinkerPop/Gremlin?
Apache Tinkerpop is an Open Source project.
⌘⌘ What is a graph?
⌘⌘ What is SimpleGraph?
⌘⌘ SPARQL Query
# 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.
}
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