Referencing: http://eelst.cs.unibo.it/apps/LODE/source?url=https://raw.githubusercontent.com/valueflows/valueflows/master/release-doc-in-process/all_vf.TTL and http://www.essepuntato.it/lode/owlapi/https://raw.githubusercontent.com/valueflows/valueflows/master/release-doc-in-process/all_vf.TTL#d4e904
vf:Agreement a owl:Class ;
rdfs:label "vf:Agreement" ;
rdfs:comment "Any type of agreement among economic agents, that can be referenced in VF to clarify the economic activity. This is a placeholder pending investigating other vocabularies." .
===========> this may be generic enough to apply to the web of needs?
#vf:Intent a owl:Class ;
# rdfs:label "vf:Intent" ;
# rdfs:comment "A published want or offer or plan, sometimes with what is expected or desired in return." .
vf:Commitment a owl:Class ;
rdfs:label "vf:Commitment" ;
rdfs:comment "A planned economic event or transfer that has been promised by an agent to another agent." .
===========> web of of needs agreements can result in commitments of the economic type, but they need not be?
vf:AgentRelationship a owl:Class ;
rdfs:label "vf:AgentRelationship" ;
rdfs:comment "An ongoing voluntary association between 2 Agents of any kind." .
=========> two needs owners that are in discussions, or have made an agreement have some sort of relationship
vf:Fulfillment a owl:Class ;
rdfs:label "vf:Fulfillment" ;
rdfs:comment "The quantity that the vf:EconomicEvent fulfilled towards the vf:Commitment." .
=====> a clause in a agr:Proposal may indeed have some sort of Fulfillment
#vf:commitsTo
# a owl:ObjectProperty ;
# rdfs:domain vf:Commitment ;
# rdfs:range vf:Intent ;
# rdfs:comment "The Intent that an economic agent promises to fulfill." .
===================> apply as predicate
vf:ExchangeAgreement a owl:Class ;
rdfs:label "vf:ExchangeAgreement" ;
rdfs:subClassOf vf:Agreement ;
rdfs:comment "An agreement to exchange something with another agent(s), containing vf:Commitments towards that end." .
======> this looks most relevant to the web of needs, but there could be other agreements in the VF ontology that are relevant as well...
vf:under a owl:ObjectProperty ;
rdfs:domain [ owl:unionOf (vf:EconomicEvent vf:Commitment vf:Reciprocity vf:Fulfillment) ] ;
rdfs:label "under" ;
rdfs:range vf:Agreement ;
rdfs:comment "Reference an agreement between agents which specifies the rules or policies which govern this event." .
vf:action
a owl:ObjectProperty ;
rdfs:label "action" ;
rdfs:domain [ owl:unionOf (vf:EconomicEvent vf:Commitment) ] ;
rdfs:range vf:Action ;
rdfs:comment "Relates a process input or output to a verb, such as consume, produce, work, improve, etc." .
================================> this must relate to flows in valueflows...but does is it part of an agreement???
Sunday, February 11, 2018
Thinking about Conversation for Action and the Web of Needs Ontology
I checked out Conversation for Action [1], and tried to think about in terms of the Web of Needs Ontologies [2]. The annotations were about as far as I got. I do not know if they are correct. I may need to spend time talking to the original author of the diagram below about what their reasoning was.
Okay, the underlying Spec [3] helps a bit. I will look more at that.
Okay, the underlying Spec [3] helps a bit. I will look more at that.

[1] https://www.valueflo.ws/introduction/cfa.html
[2] https://github.com/researchstudio-sat/webofneeds/tree/master/webofneeds/won-vocab/src/main/resources/ontology
[3] http://www.essepuntato.it/lode/owlapi/https://raw.githubusercontent.com/valueflows/valueflows/master/release-doc-in-process/all_vf.TTL#d4e870
Saturday, February 10, 2018
JAVA 8 videos for functional programming
Java 8 Tutorial 01 - Functional Interface (01)
https://www.youtube.com/watch?v=Cck7gxcosPA
Java 8 Lambda Basics
https://www.youtube.com/playlist?list=PLqq-6Pq4lTTa9YGfyhyW2CqdtW9RtY-I3
https://www.youtube.com/watch?v=Cck7gxcosPA
Java 8 Lambda Basics
https://www.youtube.com/playlist?list=PLqq-6Pq4lTTa9YGfyhyW2CqdtW9RtY-I3
Thursday, January 25, 2018
Prelimary Links to Perform SPARQL Update
Prelimary Links to Perform SPARQL Update:
[Producing Result Sets] https://jena.apache.org/tutorials/sparql_results.html
parent: https://jena.apache.org/tutorials/sparql.html
[ARQ - Construct Quad] https://jena.apache.org/documentation/query/construct-quad.html
[Producing Result Sets] https://jena.apache.org/tutorials/sparql_results.html
parent: https://jena.apache.org/tutorials/sparql.html
[ARQ - Construct Quad] https://jena.apache.org/documentation/query/construct-quad.html
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
(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
https://www.youtube.com/watch?v=QB5pQT45zvg
[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 # 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
https://www.youtube.com/watch?v=1Omf1Vba44Y
Java Generics
https://www.youtube.com/watch?v=4ZO7uVon-kI
https://www.youtube.com/watch?v=4ZO7uVon-kI
Java Generics Tutorial
https://www.youtube.com/watch?v=9tHLV0u87G4
https://www.youtube.com/watch?v=9tHLV0u87G4
Generics in Java
https://www.youtube.com/watch?v=XMvznsY02Mk
https://www.youtube.com/watch?v=XMvznsY02Mk
Introduction to Generics (Type Safety)
https://www.youtube.com/watch?v=BuH-uOwDGjY
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
https://www.youtube.com/watch?v=Z2h34SQCo4k
Java Generics Tutorial - 053
https://www.youtube.com/watch?v=1tKmzQh8g5E
https://www.youtube.com/watch?v=1tKmzQh8g5E
Java101: Type Erasure and Java Generics
https://www.youtube.com/watch?v=irTop8IJRBY
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
(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
https://www.youtube.com/watch?v=LEAoMMEIUXk
Java Generics in Depth
https://www.youtube.com/watch?v=j82KHOL2FT8The Good, Bad, and Ugly of Java Generics - Oracle Learning Library
https://www.youtube.com/watch?v=34oiEq9nD0M
https://www.youtube.com/watch?v=j82KHOL2FT8The Good, Bad, and Ugly of Java Generics - Oracle Learning Library
https://www.youtube.com/watch?v=34oiEq9nD0M
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= PLea0WJq13cnA6k4B6Tr1ljj2nleUl 9dZt]
(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)
Apache Jena tutorial - download and setup jena in Eclipse (Semantic
web applications) [ https://www.youtube.com/watch?
(entire playlist for querying with Jena) [
https://www.youtube.com/watch?
]
(SPARQL Introductory Tutorial)
[https://www.youtube.com/
(Md. Rezaul Karim: sparql tutorial)
[https://www.youtube.com/
(Easy install and start Apache Jena Fuseki Server into windows 10)
[https://www.youtube.com/
(2015.03.25. Apache Jena Fuseki 2.0.0 - Setup)
[https://www.youtube.com/
([Tutorial] Using Apache Jena with Eclipse + HelloWorld! | Apache Jena
con Eclipse + HelloWorld!)
(https://www.youtube.com/
[Apache Jena Eclipse Tutorial] (https://www.youtube.com/
[Setup Jena in Java Project] (https://www.youtube.com/
[How to Run Jena] (https://www.youtube.com/
[Jena Api Create Inference Ontology]
(https://www.youtube.com/
[Jena API - Create Property] (https://www.youtube.com/
[Jena2 API - Inference Property] (https://www.youtube.com/
[Jena API - Inference OWL] (https://www.youtube.com/
(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:
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:

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

Subscribe to:
Posts (Atom)
