Difference between revisions of "SimpleGraph Semantic Media Wiki Module"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 130: Line 130:
 
== ⌘⌘  SPARQL Query Hot Springs in Italy ==
 
== ⌘⌘  SPARQL Query Hot Springs in Italy ==
 
[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!]
 +
[[File:MapOfThermalBathsTuscanyWikiData.png|400px|left]]
 
<source lang='sparql'>
 
<source lang='sparql'>
 
# Find Italian hot springs using the Wikidata Query service
 
# 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
 
# display the results as a map
 
#defaultView:Map
 
#defaultView:Map
#
 
 
# select the hot spring and its coordinates
 
# select the hot spring and its coordinates
 
SELECT ?hotspring ?coord ?range WHERE {
 
SELECT ?hotspring ?coord ?range WHERE {
Line 146: Line 142:
 
}
 
}
 
</source>
 
</source>
[[File:MapOfThermalBathsTuscanyWikiData.png|400px|right]]
 
  
== ⌘⌘ SPARQL Query ==
+
== ⌘⌘ SPARQL Query Hotsprings in Tuscany ==
 
+
[https://query.wikidata.org/#%23%20Find%20Tuscany%20hot%20springs%20using%20the%20Wikidata%20Query%20service%0A%23%20taken%20from%0A%23%20http%3A%2F%2Fwiki.bitplan.com%2Findex.php%2FSPARQL%23Hotsprings_tuscany%0A%23%20Created%202018-12-07%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%20WHERE%20%7B%0A%20%20%23%20Ravenna%0A%20%20wd%3AQ13364%20wdt%3AP625%20%3FNECorner%20.%0A%20%20%23%20Aleria%20Corsica%0A%20%20wd%3AQ212399%20%20wdt%3AP625%20%3FSWCorner%20.%0A%20%20%3Fhotspring%20wdt%3AP31%20wd%3AQ177380.%0A%20%20%3Fhotspring%20wdt%3AP625%20%3Fcoord.%0A%20%20SERVICE%20wikibase%3Abox%20%7B%0A%20%20%20%20%20%20%3Fitem%20wdt%3AP625%20%3Fcoord%20.%0A%20%20%20%20%20%20bd%3AserviceParam%20wikibase%3AcornerSouthWest%20%3FSWCorner%20.%0A%20%20%20%20%20%20bd%3AserviceParam%20wikibase%3AcornerNorthEast%20%3FNECorner%20.%0A%20%20%20%20%7D%0A%7D%0A try it!]
== Hotsprings in Tuscany ==
 
 
<source lang='sparql'>
 
<source lang='sparql'>
 
# Find Tuscany hot springs using the Wikidata Query service
 
# Find Tuscany hot springs using the Wikidata Query service
Line 175: Line 169:
 
}
 
}
 
</source>
 
</source>
 +
== ⌘⌘ Combining 5 modules ==
 +
[[File:NiftyExcelTrick.png|400px|right]]
  
== ⌘⌘  Nice Thermal Bath: Saturnia ==
+
#[https://github.com/BITPlan/com.bitplan.simplegraph/blob/master/simplegraph-bundle/src/test/java/com/bitplan/simplegraph/bundle/TestThermalBathInTuscany.java SimpleGraph-Bundle Junit TestCase]
* [http://ebike.bitplan.com/index.php/Saturnia Saturnia]
+
#[[:File:TuscanyPlan2018-12-13.xlsx]]
  
<youtube>PiNJZ4vg5ts</youtube>
 
 
== ⌘⌘ Outlook: Dragtop ==
 
== ⌘⌘ Outlook: Dragtop ==
 +
[[File:DragTopExample1.png|400px|left]]
 
The [http://www.bitplan.com/index.php/Dragtop Dragtop Open Source Software] makes the [http://www.bitplan.com/index.php/SimpleGraph SimpleGraph] modules available for direct access from your Desktop.
 
The [http://www.bitplan.com/index.php/Dragtop Dragtop Open Source Software] makes the [http://www.bitplan.com/index.php/SimpleGraph 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.
 
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.
Line 186: Line 182:
 
== ⌘⌘ Questions/Discussion ==
 
== ⌘⌘ Questions/Discussion ==
 
[[File:Bitplanpartner.png]]
 
[[File:Bitplanpartner.png]]
 +
<youtube>PiNJZ4vg5ts</youtube>
 +
 +
http://wiki.bitplan.com

Latest revision as of 11:47, 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 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!

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

NiftyExcelTrick.png
  1. SimpleGraph-Bundle Junit TestCase
  2. File:TuscanyPlan2018-12-13.xlsx

⌘⌘ 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

Bitplanpartner.png

http://wiki.bitplan.com