Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка в примере ИП – неверный домен для p79_has_type #18

Open
ehlyzov opened this issue Aug 7, 2017 · 3 comments
Assignees
Labels

Comments

@ehlyzov
Copy link
Contributor

ehlyzov commented Aug 7, 2017

https://github.com/DataFabricRus/ontology-fts/blob/master/fts-ie-example.ttl#L214
В качестве домена могут выступать только экземпляры C2_Reg_Entity, а C5_Individual_Entrepreneur_Details не наследуется от C2_Reg_Entity.

@ehlyzov ehlyzov added the bug label Aug 7, 2017
@ehlyzov
Copy link
Contributor Author

ehlyzov commented Aug 7, 2017

Можно решить добавлением в fts:C5_Individual_Entrepreneur_Details нового свойства:

 <owl:ObjectProperty rdf:about="http://www.semanticweb.org/fts-ontology/owl#p138_has_ie_type">
        <rdfs:domain rdf:resource="http://www.semanticweb.org/fts-ontology/owl#C5_Individual_Entrepreneur_Details"/>
        <rdfs:range rdf:resource="http://www.semanticweb.org/fts-ontology/owl#C33_IE_Type"/>
        <rdfs:label xml:lang="en">p138 has type of IE</rdfs:label>
        <rdfs:label xml:lang="ru">p138 имеет тип ИП</rdfs:label>
    </owl:ObjectProperty>

@ehlyzov
Copy link
Contributor Author

ehlyzov commented Aug 7, 2017

В выписке выглядит вот так (свойства КодВидИП / НаимВидИП)

{
    "ДатаВып": "2016-03-31",
    "ОГРНИП": "304526202000075",
    "ДатаОГРНИП": "2004-01-20",
    "ИННФЛ": "526207337657",
    "КодВидИП": "1",
    "НаимВидИП": "ИНДИВИДУАЛЬНЫЙ ПРЕДПРИНИМАТЕЛЬ",
    "ДатаВыг": "2016-04-01",
    "@convert_ts": "2017-08-04T13:55:59.996"
  }

@ehlyzov
Copy link
Contributor Author

ehlyzov commented Aug 23, 2017

снять ограничение на домен + составить справочник видов ИП.

@ehlyzov ehlyzov self-assigned this Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant