def make_query(part_id: str) -> str:
    """Creates a SPARQL query

    :param part_id: biobrick identifier
    :returns: SPARQL format query

    """
    query = """PREFIX wd: <http://www.wikidata.org/entity/>
        PREFIX wdt: <http://bioparts.wiki.opencura.com/prop/direct/>
        PREFIX wikibase: <http://wikiba.se/ontology#>
        PREFIX p: <http://bioparts.wiki.opencura.com/prop/>
        PREFIX ps: <http://www.wikidata.org/prop/statement/>
        PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
        PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
        PREFIX bd: <http://www.bigdata.com/rdf#>
    
    
        SELECT ?item
        Where {
          ?item wdt:P11 \"""" + part_id + """\"; 
        }"""
    return query