You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the way we're supposed to add property qualifiers is not intuitive. Indeed, we're supposed to put it that way:
stations_metro_Lyon=spq_init() %>%
spq_add("?station wdt:P16 wd:Q1552") %>% # ?station is part of the Lyon metro network
spq_add("?station p:P197 ?statement") %>%
spq_add("?statement ps:P197 ?adjacent") %>% # ?station is connected to ?adjacent station
spq_add("?statement pq:P81 ?line") %>% # this connection is through line ?line
spq_add("?statement pq:P5051 ?direction") %>% # this connection is in direction ?direction
spq_label("station", "adjacent", "line", "direction") %>%
spq_perform()
For me, I'd assume that the "statement" IS a triple pattern, so that I'd like to put it that way:
stations_metro_Lyon=spq_init() %>%
spq_add("?station wdt:P16 wd:Q1552") %>% # ?station is part of the Lyon metro network
spq_add(statement="?station wdt:P197 ?adjacent") %>% # ?station is connected to ?adjacent
spq_add("?statement pq:P81 ?line") %>% # this connection is through line ?line
spq_add("?statement pq:P5051 ?direction") %>% # this connection is in direction ?direction
spq_label("station", "adjacent", "line", "direction") %>%
spq_perform()
@maelle do you feel the way I do? Would that be possible without being too much of a hassle?
The text was updated successfully, but these errors were encountered:
I think the way we're supposed to add property qualifiers is not intuitive. Indeed, we're supposed to put it that way:
For me, I'd assume that the "statement" IS a triple pattern, so that I'd like to put it that way:
@maelle do you feel the way I do? Would that be possible without being too much of a hassle?
The text was updated successfully, but these errors were encountered: