Attributes | Values |
---|
type
| |
Date Created
| |
Date Modified
| |
label
| |
maker
| |
Title
| |
isDescribedUsing
| |
has creator
| |
content
| - ---++Polls Ubiquity Commands
1 establish OAuth session key for ODS Polls instance:
Syntax: ods-set-poll-oauth
Example: ods-set-poll-oauth c4746c96bd8faa99798ad88448ba3bab
* Example usage you can find [[VirtuosoOdsUbiquityTutorialsPollsOAuthD][here]].
1 create poll:
Syntax: ods-create-poll name [description ] [tags ] [multi_vote <0|1>] [vote_result <0|1>] [vote_result_before <0|1>] [vote_result_opened <0|1>] [dateStart ] [dateEnd ] [mode
]
Syntax: ods-create-poll 10 name SPARQL Poll dateStart 2008.11.20
* Example usage you can find [[VirtuosoOdsUbiquityTutorialsManagePolls][here]].
1 get poll resource information by resource ID:
Syntax: ods-get-poll-by-id
Example: ods-get-poll-by-id 1001
1 update poll by resource ID:
Syntax: ods-update-poll name [description ] [tags ] [multi_vote <0|1>] [vote_result <0|1>] [vote_result_before <0|1>] [vote_result_opened <0|1>] [dateStart ] [dateEnd ] [mode ]
Syntax: ods-update-poll 1001 name SPARQL Poll dateStart 2008.11.22 dateEnd 2008.11.29
1 delete poll by resource ID:
Syntax: ods-delete-poll-by-id
Example: ods-delete-poll-by-id 1001
1 create poll question:
Syntax: ods-create-poll-question questionNo text [description ] [required ] [type ] [answer ]
Example: ods-create-poll-question 1001 questionNo 1 text Do you know SPARQL? answer answer_1=Yes&answer_2=No
1 delete poll question:
Syntax: ods-delete-poll-question questionNo
Example: ods-delete-poll-question 1001 questionNo 2
1 activate (open) poll for votes:
Syntax: ods-activate-poll
Example: ods-activate-poll 1001
1 close poll for votes:
Syntax: ods-close-poll
Example: ods-close-poll 1001
1 clear poll votes:
Syntax: ods-clear-poll
Example: ods-clear-poll 1001
1 create vote to poll:
Syntax: ods-vote-poll
Example: ods-vote-poll 1001
1 add answer to vote:
Syntax: ods-poll-vote-answer questionNo answerNo value
Example: ods-poll-vote-answer 10001 questionNo 1 answerNo 1 value Yes
1 get poll result:
Syntax: ods-result-poll
Example: ods-result-poll 1001
1 create comment to existing poll ID:
Syntax: ods-create-poll-comment title body author authorMail authorUrl
Example: ods-create-poll-comment 1001 title RDF body OpenLink RDF Browser http://demo.openlinksw.com/rdfbrowser/ author demo authorMail demo@openlinksw.com authorUrl http://demo.openlinksw.com/dataspace/person/demo
1 get poll comment information by resource ID:
Syntax: ods-get-poll-comment-by-id
Example: ods-get-poll-comment-by-id 10001
1 delete poll comment by resource ID:
Syntax: ods-delete-poll-comment
Example: ods-delete-poll-comment 10001
1 set poll instance options/properties:
Syntax: ods-set-polls-options with
Example: ods-set-polls-options 10 with rows=20
1 get poll instance options/properties:
Syntax: ods-get-polls-options
Example: ods-get-polls-options 10
---+++References
* [[VirtuosoOdsUbiquity][ODS Ubiquity Commands]] |
id
| - ac050ee8bae130669bd8e7814ac1f807
|
link
| |
has container
| |
http://rdfs.org/si...ices#has_services
| |
atom:title
| |
links to
| |
atom:source
| |
atom:author
| |
atom:published
| |
atom:updated
| |
topic
| |
is made
of | |
is container of
of | |
is link
of | |
is http://rdfs.org/si...vices#services_of
of | |
is creator of
of | |
is atom:entry
of | |
is atom:contains
of | |