Closed phish108 closed 1 year ago
Decision today was:
AND
, so one can drill into the data and narrow down the results. This would allow questions such as "what are joint publications/projects/modules of department A and G on SDG 3?"The first bullet needs to get fixed now, the second bullet should be a refinement in a second stage.
The code of all queries must be changed to:
sdg(filter: {
and: [
{ id: eq: "3" },
{ id: eq: "7" }
]
]) {
id
}
Same as for departments.
This changes the initial meaning of the search box. If two SDGs are entered, then this means that all InfoObjects that were marked for both SDGs are included in the search result.
if two SDG or departments are used in the same search, the MUST be cooccurring and not individually.
Question: What would the most common connector? AND or OR.
When using cooccurrence with "AND", the
in
operator will be used as a singleton operator and is then connected with anand
operator.idea:
We should use
and
explicitly, despite the fact thatand
is default. the reason is, that it is more readable about what is happening and it is better to express in JSON.