Skip to content

Instantly share code, notes, and snippets.

View kurtcagle's full-sized avatar

Kurt Cagle kurtcagle

  • Semantical LLC
  • Bellevue, WA 98006
  • 10:59 (UTC -07:00)
View GitHub Profile
@kurtcagle
kurtcagle / Car.xml
Created March 16, 2016 09:09
Car.xml
<Car id="BlueCar">
<color>blue</color>
<CarState id="BlueCar_1">
<time>0</time>
<x>0</x>
<vx>0</vx>
<gas>10</gas>
</CarState>
<CarState id="BlueCar_2">
<time>1</time>
@kurtcagle
kurtcagle / car.js
Created March 16, 2016 06:50
Car.js (A simple car simulation)
var Car = {
_gas:0,
_time:0,
_xpos:0,
_ypos:0,
_color:"",
_steps:0,
_states:[],
init:function(gas,color,steps,acc_fn){
this._gas=gas;
@kurtcagle
kurtcagle / Contracts6.ttl
Created March 7, 2016 05:49
Contracts6.ttl
contract:C3 <hasAuthorSignatory> author:ElizabethKane.
contract:C3 <hasWork> book:Ai.
contract:C3 <hasPublisherSignatory> editor:JaneDoe.
contract:C3 <amendment> contract:C2;
editor:JaneDoe <agentForPublisher> publisher:PrestigiousImprint.
@kurtcagle
kurtcagle / Contracts5.ttl
Last active March 7, 2016 05:47
Contracts5.ttl
contract:C2 <hasAuthorSignatory> author:KurtCagle.
contract:C2 <hasWork> book:Ai.
contract:C2 <hasPublisherSignatory> editor:JaneDoe.
editor:JaneDoe <agentForPublisher> publisher:PrestigiousImprint.
@kurtcagle
kurtcagle / Contracts4.ttl
Created March 7, 2016 05:46
Contracts4.ttl
contract:C1 <hasAuthorSignatory> author:KurtCagle.
contract:C1 <hasWork> book:Kunoichi.
contract:C1 <hasPublisherSignatory> editor:JaneDoe.
editor:JaneDoe <agentForPublisher> publisher:PrestigiousImprint.
@kurtcagle
kurtcagle / Contracts3.ttl
Created March 7, 2016 05:45
Contracts3.ttl
author:TerryPratchett <wrote> book:TheLongEarth.
author:StephenBaxter <wrote> book:TheLongEarth.
author:TerryPratchett <wrote> book:GoodOmens.
author:NielGaiman <wrote> book:GoodOmens.
@kurtcagle
kurtcagle / Contracts2.ttl
Created March 7, 2016 05:45
Contracts2.ttl
author:TerryPratchett <wrote>
book:Hogfather,
book:Thud,
book:AHatMadeOfSky,
book:AMonstrousRegiment,
etc.
@kurtcagle
kurtcagle / contracts1.ttl
Created March 7, 2016 05:44
Contracts 1
author:TerryPratchett <wrote> book:Hogfather.
@kurtcagle
kurtcagle / Contracts.ttl
Created March 7, 2016 05:40
This is my contracts article from LinkedIn.
I am not a lawyer. However, as a consultant, I have both prepared and signed my fair share of contracts over the years, and as an ontologist, I've actually thought pretty deeply about the "meta" nature of such contracts.
Contracts are pervasive in society. Every time two people agree to do something, they are in effect creating a contract. Some contracts are obvious - when you agree to accepting work with a company, you are making a contract with an employer - a certain amount of the worker's labor in exchange for an equivalent amount of money or similar renumeration.
When two people marry, they are creating a legal contract as well as a binding, one that from a legal standpoint recognizes the married couple as a distinct legal entity with certain benefits and responsibilities. Note that this is a little more complex in that the binding - the agreement that two people have with one another in that marriage - is not the actual contract. The contract is with the state to grant rights based upon the marriage i
@kurtcagle
kurtcagle / ArtOfNames7.txt
Last active February 14, 2016 04:03
The Art of Names, Listing 7.
#JSON Output:
{"_id_":"person1",
Person:{
"_id_":"personNames1",
personNames:[
{"_id_":"personName1",
"firstName:"Jane",
"lastName":"Doe"
},