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