Saturday, January 20, 2018

Java Generics Links

Text Tutorials:

(Java Generics Tutorial - Jacob Jenkov)
http://tutorials.jenkov.com/java-generics/index.html

(Java Collections - Generic Collections - jacob Jenkov)
http://tutorials.jenkov.com/java-collections/generic-collections.html


Lesson: Generics (Updated)
https://docs.oracle.com/javase/tutorial/java/generics/index.html

Videos:



Collection and Generics API in Java (Playlist) - Java by Navin Reddy

https://www.youtube.com/playlist?list=PLGwb7xZHg-oPmcfRxORRiv5jrUoT0zFLq

Intermediate Java Tutorial - 17 - Generic Methods - thenewbostonhttps://www.youtube.com/watch?v=J6B_qauxfuc


Intermediate Java Tutorial - 18 - Implementing a Generic Method -the newboston
https://www.youtube.com/watch?v=ZoJaD0Qoi0o

Intermediate Java Tutorial - 19 - Generic Return Types - thenewboston
https://www.youtube.com/watch?v=QB5pQT45zvg
[Summary of Java Generics (Advanced)]

https://www.youtube.com/watch?v=D5HEshszlPE
[Generics in java # 1 - Introduction to Generics in java | Java tutorials by Java9s.com ]

Generics in java # 2 - Declaration and Instantiation of Generics code | java9s
Generics in java # 3 - Bounded Type Parameters & Multiple Type parameters | Java9s
Generics in Java # 4 - Generics - Inheritance and Subtyping | Java9s
Generics in Java tutorial # 5 - Wildcards and subtyping in Generics | Java tutorials by Java9s
https://www.youtube.com/watch?v=1Omf1Vba44Y
Introduction to Generics (Type Safety)
https://www.youtube.com/watch?v=BuH-uOwDGjY
Core Java With OCJP/SCJP: Generics Part-2 || time safety || type casting
https://www.youtube.com/watch?v=Z2h34SQCo4k
Java Generics Tutorial - 053
https://www.youtube.com/watch?v=1tKmzQh8g5E
Java101: Type Erasure and Java Generics
https://www.youtube.com/watch?v=irTop8IJRBY
Learn Java Tutorial for Beginners, Part 31: Generics and Wildcards
(Author: Cave of Programming)
https://www.youtube.com/watch?v=QqLBp7MdkEU
Java Generics: Past, Present and Futurit by Richard Warburton/Raoul-Gabriel Urma
https://www.youtube.com/watch?v=LEAoMMEIUXk

LInks to Learn Apache Jena

YouTube Videos:

Apache Jena tutorial - download and setup jena in Eclipse (Semantic
web applications) [ https://www.youtube.com/watch?v=u4rPZynTWFo ]

(entire playlist for querying with Jena) [
https://www.youtube.com/watch?v=u4rPZynTWFo&list=PLr_TipxhoDryHmYOZWH9LrZmB2G0DJ2IU
 ]

(SPARQL Introductory Tutorial)
[https://www.youtube.com/watch?v=r7N7s1yejFQ&list=PLea0WJq13cnA6k4B6Tr1ljj2nleUl9dZt]

(Md. Rezaul Karim: sparql tutorial)
[https://www.youtube.com/channel/UCsG7Alg4gpuGHMmLw8Z4Nig]

(Easy install and start Apache Jena Fuseki Server into windows 10)
[https://www.youtube.com/watch?v=3WTtKaIfqnk]

(2015.03.25. Apache Jena Fuseki 2.0.0 - Setup)
[https://www.youtube.com/watch?v=apNEpgW0pTM]

([Tutorial] Using Apache Jena with Eclipse + HelloWorld! | Apache Jena
con Eclipse + HelloWorld!)
(https://www.youtube.com/watch?v=nrv_Y3AEWLk)

[Apache Jena Eclipse Tutorial] (https://www.youtube.com/watch?v=YXjYPz6SHjA)

[Setup Jena in Java Project] (https://www.youtube.com/watch?v=YXjYPz6SHjA)

[How to Run Jena] (https://www.youtube.com/watch?v=pSL5x_XeLpc)

[Jena Api Create Inference Ontology]
(https://www.youtube.com/watch?v=RH-5kF762iE&t=82s)

[Jena API - Create Property] (https://www.youtube.com/watch?v=d0JOLLzUYSs)

[Jena2 API - Inference Property] (https://www.youtube.com/watch?v=G1ba7FQqM8g)


[Jena API - Inference OWL] (https://www.youtube.com/watch?v=lKo3L6hDzc4)

(Jena - A Java API for RDF tutorial)   --- iNTRODUCTION to Jena, the
early days) https://www.youtube.com/watch?v=FjySshD7K-s

See Also:
https://jena.apache.org/documentation/   (Jena Documentations)
https://www.tutorialspoint.com/java/util/index.htm (Java Util -- Used by Jena)

Saturday, January 13, 2018

Notes Getting a Jena Example Running in Eclipse

Step 1: Get the Jena Library into Eclipse Oxygen.

Go to: Window>Preferences>Java>Build Path>UserLibraries>New>{Add Name}>Add External JARS>Save/Continue

like in the first part of:

[Tutorial] Using Apache Jena with Eclipse + HelloWorld! | Apache Jena con Eclipse + HelloWorld! https://www.youtube.com/watch?v=nrv_Y3AEWLk

Step 2: Create project folder, if you have not already. Once this is created, right click on the folder>Select Build Path>Add Libraries>User Library>Jena

See: Jena tutorial - download and setup Jena in Eclipse (Semantic web applications)
https://www.youtube.com/watch?v=u4rPZynTWFo&index=1&list=PLr_TipxhoDryHmYOZWH9LrZmB2G0DJ2IUStep 3: Create an RDF file. Make sure you change the file associations to (XML or something else?) if the file associates with Firefox (or perhaps some other web browser?)

I tried: Window>Preferences>General>Editors>File Associations>File Types>Add>*.rdf

Secondly, for Window>Preferences>General>Editors>File Associations>Associated Editors>Add>XML Editor

Inspiration : (https://stackoverflow.com/questions/5859641/eclipse-associate-an-editor-with-a-content-type)

Step 4: Create the Java file as in the video below, and run it.

Apache Jena tutorial - write models in different formats with jena RDF,TURTLE,JSON)https://www.youtube.com/watch?v=Ps_cVNSwfeA&index=3&list=PLr_TipxhoDryHmYOZWH9LrZmB2G0DJ2IU





Step 5: Set up a Sparql query.

Follow:
Apache jena tutorial - using sparql with jena to query rdf document (https://www.youtube.com/watch?v=nUdHneViLp4&list=PLr_TipxhoDryHmYOZWH9LrZmB2G0DJ2IU&index=4)


I found it useful to look at this Stackoverflow page to find other classes and interfaces that were missing from the video:

https://stackoverflow.com/questions/38640091/retrieve-items-from-a-model-in-jena

I produced screenshots of the result 
 




Sunday, January 7, 2018

Check out Vienna in the Fall to Winter

A friend of mine is planning a trip to Vienna (Wien), and asked for some pointers of what to see. This is hard, but I hope that a few of the pictures and links I have collected below showcase some of what Wien has to offer. (Please click on the photos to make them large.)

Shows:


http://arena.wien
https://www.eventbrite.at/
https://www.stadthalle.com/en
https://www.wien-ticket.at/en/home
https://events.wien.info/en/
https://www.vienna-unwrapped.com/vienna-tourism-calendar/
http://www.royal-classic.at/  (Royal Classic -- Orchestra and Ballet)



http://www.volkstheater.at/
https://www.burgtheater.at/de/
https://www.theater-wien.at/en/
https://www.musikverein.at/




Food (Wine Taverns)

http://www.heuriger-zum38er.at/   
http://www.fuhrgassl-huber.at/
https://www.tripadvisor.com/Restaurant_Review-g190454-d8117007-Reviews-Andys_and_Mikes-Vienna.html






http://aida.at/?lang=en


Pretzels and Viennese Food? Sounds good... Brezlgwölb
https://www.yelp.com/biz/brezlgw%C3%B6lb-wien

Rick Steves Europe Austria Event Calendar:

https://www.ricksteves.com/europe/austria/festivals

Augarten
http://kultur.park.augarten.org/

Musik und Theatre (Music and Theatre)
http://muth.at/


Film
filmarchiv.at




Museums:
http://www.wienmuseum.at/en.html
https://www.mqw.at 

http://www.theatermuseum.at/en/backstage/library/
http://www.freud-museum.at/en/
https://www.belvedere.at/en
https://www.technischesmuseum.at/



Vienna Network Maps
http://homepage.univie.ac.at/horst.prillinger/ubahn/english/network_maps.html

Info:
https://www.wien.info/en   (for tourists)
http://www.visitingvienna.com/ (for tourists)

http://www.viennawurstelstand.com/category/discover/vienna/   (for locals)

Rathaus




Karlskirche
 








 
Art Advent


Parliament



Naschmarkt



Nearby: Wein & Co.


Stephansplatz
 

Nearby:






Prater (established 1766  -- modern, but it is one the world's oldest)





Austrian National Library (and surrounding area)

https://www.onb.ac.at/en/




Street Food

Käsekrainer, Debreziner Sausage, Kebab, Schnitzelsemmel, Rum flavored donut with hazelnut chocolate filling from (https://www.dermann.at/)

Be Vegan 

Kreuzenstein Castle (just north of Vienna on the Danube)


McDonalds Cafe (McCafe) -- Viennese

Austrian Lemonade


Danube River 


Maria Theresien Platz

Natural History Museum Vienna  (http://nhm-wien.ac.at/en)


Kunsthistorisches Museum (http://www.khm.at/)


 
Art Auction - Dorotheum
(https://www.dorotheum.com/en.html)




Random Creatures That Show up In Windows


Conference Center / Event Center