I'm trying to run a search on Microsoft Academic Graph using a logical OR condition. Specifically, I want to use OR to specify two different possible values for some field, such as two possible author names in the author field.
The documentation on the JSON search syntax suggests that the logical OR operator can be used, I just can't figure out how to implement it.
I've tried to implement this using the following search:
{
"path": "/paper/AuthorIDs/author",
"paper": {
"type": "Paper",
"NormalizedTitle": "graph engine",
"select": ["OriginalTitle", "PublishDate", "CitationCount", "AuthorIDs", "JournalID", "DOI"]
},
"author": {
"select": ["Name"],
"return": {
"type": "Author",
"or":{
"Name": "bin shao",
"Name": "haixun wang"
}
}
}
}
But it just returns results from the second author. Any help on how to properly format my search would be greatly appreciated!