Files
smartguide/ude_person.http
T
Mats Paul Tončik 997c573295
LocationBasedServices/smartguide/pipeline/head This commit looks good
Added search for institution bund and eu projects
2026-06-13 12:33:40 +02:00

525 lines
10 KiB
HTTP

GET https://inse.nes.uni-due.de/elastic/ude_persons_1.0/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
{
"query": {
"query_string": {
"default_field": "name",
"query": "Marcus Handte"
}
}
}
###
GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
###
GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
{
"size": 100,
"query": {
"multi_match": {
"query": "Universität Duisburg-Essen",
"type": "phrase",
"fields": [
"person_creater_address"
]
}
}
}
###
GET https://inse.nes.uni-due.de/elastic/projects_dfg_all/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
{
"size": 100,
"query": {
"multi_match": {
"query": "Mathias Ulbricht",
"type": "phrase",
"fields": [
"Antragsteller",
"Antragstellerin",
"Sprecher",
"Sprecherin",
"Leiter",
"Leiterin",
"beteiligte Wissenschaftlerinnen / beteiligte Wissenschaftler",
"Teilprojektleiter"
]
}
}
}
# {
# "size": 100,
# "query": {
# "multi_match": {
# "query": "Duisburg-Essen",
# "fields": [
# "Antragstellende Institution",
# "Mitantragstellende Institution",
# "Beteiligte Institution"
# ]
# }
# }
# }
# "aggs": {
# "antragstellende": {
# "terms": {
# "field": "Antragstellende Institution.keyword",
# "size": 100
# }
# },
# "mitantragstellende": {
# "terms": {
# "field": "Mitantragstellende Institution.keyword",
# "size": 100
# }
# },
# "beteiligte": {
# "terms": {
# "field": "Beteiligte Institution.keyword",
# "size": 100
# }
# },
# "partner": {
# "terms": {
# "field": "Partnerorganisation.keyword",
# "size": 100
# }
# }
# }
# }
###
GET https://inse.nes.uni-due.de/elastic/projects_bund/_mapping
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
###
GET https://inse.nes.uni-due.de/elastic/projects_bund/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
{
"size": 10,
"from": 1000,
"query": {
"match": {
"Zuwendungsempf\u00e4nger": {
"query": "Universit\u00e4t Duisburg-Essen",
"operator": "and"
}
}
},
"sort": [
{
"Thema.keyword": {
"order": "asc"
}
}
]
}
#{'size': 10, 'from': 0, 'query': {'match': {'Zuwendungsempfänger': {'query': 'Universität Duisburg-Essen', 'operator': 'and'}}}, 'sort': [{'Thema': {'order': 'asc'}}]}
# {
# "size": 1000,
# "query": {
# "match": {
# "Zuwendungsempfänger": {
# "query": "Universität Duisburg-Essen",
# "operator": "and"
# }
# }
# }
# }
###
GET https://inse.nes.uni-due.de/elastic/projects_eu_all/_mapping
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
###
GET https://inse.nes.uni-due.de/elastic/projects_eu_all/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
{
"size": 10,
"from": 0,
"query": {
"bool": {
"must": [
{
"match_phrase_prefix": {
"title": {
"query": "A",
"max_expansions": 50
}
}
},
{
"nested": {
"path": "organization_nested",
"query": {
"bool": {
"should": [
{ "match": { "organization_nested.name": { "query": "university duisburg essen", "operator": "and" } } },
{ "match": { "organization_nested.name": { "query": "universitaet duisburg essen", "operator": "and" } } },
{ "match": { "organization_nested.name": { "query": "universität duisburg-essen", "operator": "and" } } },
{ "match": { "organization_nested.name": { "query": "universitat duisburg-essen", "operator": "and" } } }
],
"minimum_should_match": 1
}
}
}
}
]
}
},
"sort": [
{
"title.keyword": {
"order": "asc"
}
}
]
}
# {
# "size": 10,
# "from": 0,
# "query": {
# "bool": {
# "must": [
# {
# "match_phrase_prefix": {
# "title": {
# "query": "Cars",
# "max_expansions": 50
# }
# }
# }
# ]
# }
# }
# }
###
GET https://inse.nes.uni-due.de/elastic/projects_eu_all/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
{
"size": 0,
"query": {
"nested": {
"path": "organization_nested",
"query": {
"match": {
"organization_nested.name": "Dortmund"
}
}
}
},
"aggs": {
"organizations": {
"nested": {
"path": "organization_nested"
},
"aggs": {
"matching": {
"filter": {
"match": {
"organization_nested.name": "Dortmund"
}
},
"aggs": {
"names": {
"terms": {
"field": "organization_nested.name.keyword",
"size": 100
}
}
}
}
}
}
}
}
###
GET https://inse.nes.uni-due.de/elastic/ude_organization_content_august_2025/_search
Authorization: ApiKey bG1NSWc1NEJPZ3FnTGZCZXRSSEg6VnJXRFd5SnpSTTNWc1VPT01FMEhMZw==
Content-Type: application/json
# {
# "query": {"match": {"staff.name": {"query": "Peter Roch", "operator": "and"}}}
# }
###
GET https://project.nes.uni-due.de/elastic/openalex-authors/_mapping
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
Content-Type: application/json
###
GET https://project.nes.uni-due.de/elastic/openalex-authors/_search
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
Content-Type: application/json
{
"_source": [
"display_name",
"works_count"
],
"size": 1000,
"query": {
"bool": {
"must": [
{
"range": {
"works_count": { "gte": 10 }
}
},
{
"nested": {
"path": "affiliations",
"query": {
"bool": {
"must": [
{
"term": {
"affiliations.institution.id": "https://openalex.org/I62318514"
}
},
{
"range": {
"affiliations.years": { "gte": 2025, "lte": 2026 }
}
},
{
"script": {
"script": {
"source": "doc['affiliations.years'].length >= params.expected_length",
"params": {
"expected_length": 15
}
}
}
}
]
}
}
}
}
]
}
},
"sort": [
{ "works_count": { "order": "desc" } }
]
}
# {
# "query": {
# "nested": {
# "path": "last_known_institutions",
# "query": {
# "term": {
# "last_known_institutions.id": "https://openalex.org/I62318514"
# }
# }
# }
# }
# }
# {
# "query": {
# "query_string": {
# "default_field": "display_name",
# "query": "Tobias Janelt"
# }
# }
# }
###
GET https://project.nes.uni-due.de/elastic/openalex-awards/_mapping
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
Content-Type: application/json
###
GET https://project.nes.uni-due.de/elastic/openalex-authors/_mapping
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
Content-Type: application/json
###
GET https://project.nes.uni-due.de/elastic/openalex-awards/_search
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
Content-Type: application/json
{
"size": 1000,
"query": {
"bool": {
"must": [
{
"prefix": {
"landing_page_url": "https://gepris.dfg.de/gepris/projekt/"
}
}
]
}
}
}
###
GET https://project.nes.uni-due.de/elastic/openalex-authors/_search
Authorization: ApiKey am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ==
Content-Type: application/json
{
"query": {
"bool": {
"must": [
{
"nested": {
"path": "affiliations",
"query": {
"match_phrase": {
"affiliations.institution.display_name": "University of Duisburg-Essen"
}
}
}
},
{
"nested": {
"path": "counts_by_year",
"query": {
"range": {
"counts_by_year.year": {
"gte": 2020
}
}
}
}
}
],
"must_not": [
{
"nested": {
"path": "counts_by_year",
"query": {
"range": {
"counts_by_year.year": {
"lt": 2020
}
}
}
}
}
]
}
}
}