Re: [Tracker] Sparql search application
- From: 孤云独闲 <tomsunchen gmail com>
- To: Martyn Russell <martyn lanedo com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Sparql search application
- Date: Fri, 6 Aug 2010 09:59:20 +0800
Hi:
Thank you! yes, there is not any email in Tracker at all. because it returns "Results:0", how should i index the email in Tracker? i didn't known why there is not any email in Tracker, but there are many emails in Evolution.
i type "tracker-stats" and the information is as following:
Statistics:
mfo:Action = ""> mlo:LandmarkCategory = 15
mto:State = 9
mto:TransferMethod = 2
mtp:ScanType = 6
nao:Tag = 1
nco:Contact = 2
nco:Gender = 2
nco:IMCapability = 8
nco:PersonContact = 2
nco:PresenceStatus = 9
nco:Role = 2
nfo:DataContainer = 515
nfo:Document = 1299
nfo:Executable = 98
nfo:FileDataObject = 5235
nfo:Folder = 430
nfo:Image = 295
nfo:Media = 295
nfo:Orientation = 8
nfo:PlainTextDocument = 864
nfo:Software = 98
nfo:SoftwareApplication = 98
nfo:SoftwareCategory = 85
nfo:TextDocument = 864
nfo:Visual = 295
nie:DataObject = 5235
nie:DataSource = 2
nie:InformationElement = 5401
nmm:Flash = 2
nmm:MeteringMode = 7
nmm:Photo = 186
nmm:RadioModulation = 2
nmm:WhiteBalance = 2
nmo:DeliveryStatus = 4
nmo:SMSFolder = 5
nrl:InverseFunctionalProperty = 4
rdf:Property = 573
rdfs:Class = 221
rdfs:Resource = 6311
scal:AccessLevel = 3
scal:AttendanceStatus = 7
scal:AttendeeRole = 4
scal:CalendarUserType = 5
scal:EventStatus = 3
scal:JournalStatus = 4
scal:RSVPValues = 2
scal:TodoStatus = 4
scal:TransparencyValues = 2
tracker:Namespace = 21
tracker:>
i can search softwareApplication by API which libqttracker supports. example:
RDFVariable query_result = RDFVariable::formType<nfo::SoftwareApplication>().property<nie::title>();
am i right? who can give me some suggestions?
在 2010年8月5日 下午10:16,Martyn Russell
<martyn lanedo com>写道:
On 02/08/10 20:29, 孤云独闲 wrote:
> tracker-sparql -q "SELECT ?s
>
> WHERE { ?o nmo:to ?s ; nmo:messageSubject "Linux" . }
I see, this works for me:
tracker-sparql -q "SELECT ?s WHERE { ?o nmo:to ?s ; nmo:messageSubject
\"Meeting Friday\" . }"
Result: 1
urn:uuid:0b31ef4e-36a6-0220-6cd7-1c22efae3d54
Do you have any emails in Tracker yet? You should see a list of emails
if you use this:
tracker-sparql -q "SELECT ?s nmo:messageSubject(?o) WHERE { ?o nmo:to ?s
. }"
--
Regards,
Martyn
--
Best Regards,
tomsun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]