I'm attempting to use Exhibit for sorting through a large number of 
computer-generated schedules. I think it will do the job, but I have
a couple of questions that I can't find answers to on the wiki.

Given JSON looking like this:

{
properties: {
  "sections" : { valueType: "item" }
},
"items" : [
{ label : "c1",
  type : "Set",
  sections : [ "s1", "s2", "s3" ],
},
{ label : "c2",
  type : "Set",
  sections : [ "s1", "s3" ]
},
{ label : "s1",
  type : "Section",
  course : "E E 238"
},
{ label : "s2",
  type : "Section",
  course : "MEC E 250"
},
{ label : "s3",
  type : "Section",
  course : "CLASS 375"
}
  ]

}

I want users to be able to view specifically Sets containing:

a. a section of a specific course (eg. E E 238, matches c1 and c2)
b. a combination of sections of a specific course (eg. E E 238+MEC E 250,
   only matches c1)

I've run into two problems so far.

1. ex:facets on #exhibit-browse-panel only seems to support one-hop
expressions. When I try ex:facets=".sections.course", I get:

"The expression '.sections.course' used to specify a facet is not valid."

2. If I just use ex:facets=".sections", I can select Combinations
containing a certain Section. If I select "s1" and "s2", it will show me
combinations containing s1 OR s2. I want it to show me combinations
containing s1 AND s2. (ex:facets=".sections, .sections" just confuses
Exhibit)

Have I missed something obvious, or am I barking up the wrong tree?
Thanks!

Attachment: pgpy02ripvAKs.pgp
Description: PGP signature

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to