xAPI queries allow Learning Record Providers, or Activity Providers, to get statements from the LRS to create a more robust learning experience for the student. Queries can be very easy to craft and send. But there are rules as not all elements of the xAPI statement are exposed for query and there are limits to how you can build your queries. This video describes the steps needed to successfully build a query and retrieve statements from an LRS.
- [Instructor] As a quick refresher,…when you're building your xAPI queries,…you can only query by certain parts of the xAPI statements.…Those are the agent ID, the verb ID,…the activity ID, the statement ID,…and you can query for statements…that came before or after a given timestamp…or even between two timestamps.…You can mix and match as many of those elements…as you'd like, but you can only use each of them once.…So for example, you could not issue a query…for any statements that had one of two different verbs.…
You'd have to issue one query for the first verb ID…and then another query for the second.…If the LRS found any statements that match the query,…it will return an object containing an array of statements.…You can then use a loop to walk through…each of the statements and pull out the data you need.…If you want to query by verb or activity,…those are pretty straightforward.…You would just use the IRIs that are in the ID field.…For example, if you wanted to know all the people…who answered a question, you could query…
Author
Released
12/12/2018- Setting up an LRS in SCORM Cloud or Veracity
- Building an xAPI statement
- Using xAPI extensions
- Sending statements to an LRS
- Recording video plays
- Recording quiz results
- Querying the LRS
- Correlating LRS data for more insights
- Using xAPI for adaptive learning
Skill Level Beginner
Duration
Views
Related Courses
-
Elearning Techniques: Visual Design
with Sally Cox1h 34m Intermediate -
Brain-Based Elearning Design
with Joe Pulichino1h 15m Intermediate
-
Introduction
-
What you should know1m 48s
-
1. Introduction to xAPI
-
What is xAPI?2m 35s
-
How does xAPI work?2m 24s
-
How is xAPI useful?1m 59s
-
Setting up SCORM Cloud2m 41s
-
Setting up Veracity2m 58s
-
-
2. Anatomy of xAPI Statements
-
xAPI unique identifiers1m 32s
-
The Actor element4m 6s
-
The Verb element3m 36s
-
The Object element3m 25s
-
The Result element3m 35s
-
The Context element3m 2s
-
The Timestamp element2m 28s
-
3. Working with Statements
-
Four steps of xAPI3m 8s
-
Sending a statement3m 40s
-
Record quiz results4m 4s
-
-
4. Getting Statements from Your LRS
-
Querying the LRS2m 41s
-
Building and sending a query3m 47s
-
Query video plays3m 46s
-
Query quiz results4m 3s
-
Correlation under the hood3m 33s
-
Adaptive learning4m 23s
-
How adaptive learning works3m 41s
-
-
Conclusion
-
Next steps2m 19s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Building and sending a query