I'm new to SPARQL/Wikidata and trying to figure out how I ask for the time Angelina Jolie started dating each of her spouse.
I see the information in Jolie's Wikidata entry but I don't manage to form a valid query to obtain it. I guess it has something to do with those "qualifiers" I don't fully understand.
This is what I already tried:
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT ?x ?xLabel ?start
WHERE { wd:Q13909 p:P26 ?x . ?x v:P26 wd:Q13909 . ?x pq:P580 ?start . }
I know it is wrong.. I just don't know how to fix it.. I want to express the desire to know attributes of a specific previous predicate
Thank you for your help!
p.s: The answer for my query should be: Jonny Lee Miller 1995 Billy Bob Thornton March 2000 Brad Pitt 23 August 2014