1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

""" 

:Author: Daniel Mohr 

:Email: daniel.mohr@dlr.de 

:Date: 2021-03-19 (last change). 

:License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. 

""" 

 

 

def get_graph_item(schemaorg_data, word): 

""" 

:Author: Daniel Mohr 

:Date: 2021-03-16 

""" 

for item in schemaorg_data['@graph']: 

if ("@id" in item) and (item["@id"] == "schema:" + word): 

return item 

return None