Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support: is it possible to have --text of 2 properties? #29

Open
aborruso opened this issue May 5, 2018 · 0 comments
Open

Support: is it possible to have --text of 2 properties? #29

aborruso opened this issue May 5, 2018 · 0 comments

Comments

@aborruso
Copy link

aborruso commented May 5, 2018

Hi,
I have this query

wdq '?comune wdt:P31 wd:Q747074. ?comune wdt:P6 ?sindaco.' --text comune -f csv --limit 3

and I have

[ {
  "comune": "http://www.wikidata.org/entity/Q9450",
  "comuneDescription": "Italian comune",
  "comuneLabel": "Maglione",
  "sindaco": "http://www.wikidata.org/entity/Q28381357"
},{
  "comune": "http://www.wikidata.org/entity/Q13318",
  "comuneDescription": "coastal city and comune in the region of Liguria, Italy",
  "comuneLabel": "Imperia",
  "sindaco": "http://www.wikidata.org/entity/Q19402397"
},{
  "comune": "http://www.wikidata.org/entity/Q13364",
  "comuneDescription": "Italian comune",
  "comuneLabel": "Ravenna",
  "sindaco": "http://www.wikidata.org/entity/Q3738068"
} ]

Is it possible to have label and description also of "sindaco"? Is it possible to use something like --text "comune,sindaco"

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant