Simple Question (Direct)
Simple Question
Q133614
P40
Q502895
USER
Which person is a child of George Stephenson ?
(Q133614,P40,c(Q502895))
action filter_type
action find
entity Q133614
relation P40
type Q502895
['Q133614', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q133614 property:P40 ?q . ?q rdf:type ontology:Q502895 }
George Stephenson
action filter_type
action find
entity George Stephenson
relation child
type common name
['George Stephenson', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:George_Stephenson property:child ?q . ?q rdf:type ontology:common_name }
[]
common name
Q328728
SYSTEM
Robert Stephenson
Q328728
(Q133614,P40,c(Q502895))
action filter_type
action find
entity Q133614
relation P40
type Q502895
The [ANSWER] is a child of George Stephenson
['Q133614', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q133614 property:P40 ?q . ?q rdf:type ontology:Q502895 }
Robert Stephenson
The Robert Stephenson is a child of George Stephenson
Robert Stephenson
action filter_type
action find
entity George Stephenson
relation child
type common name
['George Stephenson', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:George_Stephenson property:child ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q133614
P22
Q502895
USER
Who has George Stephenson as a father ?
(c(Q502895),P22,Q133614)
action filter_type
action find_reverse
entity Q133614
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q133614']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q133614 . ?x rdf:type ontology:Q502895 }
George Stephenson
action filter_type
action find_reverse
entity George Stephenson
relation father
type common name
[{'concept': 'common name'}, 'father', 'George Stephenson']
SELECT DISTINCT ?x WHERE { ?x property:father resource:George_Stephenson . ?x rdf:type ontology:common_name }
[]
common name
Q328728
SYSTEM
Robert Stephenson
Q328728
(c(Q502895),P22,Q133614)
action filter_type
action find_reverse
entity Q133614
relation P22
type Q502895
[ANSWER] has George Stephenson as a father
[{'concept': 'Q502895'}, 'P22', 'Q133614']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q133614 . ?x rdf:type ontology:Q502895 }
Robert Stephenson
Robert Stephenson has George Stephenson as a father
Robert Stephenson
action filter_type
action find_reverse
entity George Stephenson
relation father
type common name
[{'concept': 'common name'}, 'father', 'George Stephenson']
SELECT DISTINCT ?x WHERE { ?x property:father resource:George_Stephenson . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q328728
P287
Q12280
USER
Which bridges had designs produced by that person ?
(c(Q12280),P287,Q328728)
action filter_type
action find_reverse
entity Q328728
relation P287
type Q12280
[{'concept': 'Q12280'}, 'P287', 'Q328728']
SELECT DISTINCT ?y WHERE { ?y property:P287 resource:Q328728 . ?y rdf:type ontology:Q12280 }
Robert Stephenson
action filter_type
action find_reverse
entity Robert Stephenson
relation designer
type bridge
[{'concept': 'bridge'}, 'designer', 'Robert Stephenson']
SELECT DISTINCT ?y WHERE { ?y property:designer resource:Robert_Stephenson . ?y rdf:type ontology:bridge }
[]
bridge
Q918066 Q7319096 Q2170969
SYSTEM
Britannia Bridge, Rewley Road Swing Bridge, Royal Border Bridge
Q918066 Q7319096 Q2170969
(c(Q12280),P287,Q328728)
action filter_type
action find_reverse
entity Q328728
relation P287
type Q12280
[ANSWERS] had designs produced by that person
[{'concept': 'Q12280'}, 'P287', 'Q328728']
SELECT DISTINCT ?y WHERE { ?y property:P287 resource:Q328728 . ?y rdf:type ontology:Q12280 }
Britannia Bridge Rewley Road Swing Bridge Royal Border Bridge
Britannia Bridge, Rewley Road Swing Bridge and Royal Border Bridge had designs produced by that person
Britannia Bridge Rewley Road Swing Bridge Royal Border Bridge
action filter_type
action find_reverse
entity Robert Stephenson
relation designer
type bridge
[{'concept': 'bridge'}, 'designer', 'Robert Stephenson']
SELECT DISTINCT ?y WHERE { ?y property:designer resource:Robert_Stephenson . ?y rdf:type ontology:bridge }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q918066 Q7319096 Q2170969
P17
Q15617994
USER
Which administrative territories are those bridges located in ?
(Q918066,P17,c(Q15617994)) (Q7319096,P17,c(Q15617994)) (Q2170969,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q918066', 'P17', {'concept': 'Q15617994'}] ['Q7319096', 'P17', {'concept': 'Q15617994'}] ['Q2170969', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?j property:P17 ?p . ?p rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q918066 ) ( resource:Q7319096 ) ( resource:Q2170969 ) } }
Britannia Bridge Rewley Road Swing Bridge Royal Border Bridge
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Britannia Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rewley Road Swing Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Royal Border Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?j property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Britannia_Bridge ) ( resource:Rewley_Road_Swing_Bridge ) ( resource:Royal_Border_Bridge ) } }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q918066,P17,c(Q15617994)) (Q7319096,P17,c(Q15617994)) (Q2170969,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those bridges are located in [ANSWER], [ANSWER] and [ANSWER]
['Q918066', 'P17', {'concept': 'Q15617994'}] ['Q7319096', 'P17', {'concept': 'Q15617994'}] ['Q2170969', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?j property:P17 ?p . ?p rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q918066 ) ( resource:Q7319096 ) ( resource:Q2170969 ) } }
United Kingdom United Kingdom United Kingdom
Those bridges are located in United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Britannia Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rewley Road Swing Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Royal Border Bridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?j property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Britannia_Bridge ) ( resource:Rewley_Road_Swing_Bridge ) ( resource:Royal_Border_Bridge ) } }
[]