Skip to content

Commit

Permalink
ready for 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ecow committed Mar 8, 2017
1 parent 38f1748 commit a4048f3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [changelog

## [unrelised]


## [6.1.0]
Product reefactory.

### Changed
- changed Model interface

## [6.0.0]
Completelly rewitten

## [6.0.0]
Completelly rewitten.

Expand Down Expand Up @@ -52,7 +59,8 @@ Completelly rewitten.
- Moved from google code
- Code, doc and tests completed

[Unreleased]: https://github.com/linkeddatacenter/BOTK-core/compare/6.0.0...HEAD
[Unreleased]: https://github.com/linkeddatacenter/BOTK-core/compare/6.1.0...HEAD
[6.1.0]: https://github.com/linkeddatacenter/BOTK-core/compare/6.1.0...6.0.0
[6.0.0]: https://github.com/linkeddatacenter/BOTK-core/compare/6.0.0...5.1.1
[5.1.1]: https://github.com/linkeddatacenter/BOTK-core/compare/5.1.1...5.1.0
[5.1.0]: https://github.com/linkeddatacenter/BOTK-core/compare/5.0.1...5.1.0
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@

# BOTK\Core
[![Build Status](https://img.shields.io/travis/linkeddatacenter/BOTK-core.svg?style=flat-square)](http://travis-ci.org/linkeddatacenter/BOTK-core)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/linkeddatacenter/BOTK-core.svg?style=flat-square)](https://scrutinizer-ci.com/g/linkeddatacenter/BOTK-core)
[![Latest Version](https://img.shields.io/packagist/v/botk/core.svg?style=flat-square)](https://packagist.org/packages/botk/core)
[![Total Downloads](https://img.shields.io/packagist/dt/botk/core.svg?style=flat-square)](https://packagist.org/packages/botk/core)
[![License](https://img.shields.io/packagist/l/botk/core.svg?style=flat-square)](https://packagist.org/packages/botk/core)

Super lightweight classes for developing smart gateways to populate a business knowlege base
compliant with [KEES](http://linkeddata.center/kees) model.
Super lightweight classes and ontologies for developing smart gateways to populate a business knowlege base.

## quickstart

Expand All @@ -27,7 +25,7 @@ Add following dependance to **composer.json** file in your project root:
```
{
"require": {
"botk/core": "~6.0",
"botk/core": "~6.1",
}
}
```
Expand Down Expand Up @@ -63,7 +61,7 @@ Following vocabularies are partially supported:



The primary focus o BOTK are Local Business, defined as a legal organization Business witha physical postal address contact point.
The primary focus o BOTK are Local Business, defined as a legal organization Business with a physical postal address contact point.
BOTK vocabulary extends schema.org with some custom resource related to businesses:

## String context
Expand All @@ -75,7 +73,7 @@ No string context should be used to qualify strings.
States that the annotated subject is near (from a geographic point of view) to a another object.

### botk:[similarStreet]
This functiona property States that the annotated LocalBusiness has an address translitteration
This functiona property States that the annotated subject has an address translitteration
(i.e. the string representation of a postal address from a lexical point of view) similar
to the the one of another local business (e.g "Via Leonardo Da Vinci,1 - NAPOLI" is similar to "Viale L.Davinci,1 - MILANO").

Expand All @@ -87,7 +85,7 @@ to the the one of another object (e.g "BAR Roma" is similar to "Caffè di Roma")

## schema:LocalBusiness

Captures the concept about a public legal registered business organization with a contactable geographic selling point .
Captures the concept about a public legal registered business organization with a contactable official contact point .
This class can be specialized to state the reason of the business interest (e.g. see schema:LocalBusiness classifications).


Expand Down Expand Up @@ -171,6 +169,7 @@ Example (in rdf turtle):
Following properties/annotations supported for all object:

- foaf:homepage with cardinality >= 0 strictly as Inverse Functional Property
- foaf:mbox with cardinality >= 0 strictly as Inverse Functional Property
- foaf:page with cardinality >= 0a web page related to the resource
- dct:identifier with cardinality <= 1 an unique identifier in the context of the subject namespace.
- owl:sameAs with cardinality >= 0,URL of a reference Web page that unambiguously indicates the item's identity.
Expand All @@ -185,7 +184,7 @@ Example (in rdf turtle):
## Data trust ##

Trust in data can be expressed according with the [Dataset Quality Vocabulary (daQ)](http://butterbur04.iai.uni-bonn.de/ontologies/daq/daq).
Quality observation can be associated to object or reficated statements :
Quality observation can be associated to any uri or reficated statements :

Example (in rdf turtle):
```
Expand All @@ -194,7 +193,7 @@ Example (in rdf turtle):
daq:computedOn ex:localbusines_1 ;
dct:date "2014-01-23T14:53:01"^^xsd:dateTime ;
daq:value "1.0"^^xsd:double ;
daq:metric botk:trustMetric ;
daq:metric kees:trustMetric ;
daq:computedBy [ foaf:homepage <http://linkeddata.center> ] ;
daq:isEstimated false .
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Model/LocalBusinessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function goodRdf()
'lat' => '1.12345',
'long' => '2.123456',
),
'<urn:local:1234567890> a schema:LocalBusiness;a schema:MedicalOrganization;dct:identifier "1234567890";schema:vatID "01234567890";schema:legalName "EXAMPLE SRL";schema:alternateName "Example";schema:telephone "3356382949";schema:faxNumber "3356382949";schema:page <http://linkeddata.center/>;schema:email "ADMIN@FAGNONI.COM";schema:geo <geo:1.12345,2.123456>;schema:address <urn:local:1234567890_address>. <urn:local:1234567890_address> a schema:PostalAddress;schema:description "VIA F.VALSECCHI, 124 - 23900 LECCO (LC)";schema:streetAddress "VIA FAUSTO VALSECCHI, 124";schema:postalCode "23900";schema:addressLocality "LECCO";schema:addressRegion "LC";schema:addressCountry "IT". <geo:1.12345,2.123456> a schema:GeoCoordinates;wgs:lat "1.12345"^^xsd:float;wgs:long "2.123456"^^xsd:float . ',
'<urn:local:1234567890> a schema:LocalBusiness;a schema:MedicalOrganization;dct:identifier "1234567890";schema:vatID "01234567890";schema:legalName "EXAMPLE SRL";schema:alternateName "Example";schema:telephone "3356382949";schema:faxNumber "3356382949";foaf:page <http://linkeddata.center/>;schema:email "ADMIN@FAGNONI.COM";schema:geo <geo:1.12345,2.123456>;schema:address <urn:local:1234567890_address>. <urn:local:1234567890_address> a schema:PostalAddress;schema:description "VIA F.VALSECCHI, 124 - 23900 LECCO (LC)";schema:streetAddress "VIA FAUSTO VALSECCHI, 124";schema:postalCode "23900";schema:addressLocality "LECCO";schema:addressRegion "LC";schema:addressCountry "IT". <geo:1.12345,2.123456> a schema:GeoCoordinates;wgs:lat "1.12345"^^xsd:float;wgs:long "2.123456"^^xsd:float . ',
22,
),
);
Expand Down

0 comments on commit a4048f3

Please sign in to comment.