---++Addressbook Ubiquity Commands 1 establish OAuth session for ODS AddressBook instance: Syntax: ods-set-addressbook-oauth Example: ods-set-addressbook-oauth c4746c96bd8faa99798ad88448ba3bab * Example usage you can find [[VirtuosoOdsUbiquityTutorialsAddressbookOAuthD][here]]. 1 create AddressBook contact: Syntax: ods-create-addressbook-contact name [title ] [fName <fName>] [mName <mName>] [lName <lName>] [fullName <fullName>] [gender <gender>] [birthday <birthday>] [iri <iri>] [foaf <foaf>] [mail <mail>] [web <web>] [icq <icq>] [skype <skype>] [aim <aim>] [yahoo <yahoo>] [msn <msn>] [hCountry <hCountry>] [hState <hState>] [hCity <hCity>] [hCode <hCode>] [hAddress1 <hAddress1>] [hAddress2 <hAddress2>] [hTzone <hTzone>] [hLat <hLat>] [hLng <hLng>] [hPhone <hPhone>] [hMobile <hMobile>] [hFax <hFax>] [hMail <hMail>] [hWeb <hWeb>] [bCountry <bCountry>] [bState <bState>] [bCity <bCity>] [bCode <bCode>] [bAddress1 <bAddress1>] [bAddress2 <bAddress2>] [bTzone <bTzone>] [bLat <bLat>] [bLng <bLng>] [bPhone <bPhone>] [bMobile <bMobile>] [bFax <bFax>] [bIndustry <bIndustry>] [bOrganization <bOrganization>] [bDepartment <bDepartment>] [bJob <bJob>] [bMail <bMail>] [bWeb <bWeb>] [tags <tags>] Example: ods-create-addressbook-contact 10 name John fName John lName Johnson mail john@openlinksw.com </verbatim> * Example usage you can find [[VirtuosoOdsUbiquityTutorialsPublAddressbook][here]]. 1 get contact resource information by resource ID: <verbatim> Syntax: ods-get-addressbook-contact-by-id <contact_id> Example: ods-get-addressbook-contact-by-id 1001 </verbatim> 1 update AddressBook contact by resource ID: <verbatim> Syntax: ods-update-addressbook-contact <contact_id> name <name> [title <title>] [fName <fName>] [mName <mName>] [lName <lName>] [fullName <fullName>] [gender <gender>] [birthday <birthday>] [iri <iri>] [foaf <foaf>] [mail <mail>] [web <web>] [icq <icq>] [skype <skype>] [aim <aim>] [yahoo <yahoo>] [msn <msn>] [hCountry <hCountry>] [hState <hState>] [hCity <hCity>] [hCode <hCode>] [hAddress1 <hAddress1>] [hAddress2 <hAddress2>] [hTzone <hTzone>] [hLat <hLat>] [hLng <hLng>] [hPhone <hPhone>] [hMobile <hMobile>] [hFax <hFax>] [hMail <hMail>] [hWeb <hWeb>] [bCountry <bCountry>] [bState <bState>] [bCity <bCity>] [bCode <bCode>] [bAddress1 <bAddress1>] [bAddress2 <bAddress2>] [bTzone <bTzone>] [bLat <bLat>] [bLng <bLng>] [bPhone <bPhone>] [bMobile <bMobile>] [bFax <bFax>] [bIndustry <bIndustry>] [bOrganization <bOrganization>] [bDepartment <bDepartment>] [bJob <bJob>] [bMail <bMail>] [bWeb <bWeb>] [tags <tags>] Example: ods-update-addressbook-contact 1001 name John fName John lName Johnson fullName John Johnson mail john@openlinksw.com </verbatim> 1 delete contact by resource ID: <verbatim> Syntax: ods-delete-addressbook-contact <contact_id> Example: ods-delete-addressbook-contact 1001 </verbatim> 1 export contacts: <verbatim> Syntax: ods-export-addressbook <instance_id> [contentType <vcard|foaf|csv>] Example: ods-export-addressbook 10 contentType vcard </verbatim> 1 import contacts: <verbatim> Syntax: ods-import-addressbook <instance_id> source <source> [sourceType <string|WebDAV|URL>] [contentType <contentType>] [tags <tags>] Example: ods-import-addressbook 10 source /DAV/home/demo/contacts.vcard sourceType WebDAV </verbatim> * Example usage you can find [[VirtuosoOdsUbiquityTutorialsPublAddressbook][here]]. 1 create annotation to existing contact ID: <verbatim> Syntax: ods-create-addressbook-annotation <contact_id> author <author> body <body> Example: ods-create-addressbook-annotation 1001 author demo body OpenLink RDF Browser </verbatim> 1 get contact annotation information by resource ID: <verbatim> Syntax: ods-get-addressbook-annotation-by-id <annotation_id> Example: ods-get-addressbook-annotation-by-id 10001 </verbatim> 1 create claim to existing annotation: <verbatim> Syntax: ods-create-addressbook-annotation-claim <annotation_id> iri <iri> relation <relation> value <value> Example: ods-create-addressbook-annotation-claim 10001 iri http://openlinksw.com relation rdfs:seeAlso value http://dbpedia.org value <value> </verbatim> 1 delete contact by resource ID: <verbatim> Syntax: ods-delete-addressbook-annotation <annotation_id> Example: ods-delete-addressbook-annotation 10001 </verbatim> 1 create comment to existing contact ID: <verbatim> Syntax: ods-create-addressbook-comment <contact_id> title <title> body <body> author <author> authorMail <authorMail> authorUrl <authorUrl> Example: ods-create-addressbook-comment 1001 title RDF body OpenLink RDF Browser author demo authorMail demo@openlinksw.com authorUrl http://demo.openlinksw.com/rdfbrowser/ </verbatim> 1 get contact comment information by resource ID: <verbatim> Syntax: ods-get-addressbook-comment-by-id <comment_id> Example: ods-get-addressbook-comment-by-id 10001 </verbatim> 1 delete contact comment by resource ID: <verbatim> Syntax: ods-delete-addressbook-comment <comment_id> Example: ods-delete-addressbook-comment 10001 </verbatim> 1 create addressbook publication: <verbatim> Syntax: ods-create-addressbook-publication <instance_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [destinationType <destinationType>] destination <destination> [userName <userName>] [userPassword <userPassword>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>] Example: ods-create-addressbook-publication 10 name Publish My Items destinationType WebDAV destination /~/demo/Public/DemoItems.vcard userName demo userPassword demo </verbatim> * Example usage you can find [[VirtuosoOdsUbiquityTutorialsPublAddressbook][here]]. 1 get addressbook publication information by resource ID: <verbatim> Syntax: ods-get-addressbook-publication <publication_id> Example: ods-get-addressbook-publication 1001 </verbatim> 1 update addressbook publication by resource ID: <verbatim> Syntax: ods-update-addressbook-publication <publication_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [destinationType <destinationType>] destination <destination> [userName <userName>] [userPassword <userPassword>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>] Example: ods-update-addressbook-publication 1001 name Publish My Contacts destinationType WebDAV destination /~/demo/Public/DemoContacts.vcard userName demo userPassword demo </verbatim> 1 sync addressbook publication by resource ID: <verbatim> Syntax: ods-sync-addressbook-publication <publication_id> Example: ods-sync-addressbook-publication 1001 </verbatim> * Example usage you can find [[VirtuosoOdsUbiquityTutorialsPublAddressbook][here]]. 1 delete addressbook publication by resource ID: <verbatim> Syntax: ods-delete-addressbook-publication <publication_id> Example: ods-delete-addressbook-publication 1001 </verbatim> 1 create addressbook subscription: <verbatim> Syntax: ods-create-addressbook-subscription <instance_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [sourceType <sourceType>] source <source> [userName <userName>] [userPassword <userPassword>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>] Example: ods-create-addressbook-subscription 10 name Subscribe Company Items sourceType WebDAV source /~/demo/Public/CompanyItems.vcard </verbatim> * Example usage you can find [[VirtuosoOdsUbiquityTutorialsSubscrAddressbook][here]]. 1 get addressbook subscription information by resource ID: <verbatim> Syntax: ods-get-addressbook-subscription <subscription_id> Example: ods-get-addressbook-subscription 1001 </verbatim> 1 update addressbook subscription by resource ID: <verbatim> Syntax: ods-update-addressbook-subscription <subscription_id> name <name> [updateType <updateType>] [updatePeriod <hourly|daily>] [updateFreq <updateFreq>] [sourceType <sourceType>] source <source> [userName <userName>] [userPassword <userPassword>] [tagsInclude <tagsInclude>] [tagsExclude <tagsExclude>] Example: ods-update-addressbook-subscription 1001 name Subscribe Company Contacts sourceType WebDAV source /~/demo/Public/CompanyContacts.vcard </verbatim> 1 sync addressbook subscription by resource ID: <verbatim> Syntax: ods-sync-addressbook-subscription <subscription_id> Example: ods-sync-addressbook-subscription 1001 </verbatim> * Example usage you can find [[VirtuosoOdsUbiquityTutorialsSubscrAddressbook][here]]. 1 delete addressbook subscription by resource ID: <verbatim> Syntax: ods-delete-addressbook-subscription <subscription_id> Example: ods-delete-addressbook-subscription 1001 </verbatim> 1 set addressbook instance options/properties: <verbatim> Syntax: ods-set-addressbook-options <instance_id> options <options> Example: ods-set-addressbook-options 10 options rows=20 </verbatim> 1 get addressbook instance options/properties: <verbatim> Syntax: ods-get-addressbook-options <instance_id> Example: ods-get-addressbook-options 10 </verbatim> ---+++References * [[VirtuosoOdsUbiquity][ODS Ubiquity Commands]]