Fileman Output transform using namespacing makes triples easier to read

17 views
Skip to first unread message

George Lilly

unread,
Dec 7, 2011, 12:16:35 PM12/7/11
to fileman-tr...@googlegroups.com
I wrote a fileman output transform for the fields in the triple store to apply a namespacing table and shorting the display length of the triples. It makes a big difference when using fileman to look at the triples...

Here's before:

C0X TRIPLE LIST                                DEC  7,2011  17:10    PAGE 1
SUBJECT                   PREDICATE                  OBJECT
--------------------------------------------------------------------------------

        GRAPH: /home/glilly/fmts/trunk/samples/qds/QDS_0001.rdf

/A_1244                   http://cms.gov/pqri/qds/NQF_id
                                                     0001

/A_1244                   http://cms.gov/pqri/qds/measure_name
                                                     Asthma  Assessment

/A_1244                   http://cms.gov/pqri/qds/QDS_id
                                                     A_1244

/A_1244                   http://cms.gov/pqri/qds/standard_concept
                                                     Asthma

/A_1244                   http://cms.gov/pqri/qds/standard_category
                                                     Diagnosis / Condition /
                                                     Problem

/A_1244                   http://cms.gov/pqri/qds/QDS_data_type



and here's the same thing after:

C0X TRIPLE LIST                                DEC  7,2011  17:15    PAGE 1
SUBJECT                   PREDICATE                  OBJECT
--------------------------------------------------------------------------------

        GRAPH: file:qds/QDS_0001.rdf

/A_1244                   qds:NQF_id                 0001

/A_1244                   qds:measure_name           Asthma  Assessment

/A_1244                   qds:QDS_id                 A_1244

/A_1244                   qds:standard_concept       Asthma

/A_1244                   qds:standard_category      Diagnosis / Condition /
                                                                      Problem

/A_1244                   qds:QDS_data_type          diagnosis active

/A_1244                   qds:standard_concept_id    A_c362

/A_1244                   qds:standard_taxonomy      GROUPING

glilly

unread,
Dec 7, 2011, 12:29:37 PM12/7/11
to Fileman Triple Store
Here's a smart RDF file with the new output transform:

C0X TRIPLE LIST DEC 7,2011 17:28


PAGE 1
SUBJECT PREDICATE OBJECT
--------------------------------------------------------------------------------

GRAPH: file:smart-rdf-in/cole-susan.rdf

smart:1551992/demographics rdf:type foaf:Person

smart:1551992/demographics sp:zipcode 74126

smart:1551992/demographics foaf:gender female

smart:1551992/demographics sp:birthday 1948-11-24

smart:1551992/demographics foaf:givenName Susan

smart:1551992/demographics foaf:familyName Cole

smart:1551992/lab_results/0b3a0b6e-1911-48de-9aea-138b548a2d38
rdf:type sp:LabResult

smart:1551992/lab_results/0b3a0b6e-1911-48de-9aea-138b548a2d38
sp:externalID A593807238

Nancy Anthracite

unread,
Dec 7, 2011, 5:23:02 PM12/7/11
to fileman-tr...@googlegroups.com, George Lilly
:-)))))))))


--
Nancy Anthracite

glilly

unread,
Dec 13, 2011, 3:21:13 PM12/13/11
to Fileman Triple Store
I released a new kids file with the output transform in it.

https://trac.opensourcevista.net/browser/fmts/trunk/kids

the direct download link is here:

https://trac.opensourcevista.net/svn/fmts/trunk/kids/C0X_1_0_0_T8.KID

Reply all
Reply to author
Forward
0 new messages