Difference between revisions of "SimpleGraph Semantic Media Wiki Module"
Jump to navigation
Jump to search
Line 41: | Line 41: | ||
* What is SimpleGraph? | * What is SimpleGraph? | ||
* Example: Planning a bike tour to tuscany thermal baths | * Example: Planning a bike tour to tuscany thermal baths | ||
+ | ===⌘⌘ What is Apache TinkerPop/Gremlin? === | ||
+ | |||
+ | https://en.wikipedia.org/wiki/Gremlin_(programming_language)#/media/File:Gremlin_(programming_language).png | ||
+ | |||
== ⌘⌘ SPARQL Query == | == ⌘⌘ SPARQL Query == | ||
[https://query.wikidata.org/#%23%20Find%20Italian%20hot%20springs%20using%20the%20Wikidata%20Query%20service%0A%23%20taken%20from%0A%23%20http%3A%2F%2Fwiki.bitplan.com%2Findex.php%2FSPARQL%23Hotsprings_worldwide%0A%23%20Created%202018-11%20by%20Wolfgang%20Fahl%20BITPlan%20GmbH%0A%23%20%0A%23%20display%20the%20results%20as%20a%20map%0A%23defaultView%3AMap%0A%23%0A%23%20select%20the%20hot%20spring%20and%20its%20coordinates%0ASELECT%20%3Fhotspring%20%3Fcoord%20%3Frange%20WHERE%20%7B%0A%20%20%3Fhotspring%20wdt%3AP31%20wd%3AQ177380.%0A%20%20%3Fhotspring%20%3Frange%20wd%3AQ38.%0A%20%20%3Fhotspring%20wdt%3AP625%20%3Fcoord.%0A%7D%0A try it!] | [https://query.wikidata.org/#%23%20Find%20Italian%20hot%20springs%20using%20the%20Wikidata%20Query%20service%0A%23%20taken%20from%0A%23%20http%3A%2F%2Fwiki.bitplan.com%2Findex.php%2FSPARQL%23Hotsprings_worldwide%0A%23%20Created%202018-11%20by%20Wolfgang%20Fahl%20BITPlan%20GmbH%0A%23%20%0A%23%20display%20the%20results%20as%20a%20map%0A%23defaultView%3AMap%0A%23%0A%23%20select%20the%20hot%20spring%20and%20its%20coordinates%0ASELECT%20%3Fhotspring%20%3Fcoord%20%3Frange%20WHERE%20%7B%0A%20%20%3Fhotspring%20wdt%3AP31%20wd%3AQ177380.%0A%20%20%3Fhotspring%20%3Frange%20wd%3AQ38.%0A%20%20%3Fhotspring%20wdt%3AP625%20%3Fcoord.%0A%7D%0A try it!] |
Revision as of 19:50, 10 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>
⌘⌘ Intro
Von Markus Bernet - Eigenes Werk, CC BY-SA 2.5, File:Saturnia Cascate del Mulino.jpg
⌘⌘ Wolfgang Fahl
- Wolfgang wf@bitplan.com is from germany.
- He is a teacher for software architecture
- He has been working with MediaWiki since 2007
- He has started learning english in England
⌘⌘ 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 https://www.semantic-mediawiki.org/wiki/SMWCon_Spring_2015 |
⌘⌘ Agenda
- What is Apache TinkerPop/Gremlin?
- What is SimpleGraph?
- Example: Planning a bike tour to tuscany thermal baths
⌘⌘ What is Apache TinkerPop/Gremlin?
⌘⌘ 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