OpenPermID-bulk-person-20180916_070349.ttl missing tr-vcard namespace definition

I am following the quite excellent tutorial on loading OpenPermId data (
https://jbarrasa.com/2018/02/01/neo4j-is-your-rdf-store-part-3-thomson-reuters-openpermid/) and discovered that the tr-vcard namespace that is reference on line
51389 of the file
OpenPermID-bulk-person-20180916_070349.ttl
is not defined in the file itself. I added
@prefix tr-vcard: <http://permid.org/ontology/tr-vcard/> .
to the top of the .ttl file, and now it loads. The error I was getting was:
Namespace prefix 'tr-vcard' used but not defined [line 51389]
Best Answer
-
This issue has been resolved on 25 Nov 2018. The latest file (OpenPermID-bulk-person-20181125_060228.ttl.gz) contains tr-vcard and vcard prefixes.
@prefix tr-vcard: <http://permid.org/ontology/tr-vcard/#> .
@prefix tr-common: <http://permid.org/ontology/common/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix tr-person: <http://permid.org/ontology/person/> .0
Answers
-
OpenPermID-bulk-person-20180923_091121.ttl is available. Can you test with this latest one?
0 -
No joy... Here is a screenshot...screenshot-at-sep-26-09-39-37.png
0 -
I have tested the TTL file with the Apache Jena, as mentioned on this thread.
I used it with the short version of the OpenPermID-bulk-person-20180923_091121.ttl file.
@prefix tr-person: <http://permid.org/ontology/person/> .
@prefix tr-common: <http://permid.org/ontology/common/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
<https://permid.org/1-10010167>
a tr-person:AcademicDegree ;
tr-common:hasPermId "10010167"^^xsd:string ;
skos:prefLabel "Doctorate in Philosophy"^^xsd:string .
<https://permid.org/1-10010156>
a tr-person:AcademicDegree ;
tr-common:hasPermId "10010156"^^xsd:string ;
skos:prefLabel "Doctor of Law (Juris Doctor)"^^xsd:string .
<https://permid.org/1-10010148>
a tr-person:AcademicDegree ;
tr-common:hasPermId "10010148"^^xsd:string ;
skos:prefLabel "Bachelor's Degree"^^xsd:string .
<https://permid.org/1-10011917>
a tr-person:AcademicDegree ;
tr-common:hasPermId "10011917"^^xsd:string ;
skos:prefLabel "Honour's Bachelor's of Business Administration"^^xsd:string .
<https://permid.org/1-10011906>
a tr-person:AcademicDegree ;
tr-common:hasPermId "10011906"^^xsd:string ;
skos:prefLabel "Bachelor of Commerce"^^xsd:string .
<https://permid.org/1-34419229867>
a tr-person:Person ;
tr-common:hasPermId "34419229867"^^xsd:string ;
tr-common:hasPublicationStatus tr-common:publicationstatuspublished ;
tr-person:hasQualification <https://permid.org/1-37634861017> , <https://permid.org/1-37634861364> ;
vcard:additional-name "Brooke"^^xsd:string ;
vcard:family-name "Seeley"^^xsd:string ;
vcard:given-name "Morgan"^^xsd:string .
<https://permid.org/1-34419163531>
a tr-person:Person ;
tr-common:hasPermId "34419163531"^^xsd:string ;
tr-common:hasPublicationStatus tr-common:publicationstatuspublished ;
tr-person:hasQualification <https://permid.org/1-37634776849> , <https://permid.org/1-37634777757> ;
vcard:family-name "Cushmaro"^^xsd:string ;
vcard:given-name "Tal"^^xsd:string .
<https://permid.org/1-34413761473>
a tr-person:Person ;
tr-common:hasPermId "34413761473"^^xsd:string ;
tr-common:hasPublicationStatus tr-common:publicationstatussuperseded ;
tr-vcard:preferred-name "Chris"^^xsd:string ;
vcard:family-name "Lambert"^^xsd:string ;
vcard:given-name "Christopher"^^xsd:string ;
vcard:hasGender vcard:male .After running, I got this error:
11:06:45 ERROR riot :: [line: 37, col: 9 ] Undefined prefix: vcard
Failed to load dataTherefore, I added the vcard prefix to the TTL file.
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
After re-running, I got another error.
11:08:26 ERROR riot :: [line: 53, col: 9 ] Undefined prefix: tr-vcard
Failed to load dataThus, I added another tr-vcard prefix to the TTL file.
@prefix tr-vcard: <http://permid.org/ontology/tr-vcard/> .
After adding those prefixes, it is running fine.
The completed test TTL file is attached: personttl.txt
I can contact the Open PermID team to add those prefixes to the OpenPermID-bulk-person file.
0 -
Thanks for sharing.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 687 Datastream
- 1.4K DSS
- 622 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 254 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 676 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛