:py:mod:`json2graph.modules.sparql_queries` =========================================== .. py:module:: json2graph.modules.sparql_queries .. autoapi-nested-parse:: All SPARQL queries used for decoding the JSON. Module Contents --------------- .. py:data:: GET_ELEMENT_AND_TYPE :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """PREFIX ontouml: SELECT ?inst_type WHERE { ?inst_type rdfs:subClassOf+ ontouml:OntoumlElement . ?inst_id rdf:type ?inst_type . }""" .. raw:: html
.. py:data:: GET_CLASS_STEREOTYPE_ATTRIBUTE_STEREOTYPE :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """PREFIX ontouml: SELECT DISTINCT ?class_id ?class_stereotype ?class_name ?property_id ?property_stereotype WHERE { ?class_id rdf:type ontouml:Class . ?class_id ontouml:stereotype ?class_stereotype . ?class_id ontouml:name ?class_name . ?property_id rdf:type ontouml:Property . ?property_id ontouml:stereotype ?property_stereotype . ?property_id ontouml:propertyType ?class_id . VALUES ?property_stereotype {ontouml:begin ontouml:end} }""" .. raw:: html