Changeset 1390 for fmts/trunk


Ignore:
Timestamp:
Mar 31, 2012, 4:39:11 PM (13 years ago)
Author:
George Lilly
Message:

updates for demographics project

Location:
fmts/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fmts/trunk/p/C0XF2N.m

    r1387 r1390  
    3838 S @ZFARY@("C0XTN")=$NA(^C0X(101)) ; TRIPLES GLOBAL NAME
    3939 S @ZFARY@("C0XSN")=$NA(^C0X(201)) ; STRING FILE GLOBAL NAME
    40  S @ZFARY@("C0XDIR")="/home/glilly/sage/test/"
     40 S @ZFARY@("C0XDIR")="/home/glilly/fmts/trunk/samples/smart-new/"
    4141 S @ZFARY@("BLKLOAD")=1 ; this file supports block load
    4242 S @ZFARY@("FMTSSTYLE")="F2N" ; fileman style
     
    288288 S C0XTYPE("owl:Class")=1
    289289 S C0XTYPE("rdfs:subClassOf")=1
     290 S C0XTYPE("rdf:RDF")=1
    290291 S ZI=$O(@ZDOM@(1,"C",""))
    291  I '$G(C0XTYPE(@ZDOM@(1,"C",ZI))) D  Q  ; not an rdf file
    292  . W !,"Error. Not an RDF file. Cannot process."
     292 I '$G(C0XTYPE(@ZDOM@(1,"C",ZI))) D  ;Q  ; not an rdf file
     293 . W !,"Unusual RDF file ",@ZDOM@(1,"C",ZI)
     294 . ;W !,"Error. Not an RDF file. Cannot process."
    293295 . D SHOW(1)
    294296 ;
  • fmts/trunk/p/C0XUTIL.m

    r1386 r1390  
    6464 S C0XVOC("oro")="http://oro.com/vista/sage" ;change to get URL from system
    6565 S C0XVOC("sage")="http://oro.com/sage/schema#"
     66 S C0XVOC("v")="http://www.w3.org/2006/vcard/ns#"
    6667 Q
    6768 ;
  • fmts/trunk/samples/smart-new/Bob-Odenkirk.rdf

    r1389 r1390  
    77  xmlns:foaf="http://xmlns.com/foaf/0.1/">
    88   <sp:Demographics>
    9 
    109     <v:n>
    1110        <v:Name>
     
    1514        </v:Name>
    1615     </v:n>
    17 
    1816     <v:adr>
    1917        <v:Address>
    2018          <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Home" />
    2119          <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Pref" />
    22 
    2320          <v:street-address>15 Main St</v:street-address>
    2421          <v:extended-address>Apt 2</v:extended-address>
     
    2926        </v:Address>
    3027     </v:adr>
    31 
    3228     <v:tel>
    3329        <v:Tel>
     
    3733        </v:Tel>
    3834     </v:tel>
    39 
    4035     <v:tel>
    4136        <v:Tel>
     
    4439        </v:Tel>
    4540     </v:tel>
    46 
    4741     <foaf:gender>male</foaf:gender>
    4842     <v:bday>1959-12-25</v:bday>
     
    5650       </sp:Code>
    5751     </sp:medicalRecordNumber>
    58 
    5952   </sp:Demographics>
    6053</rdf:RDF>
Note: See TracChangeset for help on using the changeset viewer.