Simple Question (Direct)
Simple Question
Q1191104
P21
Q290
USER
What is the sex of Marmaduke Pickthall ?
(Q1191104,P21,c(Q290))
action filter_type
action find
entity Q1191104
relation P21
type Q290
['Q1191104', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1191104 property:P21 ?v . ?v rdf:type ontology:Q290 }
Marmaduke Pickthall
action filter_type
action find
entity Marmaduke Pickthall
relation gender
type sex
['Marmaduke Pickthall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Marmaduke_Pickthall property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1191104,P21,c(Q290))
action filter_type
action find
entity Q1191104
relation P21
type Q290
The sex of Marmaduke Pickthall is a [ANSWER]
['Q1191104', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1191104 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Marmaduke Pickthall is a male
male
action filter_type
action find
entity Marmaduke Pickthall
relation gender
type sex
['Marmaduke Pickthall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Marmaduke_Pickthall property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1191104
P19
Q123705
USER
Which neighborhood was Marmaduke Pickthall born at ?
(Q1191104,P19,c(Q123705))
action filter_type
action find
entity Q1191104
relation P19
type Q123705
['Q1191104', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { resource:Q1191104 property:P19 ?s . ?s rdf:type ontology:Q123705 }
Marmaduke Pickthall
action filter_type
action find
entity Marmaduke Pickthall
relation place of birth
type neighborhood
['Marmaduke Pickthall', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { resource:Marmaduke_Pickthall property:place_of_birth ?s . ?s rdf:type ontology:neighborhood }
[]
neighborhood
Q54961
SYSTEM
Harrow
Q54961
(Q1191104,P19,c(Q123705))
action filter_type
action find
entity Q1191104
relation P19
type Q123705
Marmaduke Pickthall was born in [ANSWER]
['Q1191104', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { resource:Q1191104 property:P19 ?s . ?s rdf:type ontology:Q123705 }
Harrow
Marmaduke Pickthall was born in Harrow
Harrow
action filter_type
action find
entity Marmaduke Pickthall
relation place of birth
type neighborhood
['Marmaduke Pickthall', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { resource:Marmaduke_Pickthall property:place_of_birth ?s . ?s rdf:type ontology:neighborhood }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54961
P20
Q502895
USER
Which people have that neighborhood as place of death ?
(c(Q502895),P20,Q54961)
action filter_type
action find_reverse
entity Q54961
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q54961']
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q54961 . ?q rdf:type ontology:Q502895 }
Harrow
action filter_type
action find_reverse
entity Harrow
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Harrow']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:Harrow . ?q rdf:type ontology:common_name }
[]
common name
Q725689 Q21535888 Q151628
SYSTEM
David Jones, Joseph Bradley, Henrietta Godolphin, 2nd Duchess of Marlborough
Q24255738 Q24700950 Q293362 Q725689 Q468736 Q5625552 Q1858592 Q2978879 Q5125292 Q151628 Q21535888 Q2442624
(c(Q502895),P20,Q54961)
action filter_type
action find_reverse
entity Q54961
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q54961']
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q54961 . ?q rdf:type ontology:Q502895 }
Thomas Port Wilfred Arnold Peggy Mitchell David Jones Victoria, Lady Welby Gytte Minton Anthony Ainley Clement Cazalet Claire Rayner Henrietta Godolphin, 2nd Duchess of Marlborough Joseph Bradley Nikolai Tchaikovsky
David Jones, Joseph Bradley and Henrietta Godolphin, 2nd Duchess of Marlborough have that neighborhood as place of death
David Jones Joseph Bradley Henrietta Godolphin, 2nd Duchess of Marlborough
action filter_type
action find_reverse
entity Harrow
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Harrow']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:Harrow . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q725689 Q21535888 Q151628
P21
Q290
USER
Which sexes do those people have ?
(Q725689,P21,c(Q290)) (Q21535888,P21,c(Q290)) (Q151628,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q725689', 'P21', {'concept': 'Q290'}] ['Q21535888', 'P21', {'concept': 'Q290'}] ['Q151628', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?i property:P21 ?h . ?h rdf:type ontology:Q290 . VALUES ( ?i ) { ( resource:Q24255738 ) ( resource:Q24700950 ) ( resource:Q293362 ) } }
David Jones Joseph Bradley Henrietta Godolphin, 2nd Duchess of Marlborough
action filter_type
action find
entity prev_answer
relation gender
type sex
['David Jones', 'gender', {'concept': 'sex'}] ['Joseph Bradley', 'gender', {'concept': 'sex'}] ['Henrietta Godolphin, 2nd Duchess of Marlborough', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?i property:gender ?h . ?h rdf:type ontology:sex . VALUES ( ?i ) { ( resource:Thomas_Port ) ( resource:Wilfred_Arnold ) ( resource:Peggy_Mitchell ) } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q725689,P21,c(Q290)) (Q21535888,P21,c(Q290)) (Q151628,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q725689', 'P21', {'concept': 'Q290'}] ['Q21535888', 'P21', {'concept': 'Q290'}] ['Q151628', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?i property:P21 ?h . ?h rdf:type ontology:Q290 . VALUES ( ?i ) { ( resource:Q24255738 ) ( resource:Q24700950 ) ( resource:Q293362 ) } }
male male female
Those people have a male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['David Jones', 'gender', {'concept': 'sex'}] ['Joseph Bradley', 'gender', {'concept': 'sex'}] ['Henrietta Godolphin, 2nd Duchess of Marlborough', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?i property:gender ?h . ?h rdf:type ontology:sex . VALUES ( ?i ) { ( resource:Thomas_Port ) ( resource:Wilfred_Arnold ) ( resource:Peggy_Mitchell ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q725689
P170
Q3305213
USER
What was developed by David Jones ?
(c(Q3305213),P170,Q725689)
action filter_type
action find_reverse
entity Q725689
relation P170
type Q3305213
[{'concept': 'Q3305213'}, 'P170', 'Q725689']
SELECT DISTINCT ?c WHERE { ?c property:P170 resource:Q725689 . ?c rdf:type ontology:Q3305213 }
David Jones
action filter_type
action find_reverse
entity David Jones
relation creator
type painting
[{'concept': 'painting'}, 'creator', 'David Jones']
SELECT DISTINCT ?c WHERE { ?c property:creator resource:David_Jones . ?c rdf:type ontology:painting }
[]
painting
Q27211817
SYSTEM
Crucifixion
Q27211817
(c(Q3305213),P170,Q725689)
action filter_type
action find_reverse
entity Q725689
relation P170
type Q3305213
[ANSWER] was developed by David Jones
[{'concept': 'Q3305213'}, 'P170', 'Q725689']
SELECT DISTINCT ?c WHERE { ?c property:P170 resource:Q725689 . ?c rdf:type ontology:Q3305213 }
Crucifixion
Crucifixion was developed by David Jones
Crucifixion
action filter_type
action find_reverse
entity David Jones
relation creator
type painting
[{'concept': 'painting'}, 'creator', 'David Jones']
SELECT DISTINCT ?c WHERE { ?c property:creator resource:David_Jones . ?c rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27211817
P127
Q502895
USER
Who owns that painting ?
(Q27211817,P127,c(Q502895))
action filter_type
action find
entity Q27211817
relation P127
type Q502895
['Q27211817', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q27211817 property:P127 ?f }
Crucifixion
action filter_type
action find
entity Crucifixion
relation owned by
type common name
['Crucifixion', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Crucifixion property:owned_by ?f }
[]
common name
Q5383
SYSTEM
David Bowie
Q5383
(Q27211817,P127,c(Q502895))
action filter_type
action find
entity Q27211817
relation P127
type Q502895
[ANSWER] owns that painting
['Q27211817', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q27211817 property:P127 ?f }
David Bowie
David Bowie owns that painting
David Bowie
action filter_type
action find
entity Crucifixion
relation owned by
type common name
['Crucifixion', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Crucifixion property:owned_by ?f }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q123705 Q83620 Q34442
USER
Which neighborhoods are the terminus locations of around 4 thoroughfares and roads ?
(c(Q83620)|c(Q34442),P609,c(Q123705))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q123705
type Q83620
action find_reverse_tuple_counts
relation P609
type Q123705
type Q34442
value 4
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?h = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?p WHERE { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?t rdf:type ?s } GROUP BY ?p } }
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type road
value 4
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?h = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?p WHERE { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?t rdf:type ?s } GROUP BY ?p } }
[]
neighborhood thoroughfare road
Q845015 Q14229145
SYSTEM
Chiswick, Perth
Q845015 Q14229145
(c(Q83620)|c(Q34442),P609,c(Q123705))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q123705
type Q83620
action find_reverse_tuple_counts
relation P609
type Q123705
type Q34442
value 4
[ANSWERS] are the terminus locations of around 4 thoroughfares and roads
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?h = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?p WHERE { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?t rdf:type ?s } GROUP BY ?p } }
Chiswick Perth
Chiswick and Perth are the terminus locations of around 4 thoroughfares and roads
Chiswick Perth
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type road
value 4
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?h = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) ?p WHERE { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?t rdf:type ?s } GROUP BY ?p } }
[]