Add missing reference files
[qtcontacts-tracker:hasselmms-qtcontacts-tracker.git] / tests / ut_qtcontacts_trackerplugin_querybuilder / data / 108-contact-name.rq
1 SELECT DISTINCT ?_contact
2                 ?_Name_Prefix ?_Name_FirstName ?_Name_MiddleName
3                 ?_Name_LastName ?_Name_Suffix
4
5 WHERE
6 {
7   {
8     ?_contact <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact> .
9     OPTIONAL { ?_contact <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameHonorificPrefix> ?_Name_Prefix . }
10     OPTIONAL { ?_contact <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameGiven> ?_Name_FirstName . }
11     OPTIONAL { ?_contact <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameAdditional>  ?_Name_MiddleName . }
12     OPTIONAL { ?_contact <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameFamily>  ?_Name_LastName . }
13     OPTIONAL { ?_contact <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameHonorificSuffix> ?_Name_Suffix . }
14   }
15 }
16
17 ORDER BY ?_contact