-
Notifications
You must be signed in to change notification settings - Fork 72
/
UXExperimentalTerms.kif
executable file
·4656 lines (3583 loc) · 136 KB
/
UXExperimentalTerms.kif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;; ===================================================================
;; Definitions for User Experience Experimental Terms.
;; ===================================================================
;;
;; Authors: Jay Weiler, Adam Pease.
;;
;; This file is released under the GNU Public License <http://www.gnu.org/copyleft/gpl.html>.
;; Users of this code also consent, by use of this material, to credit Articulate Software in any
;; writings, briefings, publications, presentations, or other representations of any code or other
;; product which incorporates, builds on, or uses this material.
;;
;; We ask that people using or referencing this work cite our primary paper:
;;
;; Niles, I., and Pease, A. 2001. Towards a Standard Upper Ontology. In Proceedings of the 2nd
;; International Conference on Formal Ontology in Information Systems (FOIS-2001), Chris Welty and
;; Barry Smith, eds, Ogunquit, Maine, October 17-19, 2001.
;;
;; See also http://www.ontologyportal.org
;;
;; BEGIN FILE:
;; -------------------------------------------------------------------
;; LISTINGS
;; -------------------------------------------------------------------
(subclass WebListing Advertising)
(termFormat EnglishLanguage WebListing "web listing")
(documentation WebListing EnglishLanguage "A subclass of &%Avertising which is hostedOn a WebSite.
The &%Creator of the WebListing must be a &%webSeller on the &%WebSite it is &%hostedOn.")
(=>
(instance ?LISTING WebListing)
(exists (?SITE)
(and
(instance ?SITE WebSite)
(hostedOn ?LISTING ?SITE))))
(=>
(and
(instance ?LISTING WebListing)
(instance ?SITE WebSite)
(hostedOn ?LISTING ?SITE)
(creator ?LISTING ?AGENT))
(webSeller ?AGENT ?SITE))
(instance listingSeller BinaryPredicate)
(domain listingSeller 1 WebListing)
(domain listingSeller 2 AutonomousAgent)
(termFormat EnglishLanguage listingSeller "listing seller")
(documentation listingSeller EnglishLanguage "(listingSeller ?LISTING ?AGENT) relates an &%AutonomousAgent to
a &%WebListing. It represents that ?AGENT is the entity that &%desires the &%Selling of the
&%patient of the ?LISTING. It also means that ?AGENT is the &%creator of ?LISTING and that ?AGENT
is a &%webSeller on the &%WebSite that ?LISTING is &%hostedOn.")
(=>
(listingSeller ?LISTING ?AGENT)
(creator ?LISTING ?AGENT))
(=>
(and
(listingSeller ?LISTING ?AGENT)
(instance ?OBJ Object)
(patient ?LISTING ?OBJ))
(desires ?AGENT
(exists (?SELLING)
(patient ?SELLING ?OBJ))))
(=>
(and
(listingSeller ?LISTING ?AGENT)
(hostedOn ?LISTING ?SITE))
(webSeller ?AGENT ?SITE))
(instance listingBuyer BinaryPredicate)
(domain listingBuyer 1 WebListing)
(domain listingBuyer 2 AutonomousAgent)
(termFormat EnglishLanguage listingBuyer "listing buyer")
(documentation listingBuyer EnglishLanguage "(listingBuyer ?LISTING ?AGENT) relates an &%AutonomousAgent to
a &%WebListing. It represents that ?AGENT is the entity that was the &%agent of a &%Buying
where the &%Object which is the &%patient of the buying is also the &%patient the ?LISTING, and the
&%WebSite which the ?LISTING is &%hostedOn is the &%eCommerceSite of the buying.")
(=>
(and
(listingBuyer ?LISTING ?BUYER)
(instance ?OBJ Object)
(instance ?SITE WebSite)
(patient ?LISTING ?OBJECT)
(hostedOn ?LISTING ?SITE))
(exists (?BUYING)
(and
(instance ?BUYING Buying)
(patient ?BUYING ?OBJ)
(eCommerceSite ?BUYING ?SITE)
(agent ?BUYING ?BUYER))))
(instance listingBidder BinaryPredicate)
(domain listingBidder 1 WebListing)
(domain listingBidder 2 AutonomousAgent)
(termFormat EnglishLanguage listingBidder "listing bidder")
(documentation listingBidder EnglishLanguage "(listingBidder ?LISTING ?AGENT) means that ?AGENT bid
on the &%Object which is the &%patient of the &%webListing ?LISTING - i.e. if ?OBJECT is the
patient of ?LISTING, there exists some ?MONEY where (&%bidPrice ?OBJECT ?MONEY ?AGENT)")
(=>
(and
(listingBidder ?LISTING ?AGENT)
(instance ?OBJ Object)
(patient ?LISTING ?OBJ))
(exists (?MONEY)
(bidPrice ?OBJ ?MONEY ?AGENT)))
(instance hostedOn BinaryPredicate)
(domain hostedOn 1 WebListing)
(domain hostedOn 2 WebSite)
(termFormat EnglishLanguage hostedOn "hosted on")
(documentation hostedOn EnglishLanguage "(hostedOn ?LISTING ?SITE) means that the &%WebListing
?LISTING is a &%Component of a &%WebPage which is a &%Component of the &%WebSite ?SITE.")
(=>
(hostedOn ?LISTING ?SITE)
(exists (?PAGE)
(and
(instance ?PAGE WebPage)
(subString ?LISTING ?PAGE)
(subString ?PAGE ?SITE))))
(subclass WebListingCategory Collection)
(termFormat EnglishLanguage WebListingCategory "web listing category")
(documentation WebListingCategory EnglishLanguage "a &%collection of &%WebListings where all the
items being advertised in those listings are of the same class.")
(=>
(and
(instance ?CATEG WebListingCategory)
(member ?LISTING ?CATEG))
(instance ?LISTING WebListing))
(=>
(and
(instance ?CATEG WebListingCategory)
(instance ?LISTING1 WebListing)
(instance ?LISTING2 WebListing)
(instance ?ITEM1 Object)
(instance ?ITEM2 Object)
(member ?LISTING1 ?CATEG)
(member ?LISTING2 ?CATEG)
(patient ?ITEM1 ?LISTING1)
(patient ?ITEM2 ?LISTING2))
(exists (?CLASS)
(and
(instance ?CLASS Class)
(instance ?ITEM1 ?CLASS)
(instance ?ITEM2 ?CLASS))))
(instance categoryID BinaryPredicate)
(domain categoryID 1 Identifier)
(domain categoryID 2 WebListingCategory)
(documentation categoryID EnglishLanguage "(categoryID ?STRING ?CAT) Associates an
&%Identifer ?STRING to a &%WebListingCategory ?CAT. They are likely to be unique.")
(termFormat EnglishLanguage categoryID "category identifier string")
(=>
(categoryID ?STRING ?CAT)
(represents ?STRING ?USER))
(instance categoryOf BinaryPredicate)
(domain categoryOf 1 WebListingCategory)
(domain categoryOf 2 WebSite)
(termFormat EnglishLanguage categoryOf "category of")
(documentation categoryOf EnglishLanguage "A &%BinaryPredicate which relates a &%WeblistingCategory
to a &%WebSite that uses that category to organize its listings.")
(instance advertisedOn BinaryPredicate)
(domain advertisedOn 1 Object)
(domain advertisedOn 2 WebSite)
(format EnglishLanguage advertisedOn "%1 was &%advertisedOn %2")
(termFormat EnglishLanguage advertisedOn "advertised on")
(documentation advertisedOn EnglishLanguage "(advertisedOn ?OBJ ?SITE) means that there exists an instance
of &%Advertising where ?OBJ is the patient of the Advertising and the advertising is a &%component of
a &%WebPage which is a component of ?SITE.")
(=>
(advertisedOn ?OBJ ?SITE)
(exists (?ADVERT)
(and
(instance ?ADVERT Advertising)
(hostedOn ?ADVERT ?SITE)
(patient ?ADVERT ?OBJ))))
(subclass InsertionFee ChargingAFee)
(termFormat EnglishLanguage InsertionFee "insertion fee")
(documentation InsertionFee EnglishLanguage "A type of &%ChargingAFee where the &%agent of the
&%InsertionFee is the &%AutonomousAgent who &%possesses a %&WebSite where a &%WebListing is &%hostedOn. A
&%ListOnSite &%causes the &%InsertionFee, and the &%agent of both is an &%AutonomousAgent who &%Possesses the
&%WebSite.")
(=>
(instance ?CHARGE InsertionFee)
(exists (?SITE ?OWNER ?ADVERT)
(and
(instance ?SITE WebSite)
(instance ?OWNER AutonomousAgent)
(instance ?ADVERT WebListing)
(hostedOn ?ADVERT ?SITE)
(possesses ?OWNER ?SITE)
(agent ?CHARGE ?OWNER))))
(=>
(instance ?CHARGE InsertionFee)
(exists (?ADVERT ?PROC ?OWNER)
(and
(instance ?ADVERT WebListing)
(instance ?PROC ListOnSite)
(instance ?OWNER AutonomousAgent)
(patient ?PROC ?ADVERT)
(causes ?PROC ?CHARGE)
(agent ?CHARGE ?OWNER)
(agent ?PROC ?OWNER))))
(subclass FinalValueFee ChargingAFee)
(termFormat EnglishLanguage FinalValueFee "final fee")
(documentation FinalValueFee EnglishLanguage "A type of &%ChargingAFee where the &%agent of the
&%FinalValueFee is the &%AutonomousAgent who &%possesses a %&WebSite where a &%WebListing is &%hostedOn. A
&%Selling of the &%patient of the listing where the &%WebSite is the &%eCommerceSite of the selling
&%causes the &%FinalValueFee.")
(=>
(instance ?CHARGE FinalValueFee)
(exists (?ADVERT ?SELLING ?OWNER ?ITEM ?SITE)
(and
(instance ?ADVERT WebListing)
(instance ?SELLING Selling)
(instance ?OWNER AutonomousAgent)
(instance ?ITEM Physical)
(instance ?ADVERT WebListing)
(patient ?ADVERT ?ITEM)
(patient ?SELLING ?ITEM)
(causes ?SELLING ?CHARGE)
(agent ?CHARGE ?OWNER)
(hostedOn ?ADVERT ?SITE)
(possesses ?OWNER ?SITE)
(eCommerceSite ?SELLING ?OWNER))))
(subclass ListOnSite IntentionalProcess)
(termFormat EnglishLanguage ListOnSite "list on site")
(documentation ListOnSite EnglishLanguage "An &%IntentionalProcess meant to represent the actions
taken to initially list a &%Weblisting on a &%WebSite. There &%exists a &%TimeInterval before the
processes occurred where the &%patient &%WebListing was not &%hostedOn the WebSite and a
&%TimeInterval after which it does. The &%TimePoint marking the end of when the site is not hosted
is the same as the end of the process (i.e. when WebListing began to be listed.")
(=>
(instance ?LIST ListOnSite)
(exists (?SITE ?ADVERT ?EARLIER ?AFTER ?OWNER)
(and
(instance ?SITE WebSite)
(instance ?ADVERT WebListing)
(instance ?EARLIER TimeInterval)
(instance ?AFTER TimeInterval)
(patient ?LIST ?ADVERT)
(equal
(EndFn ?EARLIER)
(EndFn ?LIST))
(earlier ?LIST ?AFTER)
(meetsTemporally ?LIST ?AFTER)
(holdsDuring ?EARLIER
(not
(hostedOn ?ADVERT ?SITE)))
(holdsDuring ?AFTER
(hostedOn ?ADVERT ?SITE))
(agent ?LIST ?OWNER)
(possesses ?OWNER ?SITE))))
;; -------------------------------------------------------------------
;; LISTING TYPES AND ATTRIBUTES
;; -------------------------------------------------------------------
(subclass ListingAttribute Attribute)
(termFormat EnglishLanguage ListingAttribute "web listing attribute")
(documentation ListingAttribute EnglishLanguage "A &%subclass of &%Attribute specific to describe
&%Weblistings.")
(=>
(and
(attribute ?LISTING ?ATTRIBUTE)
(instance ?ATTRIBUTE ListingAttribute))
(instance ?LISTING WebListing))
(instance AuctionAttribute ListingAttribute)
(termFormat EnglishLanguage AuctionAttribute "auction attribute")
(documentation AuctionAttribute EnglishLanguage "A &%ListingAttribute of a &%WebListing where the
&%creator of the listing &%desires the successful &%Auctioning of the item which is the &%patient
of the listing.")
(=>
(and
(instance ?LISTING WebListing)
(instance ?ITEM Object)
(instance ?CREATOR AutonomousAgent)
(attribute ?LISTING AuctionAttribute)
(patient ?ITEM ?LISTING)
(creator ?CREATOR ?LISTING))
(desires ?CREATOR
(exists (?AUCTION)
(and
(instance ?AUCTION Auctioning)
(patient ?AUCTION ?ITEM)))))
(subclass Auctioning Selling)
(documentation Auctioning EnglishLanguage "A type of &%Selling where the &%destination of the
&%patient of the Auctioning (i.e. the item being sold) is the &%AutonomousAgent who placed the highest
&%bidPrice.")
(termFormat EnglishLanguage Auctioning "auctioning")
(=>
(instance ?AUCTIONING Auctioning)
(exists (?ITEM)
(and
(instance ?ITEM Object)
(patient ?AUCTIONING ?ITEM))))
(=>
(and
(instance ?AUCTIONING Auctioning)
(instance ?ITEM Object)
(patient ?AUCTIONING ?ITEM))
(exists (?BIDDER ?OFFER)
(and
(instance ?BIDDER AutonomousAgent)
(instance ?OFFER CurrencyMeasure)
(bidPrice ?ITEM ?OFFER ?BIDDER))))
(=>
(and
(instance ?AUCTIONING Auctioning)
(instance ?BIDDER1 AutonomousAgent)
(instance ?BIDDER2 AutonomousAgent)
(instance ?ITEM Object)
(instance ?U UnitOfCurrency)
(patient ?AUCTIONING ?ITEM)
(bidPrice ?ITEM (MeasureFn ?OFFER1 ?U) ?BIDDER1)
(bidPrice ?ITEM (MeasureFn ?OFFER2 ?U) ?BIDDER2)
(greaterThan ?OFFER1 ?OFFER2))
(destination ?AUCTIONING ?BIDDER1))
(instance ForSaleByOwner ListingAttribute)
(termFormat EnglishLanguage ForSaleByOwner "FSBO")
(documentation ForSaleByOwner EnglishLanguage "A ListingAttribute Where the item which is the
&%patient is a &%Vehicle and the owner is a &%Human (i.e. not a dealership.")
(=>
(and
(instance ?ITEM Object)
(instance ?LISTING WebListing)
(attribute ?LISTING ForSaleByOwner)
(patient ?LISTING ?ITEM))
(instance ?ITEM Vehicle))
(=>
(and
(instance ?ITEM Object)
(instance ?LISTING WebListing)
(instance ?OWNER AutonomousAgent)
(attribute ?LISTING ForSaleByOwner)
(possesses ?OWNER ?ITEM))
(instance ?OWNER Human))
(instance prohibitedItem BinaryPredicate)
(termFormat EnglishLanguage prohibitedItem "prohibited item")
(domain prohibitedItem 1 Object)
(domain prohibitedItem 2 WebSite)
(documentation prohibitedItem EnglishLanguage "(prohibitedItem ?Object ?SITE means that ?ITEM is
not allowed to be sold on &%WebSite ?SITE.")
(=>
(prohibitedItem ?ITEM ?SITE)
(modalAttribute
(exists (?SELLING)
(and
(instance ?SELLING Selling)
(eCommerceSite ?SELLING ?SITE)))
Prohibition))
(instance reservePrice BinaryPredicate)
(termFormat EnglishLanguage reservePrice "reserve Price")
(domain reservePrice 1 Auctioning)
(domain reservePrice 2 CurrencyMeasure)
(documentation reservePrice EnglishLanguage "(reservePrice ?AUCTION ?AMOUNT) means that if an
&%Auctioning was won (i.e. has a &%destination) then the buyer bid higher than ?AMOUNT.")
(=>
(and
(instance ?U UnitOfCurrency)
(reservePrice ?AUCTION (MeasureFn ?AMOUNT ?U))
(destination ?AUCTION ?BUYER))
(exists (?OFFER ?ITEM)
(and
(bidPrice ?ITEM (MeasureFn ?OFFER ?U) ?BUYER)
(greaterThan ?OFFER ?AMOUNT))))
(instance webStoreAdvertisement BinaryPredicate)
(domain webStoreAdvertisement 1 Advertising)
(domain webStoreAdvertisement 2 WebStore)
(termFormat EnglishLanguage webStoreAdvertisement "web store advertisement")
(documentation webStoreAdvertisement EnglishLanguage "(webstoreAdvertisement ?ADVERT ?STORE) means
that ?ADVERT is an an instance of &%Advertising which is a component of a &%WebPage which a member
of the &%WebStore ?STORE.")
(=>
(webStoreAdvertisement ?ADVERT ?STORE)
(exists (?ITEM ?PAGE)
(and
(refers ?ADVERT ?ITEM)
(component ?ADVERT ?PAGE)
(instance ?PAGE WebPage)
(member ?PAGE ?STORE))))
(instance unpaidItem BinaryPredicate)
(domain unpaidItem 1 Object)
(domain unpaidItem 2 AutonomousAgent)
(termFormat EnglishLanguage unpaidItem "unpaid item")
(documentation unpaidItem EnglishLanguage "(unpaidItem ?ITEM ?AGENT) means that ?AGENT &%Promised to
buy ?ITEM, but did not.")
(=>
(unpaidItem ?ITEM ?AGENT)
(and
(modalAttribute
(exists (?BUYING)
(and
(instance ?BUYING Buying)
(patient ?BUYING ?ITEM)
(agent ?BUYING ?AGENT))) Promise)
(not
(exists (?BUYING)
(and
(instance ?BUYING Buying)
(patient ?BUYING ?ITEM)
(agent ?BUYING ?AGENT))))))
;; -------------------------------------------------------------------
;; STATISTICAL TERMS
;; -------------------------------------------------------------------
(instance statisticalPopulation TernaryPredicate)
(domain statisticalPopulation 1 Collection)
(domain statisticalPopulation 2 Collection)
(domain statisticalPopulation 3 Experimenting)
(documentation statisticalPopulation EnglishLanguage "A statistical population is a set of entities
concerning which statistical inferences are to be drawn. (statisticalPopulation ?SAMPLE_COLL
?POP_COLL ?EXPERIMENT) means that the &%Collection ?SAMPLE_COLL is meant to be a representitive
sample of the population &%Collection ?POP_COLL in the intance of &%Experimenting ?EXPERIMENT.")
(=>
(and
(instance ?SAMPLE_COLL Collection)
(instance ?POP_COLL Collection)
(instance ?EXPERIMENT Experimenting)
(statisticalPopulation ?SAMPLE_COLL ?POP_COLL ?EXPERIMENT))
(subCollection ?SAMPLE_COLL ?POP_COLL))
(instance RepresentativeSample Attribute)
(termFormat EnglishLanguage RepresentativeSample "representative sample")
(documentation RepresentativeSample EnglishLanguage "An &%Attribute that is a &%property of a
collection that is the statistical sample in an experiment. If a collection representing the sample
has the property, then every other attribute that is a property of the collection and is also
&%inScopeOfInterest of the &%CognitiveAgent performing the experiment is also a property of the
collection representing the population.")
(=>
(and
(instance ?SAMPLE_COLL Collection)
(instance ?POP_COLL Collection)
(instance ?EXPERIMENT Experimenting)
(instance ?AGENT CognitiveAgent)
(agent ?EXPERIMENT ?AGENT)
(statisticalPopulation ?SAMPLE_COLL ?POP_COLL ?EXPERIMENT))
(forall (?ATTRIBUTE)
(=>
(and
(instance ?ATTRIBUTE Attribute)
(property ?SAMPLE_COLL ?ATTRIBUTE)
(inScopeOfInterest ?AGENT ?ATTRIBUTE)
(not
(equal ?ATTRIBUTE RepresentativeSample)))
(property ?POP_COLL ?ATTRIBUTE))))
(instance confidenceInterval BinaryPredicate)
(termFormat EnglishLanguage confidenceInterval "confidence interval")
(documentation confidenceInterval EnglishLanguage "(confidenceInterval ?EXPERIMENT ?CONFIDENCE) is
meant to represent the confidence interval of the conclusions of ?EXPERIMENT. ?CONFIDENCE is a
number which represents the percentage of the confidence interval. It represents the
&%ProbabilityFn of the results.")
(domain confidenceInterval 1 Experimenting)
(domain confidenceInterval 2 RealNumber)
(=>
(and
(confidenceInterval ?EXPERIMENT ?CONFIDENCE)
(instance ?EXPERIMENT Experimenting)
(instance ?FORMULA Formula)
(patient ?EXPERIMENT ?FORMULA))
(represents ?CONFIDENCE (ProbabilityFn ?FORMULA)))
(=>
(and
(confidenceInterval ?EXPERIMENT ?CONFIDENCE)
(instance ?EXPERIMENT Experimenting)
(instance ?FORMULA Formula)
(patient ?EXPERIMENT ?FORMULA)
(equal ?CONFIDENCE 100))
(truth ?FORMULA True))
(=>
(and
(confidenceInterval ?EXPERIMENT ?CONFIDENCE)
(instance ?EXPERIMENT Experimenting)
(instance ?FORMULA Formula)
(patient ?EXPERIMENT ?FORMULA)
(equal ?CONFIDENCE 100))
(truth ?FORMULA False))
(instance pValue BinaryPredicate)
(termFormat EnglishLanguage pValue "confidence interval")
(documentation pValue EnglishLanguage "(pValue ?EXPERIMENT ?VALUE) is meant to represent the p-value
of the conclusions of ?EXPERIMENT. ?VALUE is a number which represents the percentage of the
confidence interval. It represents the &%ProbabilityFn of the results.")
(domain pValue 1 Experimenting)
(domain pValue 2 RealNumber)
(=>
(and
(pValue ?EXPERIMENT ?VALUE)
(instance ?EXPERIMENT Experimenting)
(instance ?FORMULA Formula)
(patient ?EXPERIMENT ?FORMULA))
(represents ?VALUE (ProbabilityFn ?FORMULA)))
(=>
(and
(pValue ?EXPERIMENT ?VALUE)
(instance ?EXPERIMENT Experimenting)
(instance ?FORMULA Formula)
(patient ?EXPERIMENT ?FORMULA)
(equal ?VALUE 0))
(truth ?FORMULA True))
(=>
(and
(pValue ?EXPERIMENT ?VALUE)
(instance ?EXPERIMENT Experimenting)
(instance ?FORMULA Formula)
(patient ?EXPERIMENT ?FORMULA)
(equal ?VALUE 1))
(truth ?FORMULA False))
(instance tTest TernaryPredicate)
(termFormat EnglishLanguage tTest "t test result")
(documentation tTest EnglishLanguage "A t-Test is a way testing a hypothesis on the basis of a
difference between sample means. Here (tTest ?COLL1 ?COLL2 ?PROB) means that ?PROB is the
probability that ?COLL1 and ?COLL2 are samples of the same &%statisticalPopulation. This is meant to be used when ?COLL1 and ?COLL2
are two different &%statisticalPopulations.")
(domain tTest 1 Collection)
(domain tTest 2 Collection)
(domain tTest 3 RealNumber)
(=>
(tTest ?SAMPLE_COLL1 ?SAMPLE_COLL2 ?PROB)
(exists (?POP1 ?POP2 ?EXPERIMENT)
(and
(instance ?POP1 Collection)
(instance ?POP2 Collection)
(statisticalPopulation ?SAMPLE_COLL1 ?POP1 ?EXPERIMENT)
(statisticalPopulation ?SAMPLE_COLL2 ?POP2 ?EXPERIMENT)
(equal
?PROB
(ProbabilityFn (equal ?POP1 ?POP2))))))
;; -------------------------------------------------------------------
;; Users and User Accounts
;; -------------------------------------------------------------------
(instance accountAtSite BinaryPredicate)
(termFormat EnglishLanguage accountAtSite "account at site")
(domain accountAtSite 1 UserAccount)
(domain accountAtSite 2 WebSite)
(documentation accountAtSite EnglishLanguage "(accountAtSite ?ACCT ?SITE) means that the
&%UserAccount ?ACCT is associate with the &%WebSite ?SITE.")
(=>
(accountAtSite ?ACCT ?SITE)
(exists (?DATABASE ?SITE_OWNER)
(and
(instance ?DATABASE Database)
(instance ?SITE_OWNER AutonomousAgent)
(possesses ?SITE_OWNER ?SITE)
(possesses ?SITE_OWNER ?DATABASE)
(part ?ACCT ?DATABASE))))
(subclass AccountAttribute Attribute)
(documentation AccountAttribute EnglishLanguage "A &%Class of &%Attributes pertaining to
&%UserAccounts.")
(termFormat EnglishLanguage AccountAttribute "account attribute")
(=>
(and
(attribute ?ACCT ?ATTR)
(instance ?ATTR AccountAttribute))
(instance ?ACCT UserAccount))
(instance BusinessAccount AccountAttribute)
(termFormat EnglishLanguage BusinessAccount "business account")
(documentation BusinessAccount EnglishLanguage "This attribute represents that the account is
considered to be a business account.")
(=>
(and
(instance ?ACCOUNT UserAccount)
(attribute ?ACCOUNT BusinessAccount)
(hasAccount ?USER ?ACCOUNT))
(instance ?USER Business))
(instance ConsumerAccount AccountAttribute)
(termFormat EnglishLanguage ConsumerAccount "consumer account")
(documentation ConsumerAccount EnglishLanguage "This attribute represents that the account is
considered to be a consumer account.")
(instance webcart TernaryPredicate)
(termFormat EnglishLanguage webcart "web cart")
(documentation webcart EnglishLanguage "(webCart ?USER ?COLL ?SITE) associates a &%Collection of
&%Objects ?COLL with an &%AutonomousAgent ?USER and a &%WebSite ?SITE. It specifies that ?COLL is the users
webcart at ?SITE, and that ?USER &%desires to buy the &%members of ?COLL.")
(domain webcart 1 AutonomousAgent)
(domain webcart 2 Collection)
(domain webcart 3 WebSite)
(=>
(and
(webcart ?USER ?COLL ?SITE)
(member ?OBJ ?COLL))
(instance ?OBJ Object))
(=>
(and
(webcart ?USER ?COLL ?SITE)
(instance ?OBJ Object)
(member ?OBJ ?COLL))
(desires ?USER
(exists (?BUYING)
(and
(instance ?BUYING Buying)
(patient ?BUYING ?OBJ)
(agent ?BUYING ?USER)))))
(instance userFeedbackScore BinaryPredicate)
(termFormat EnglishLanguage userFeedbackScore "user feedback score")
(documentation userFeedbackScore EnglishLanguage "(userFeedbackScore ?ACCOUNT ?SCORE) associates a
&%UserAccount with a &%RealNumber which represents the scored feedback on that account by other
users on the same site.")
(domain userFeedbackScore 1 UserAccount)
(domain userFeedbackScore 2 RealNumber)
(=>
(userFeedbackScore ?ACCOUNT ?SCORE)
(greaterThanOrEqualTo 100 ?SCORE))
(=>
(userFeedbackScore ?ACCOUNT ?SCORE)
(greaterThanOrEqualTo ?SCORE 0))
(instance browserID TernaryPredicate)
(documentation browserID EnglishLanguage "Machine identifier based on browser
cookies. (browserID ?STRING ?BROWSER ?SITE) means that ?STRING is the &%Identifier of the &%Agent
of &%AccessingWebPage of a &%Webpage which is a &%component of ?SITE, where ?BROWSER was the
instrument of the accessing. i.e. ?STRING represents the users who use the browser to access the
site while the string is stored in the browser. &%browserIDs are highly likely to be unique.")
(termFormat EnglishLanguage browserID "browser identifier string")
(domain browserID 1 Identifier)
(domain browserID 2 WebBrowser)
(domain browserID 3 WebSite)
(=>
(browserID ?STRING ?BROWSER ?SITE)
(exists (?WEBPAGE ?ACCESSING ?AGENT ?BPROC)
(and
(instance ?WEBPAGE WebPage)
(subString ?WEBPAGE ?SITE)
(instance ?ACCESSING AccessingWebPage)
(instance ?AGENT AutonomousAgent)
(agent ?ACCESSING ?AGENT)
(programRunning ?BPROC ?BROWSER)
(causes ?BPROC ?ACCESSING)
(destination ?ACCESSING ?WEBPAGE)
(represents ?STRING ?AGENT))))
(=>
(browserID ?STRING ?BROWSER ?SITE)
(modalAttribute
(not
(exists (?BROWSER2)
(and
(instance ?BROWSER2 WebBrowser)
(browserID ?STRING ?BROWSER2 ?SITE))))
Likely))
(instance viewedItemList BinaryPredicate)
(domain viewedItemList 1 AutonomousAgent)
(domain viewedItemList 2 List)
(termFormat EnglishLanguage viewedItemList "list of viewed items")
(documentation viewedItemList EnglishLanguage "(viewedItemList ?USER ?LIST) relates a &%List
composed of &%AccessingWebPages in the order visited by ?USER, where each of the &%WebPages which
are the &%destinations of those accessings is contains a &%WebListing. The most recent
&%AccessingWebPage is at index 1")
(=>
(and
(viewedItemList ?USER ?LIST)
(inList ?ACCESSING ?LIST))
(and
(instance ?ACCESSING AccessingWebPage)
(agent ?ACCESSING ?USER)
(exists (?DEST)
(and
(instance ?DEST WebPage)
(destination ?ACCESSING WebPage)))))
(=>
(and
(viewedItemList ?USER ?LIST)
(instance ?ACCESSING AccessingWebPage)
(equal
(FirstFn ?LIST)
?ACCESSING))
(not
(exists (?ACCESSING2)
(and
(instance ?ACCESSING2 AccessingWebPage)
(agent ?ACCESSING2 ?USER)
(earlier
(WhenFn ?ACCESSING2)
(WhenFn ?ACCESSING))))))
(=>
(and
(viewedItemList ?USER ?LIST)
(instance ?ACCESSING1 AccessingWebPage)
(instance ?ACCESSING2 AccessingWebPage)
(agent ?ACCESSING1 ?USER)
(agent ?ACCESSING2 ?USER)
(instance ?INDEX1 PositiveInteger)
(instance ?INDEX2 PositiveInteger)
(equal
(ListOrderFn ?LIST ?INDEX1)
?ACCESSING1)
(equal
(ListOrderFn ?LIST ?INDEX2)
?ACCESSING2)
(greaterThan ?INDEX1 ?INDEX2))
(earlier
(WhenFn ?ACCESSING2)
(WhenFn ?ACCESSING1)))
(instance webPurchases TernaryPredicate)
(domain webPurchases 1 Collection)
(domain webPurchases 2 Human)
(domain webPurchases 3 WebSite)
(documentation webPurchases EnglishLanguage "(webPurchases ?COLLECTION ?HUMAN) relates a
collection of all instances of &%Buying by a &%Human on the &%WebSite.")
(termFormat EnglishLanguage webPurchases "web purchases")
(=>
(webPurchases ?PURCHASES ?BUYER ?SITE)
(forall (?BUYING)
(=>
(and
(instance ?BUYING Buying)
(agent ?BUYING ?BUYER)
(eCommerceSite ?BUYING ?SITE))
(member ?BUYING ?PURCHASES))))
(=>
(and
(webPurchases ?PURCHASES ?BUYER ?SITE)
(member ?BUYING ?PURCHASES))
(and
(instance ?BUYING Buying)
(agent ?BUYING ?BUYER)
(eCommerceSite ?BUYING ?SITE)))
;; registeredUser
;; -------------------------------------------------------------------
(instance registeredUser BinaryPredicate)
(domain registeredUser 1 AutonomousAgent)
(domain registeredUser 2 WebSite)
(documentation registeredUser EnglishLanguage "(registedUser ?AGENT ?SITE) means that ?AGENT is a
registered user at the &%WebSite ?SITE - i.e. ?AGENT &%hasAccount a &%UserAccount and that
&%UserAccount is an &%accountAtSite ?SITE. This also means that there is a part of the
&%userDatabase of ?SITE that represents the ?AGENT.")
(termFormat EnglishLanguage registeredUser "registered user")
(=>
(registeredUser ?USER ?WEBSITE)
(exists (?DATABASE ?PART)
(and
(userDatabase ?DATABASE ?WEBSITE)
(part ?PART ?DATABASE)
(represents ?PART ?USER))))
(=>
(registeredUser ?USER ?SITE)
(exists (?ACCT)
(and
(instance ?ACCT UserAccount)
(hasAccount ?USER ?ACCT)
(accountAtSite ?ACCT ?SITE))))
(=>
(and
(accountAtSite ?ACCOUNT ?SITE)
(hasAccount ?USER ?ACCOUNT))
(registeredUser ?USER ?SITE))
;; confirmedRegisteredUser
;; -------------------------------------------------------------------
(instance confirmedRegisteredUser BinaryPredicate)
(domain confirmedRegisteredUser 1 AutonomousAgent)
(domain confirmedRegisteredUser 2 WebSite)
(termFormat EnglishLanguage confirmedRegisteredUser "confirmed registed user")
(documentation confirmedRegisteredUser EnglishLanguage "(confirmedRegisteredUser ?AGENT ?SITE) means
that the &%AutonomousAgent ?Agent is a &%registeredUser of &%WebSite ?SITE, and has confirmed that
registration by responding to a registration email.")
(=>
(confirmedRegisteredUser ?USER ?SITE)
(registeredUser ?USER ?SITE))
;; webSales
;; -------------------------------------------------------------------
(instance webSales TernaryPredicate)
(domain webSales 1 Collection)
(domain webSales 2 Human)
(domain webSales 3 WebSite)
(documentation webSales EnglishLanguage "(webSales ?COLLECTION ?HUMAN ?SITE) relates a &%collection
of all instances of &%Selling by a &%Human on the ?SITE.")
(termFormat EnglishLanguage webSales "web sales")
(=>
(webSales ?SALES ?SELLER ?SITE)
(forall (?SELLING)
(=>
(and
(instance ?SELLING Selling)
(agent ?SELLING ?SELLER)
(eCommerceSite ?SELLING ?SITE))
(member ?SELLING ?SALES))))
(=>
(and
(webSales ?SALES ?SELLER ?SITE)
(member ?SELLING ?SALES))
(and
(instance ?SELLING Selling)
(agent ?SELLING ?SELLER)
(eCommerceSite ?SELLING ?SITE)))
;; webSeller
;; -------------------------------------------------------------------
(instance webSeller BinaryPredicate)
(domain webSeller 1 Human)
(domain webSeller 2 WebSite)
(termFormat EnglishLanguage webSeller "web seller")
(documentation webSeller EnglishLanguage "(webSeller ?SELLER ?SITE) means that item is advertised on
the &%WebSite ?SITE and ?SELLER &%desires there to be a &%selling (implicitly of that item) where
?SELLER is the agent.")
(=>
(webSeller ?SELLER ?SITE)
(exists (?LISTING)
(and
(instance ?LISTING WebListing)
(listingSeller ?LISTING ?SELLER)
(hostedOn ?LISTING ?SITE))))
(=>
(webSeller ?SELLER ?SITE)
(desires ?SELLER
(exists (?SELLING)
(and
(instance ?SELLING Selling)
(agent ?SELLING ?SELLER)))))
;; SellersItemsFn
;; -------------------------------------------------------------------
(instance SellersItemsFn BinaryFunction)
(domain SellersItemsFn 1 AutonomousAgent)
(domain SellersItemsFn 2 WebSite)
(range SellersItemsFn Collection)
(termFormat EnglishLanguage SellersItemsFn "sellers items")
(documentation SellersItemsFn EnglishLanguage "(SellersItemsFn ?AGENT ?SITE) is a &%BinaryFunction
that returns a &%Collection of the items for sale by ?AGENT on the &%WebSite ?SITE")
(=>
(and
(instance ?AGENT AutonomousAgent)
(instance ?SITE WebSite))
(exists (?COLL)
(and
(instance ?COLL Collection)
(forall (?LISTING)
(=>