Functional Programming using Java 8 Streams
https://github.com/TechPrimers/functional-programming
Tuesday, March 27, 2018
Videos for Zane Academy: Java 8 Playlists
Zane Academy Java 8 Playlists:
Java 8 Lambda:
https://www.youtube.com/playlist?list=PLSM8fkP9ppPprn_fBpUbYKzBPsZcECYMk
Java 8 Streams PlayList:
https://www.youtube.com/playlist?list=PLSM8fkP9ppPoiRtiyZA9ryXSg6LtyNb-3
Java 8 Lambda:
https://www.youtube.com/playlist?list=PLSM8fkP9ppPprn_fBpUbYKzBPsZcECYMk
Java 8 Streams PlayList:
https://www.youtube.com/playlist?list=PLSM8fkP9ppPoiRtiyZA9ryXSg6LtyNb-3
Monday, March 26, 2018
null pointer exception in Java ... motive for using the optional class
Optional class and preventing NullPointerException
Oui Interressant!
Oui Interressant!
Saturday, February 17, 2018
URI Android Developer
https://developer.android.com/reference/java/net/URI.html
Not Model::::
https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/rdf/model/ResourceFactory.html
Not Model::::
https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/rdf/model/ResourceFactory.html
Throwing exceptions link dump
Java 8 Lambda Basics
https://docs.oracle.com/javase/tutorial/essential/exceptions/throwing.html
https://docs.oracle.com/javase/tutorial/essential/exceptions/throwing.html
Class LogRecord
java.util.logging : Class LogRecord
http://tutorials.jenkov.com/java-logging/logger.html
https://logging.apache.org/log4j/2.x/manual/configuration.html
48 - Logging ( FileHandler; ConsoleHandler; Levels ) | Java Tutorials
https://www.youtube.com/watch?v=W0_Man88Z3Qhttps://logging.apache.org/log4j/2.x/manual/configuration.html
https://www.slf4j.org/manual.html
Sunday, February 11, 2018
Thinking about Conversation for Action for the Web of Needs Ontology (pt2: living document)
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???
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???
Subscribe to:
Posts (Atom)