# Format parameter not working

**URL:** <https://community.stardog.com/t/format-parameter-not-working/808>\
**Category:** Support\
**Created:** [February 11, 2018, 1:45pm UTC](https://community.stardog.com/t/format-parameter-not-working/808 "2018-02-11T13:45:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReshmaDangol](https://avatars.discourse-cdn.com/v4/letter/r/c37758/32.png) [@ReshmaDangol](https://community.stardog.com/u/ReshmaDangol)\
**Post date:** [February 11, 2018, 1:45pm UTC](https://community.stardog.com/t/format-parameter-not-working/808/1 "2018-02-11T13:45:25Z")

</div>

> stardog query myDB "select \* where { ?s ?p ?o } limit 2" --format RDF/XML

Results in:

> 'RDF/XML' is not a valid RDF format identifier. Acceptable format strings are SPARQL, JSON, TEXT, TABLE, CSV, TSV, HTML.

How do I save the query result in any of the RDF formats?

---

<div class="post-metadata">

**Author:** ![ReshmaDangol](https://avatars.discourse-cdn.com/v4/letter/r/c37758/32.png) [@ReshmaDangol](https://community.stardog.com/u/ReshmaDangol)\
**Post date:** [February 11, 2018, 2:36pm UTC](https://community.stardog.com/t/format-parameter-not-working/808/2 "2018-02-11T14:36:18Z")

</div>

My bad. It has to be Construct query to work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [February 25, 2018, 2:36pm UTC](https://community.stardog.com/t/format-parameter-not-working/808/3 "2018-02-25T14:36:20Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
