## 4 Materials and Methods
### Developing a Knowledge Graph Using the Driver Profile Ontology
\begin{table}
\begin{tabular}{c c c c c c c c} \hline
**User Profile** & **Type** & **Mode** & **Behaviour** & **Comfort** & **Media** & **Platform** & **Security** \\ \hline
1. [PERSON] & Comm. Dr. & Highway & Assertive & \
\begin{tabular}{c} Seat: High; \\ Climate: Cool \\ \end{tabular} & Jazz &
\begin{tabular}{c} iOS; \\ Android \\ \end{tabular} & Encryption \\ \hline
2. [PERSON] & Exp. Dr. & Urban & Defensive &
\begin{tabular}{c} Seat: Std; \\ Climate: Warm \\ \end{tabular} & Rock & iOS & Biometric \\ \hline
3. [PERSON] & Nov. Dr. & Rural & Anxious &
\begin{tabular}{c} Seat: Low; \\ Climate: Mild \\ \end{tabular} & Pop & Android & Data Prot. \\ \hline
4. [PERSON] & Exp. Dr. & Off-Road & Aggressive & \
\begin{tabular}{c} Seat: Adj.; \\ Climate: Cool \\ \end{tabular} & Country &
\begin{tabular}{c} iOS; \\ Android \\ \end{tabular} & High Sec. \\ \hline
5. [PERSON] & Nov. Dr. & Urban & Defensive &
\begin{tabular}{c} Seat: Std; \\ Climate: Neutral \\ \end{tabular} & Electronic & Android & Encrypted \\ \hline
6. [PERSON] & Comm. Dr. & Highway & Assertive &
\begin{tabular}{c} Seat: High; \\ Climate: Cool \\ \end{tabular} & Classical & iOS & Compliance \\ \hline
7. [PERSON] & Exp. Dr. & Urban & Risky &
\begin{tabular}{c} Seat: Low; \\ Climate: Warm \\ \end{tabular} & Hip-Hop & Android & Alerts \\ \hline
8. [PERSON] & Nov. Dr. & Rural & Anxious & \
\begin{tabular}{c} Seat: Std; \\ Climate: Mild \\ \end{tabular} & Alt. &
\begin{tabular}{c} iOS; \\ Android \\ \end{tabular} & Logging \\ \hline
9. [PERSON] & Exp. Dr. & Highway & Defensive & \
\begin{tabular}{c} Seat: Adj.; \\ Climate: Warm \\ \end{tabular} & 80s Hits &
\begin{tabular}{c} iOS; \\ Android \\ \end{tabular} & Integrity \\ \hline
10. [PERSON] & Comm. Dr. & Urban & Assertive & \
\begin{tabular}{c} Seat: High; \\ Climate: Cool \\ \end{tabular} & Chillout & Android & Mitigation \\ \hline \end{tabular}
\begin{tabular}{c} **LEGEND: Type:** Comm. Dr. = commercial driver; Exp. Dr. = experienced driver; Nov. Dr. = novice driver. **Mode**: Highway = highway driving; Urban = urban driving; Rural = rural driving; Off-Road = off-road driving. **Behaviour**: Assertive = confident driving: Defensive = cautious driving; Aggressive = bold driving; Anxious = nervous driving; Risky = risk-prone driving. **Comfort: Seat: High = high position; Std = standard; Low = low position; Adj. = adjustable. Climate: Cool = cool; Warm = warm; Mild = moderate; Neutral = neutral temperature. **Media:** Preferred gender: Jazz, Rock, Pop, Country, Classical, Hip-Hop, Electronic, Alt. (Alternative), 80s Hits, Chillout. **Platform:** iOS; Android = preferred operating system(s). **Security**: Encryption = data encryption; Biometric = biometric authentication; Data Prot. = data protection; High Sec. = high security; Compliance = standards compliance; Alerts = security alerts; Logging = activity logging; Integrity = data integrity; Mitigation = risk mitigation. \\ \end{tabular}
\end{table} 
Table 4: User profiles with driving preferences and settings. attributes such as driver type, driving mode, driving behaviour, comfort preferences, multimedia choices and security measures. These attributes were encoded as RDF triples to provide a detailed and semantic representation of the data. The following code snippet (Listing 1) demonstrates how driver profiles were semantically encoded in RDF. **Listing 1. ** Semantic representation of some driver profiles in RDF format. @prefix ocms: <[[http://cui.unige.ch/ocms#](http://cui.unige.ch/ocms#)]([http://cui.unige.ch/ocms#](http://cui.unige.ch/ocms#))>. @prefix rdf: <[[http://www.w3.org/1999/02/22-rdf-syntax-ns#](http://www.w3.org/1999/02/22-rdf-syntax-ns#)]([http://www.w3.org/1999/02/22-rdf-syntax-ns#](http://www.w3.org/1999/02/22-rdf-syntax-ns#))>. @prefix rdfs: <[[http://www.w3.org/2000/01/rdf-schema#](http://www.w3.org/2000/01/rdf-schema#)]([http://www.w3.org/2000/01/rdf-schema#](http://www.w3.org/2000/01/rdf-schema#))>.