Simple Question (Direct)
Simple Question
Q1386160
P463
Q48204
USER
What was Georg Wöhrle a member of ?
(Q1386160,P463,c(Q48204))
action filter_type
action find
entity Q1386160
relation P463
type Q48204
['Q1386160', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?u WHERE { resource:Q1386160 property:P463 ?u . ?u rdf:type ontology:Q48204 }
Georg Wöhrle
action filter_type
action find
entity Georg Wöhrle
relation member of
type voluntary association
['Georg Wöhrle', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?u WHERE { resource:Georg_Wöhrle property:member_of ?u . ?u rdf:type ontology:voluntary_association }
[]
voluntary association
Q1583587
SYSTEM
Mommsen Society
Q1583587
(Q1386160,P463,c(Q48204))
action filter_type
action find
entity Q1386160
relation P463
type Q48204
Georg Wöhrle was a member of the [ANSWER]
['Q1386160', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?u WHERE { resource:Q1386160 property:P463 ?u . ?u rdf:type ontology:Q48204 }
Mommsen Society
Georg Wöhrle was a member of the Mommsen Society
Mommsen Society
action filter_type
action find
entity Georg Wöhrle
relation member of
type voluntary association
['Georg Wöhrle', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?u WHERE { resource:Georg_Wöhrle property:member_of ?u . ?u rdf:type ontology:voluntary_association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1386160
P21
Q290
USER
What is the sex of Georg Wöhrle ?
(Q1386160,P21,c(Q290))
action filter_type
action find
entity Q1386160
relation P21
type Q290
['Q1386160', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q1386160 property:P21 ?x }
Georg Wöhrle
action filter_type
action find
entity Georg Wöhrle
relation gender
type sex
['Georg Wöhrle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Georg_Wöhrle property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1386160,P21,c(Q290))
action filter_type
action find
entity Q1386160
relation P21
type Q290
The sex of Georg Wöhrle is the [ANSWER]
['Q1386160', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q1386160 property:P21 ?x }
male
The sex of Georg Wöhrle is the male
male
action filter_type
action find
entity Georg Wöhrle
relation gender
type sex
['Georg Wöhrle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Georg_Wöhrle property:gender ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7788544
Q290
USER
And also tell me about Thomas Collier Platt Jr.?
(Q7788544,P21,c(Q290))
action filter_type
action find
entity Q7788544
relation P21
type Q290
['Q7788544', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q7788544 property:P21 ?l }
Thomas Collier Platt Jr.
action filter_type
action find
entity Thomas Collier Platt Jr.
relation gender
type sex
['Thomas Collier Platt Jr.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Thomas_Collier_Platt_Jr. property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7788544,P21,c(Q290))
action filter_type
action find
entity Q7788544
relation P21
type Q290
[ANSWER]
['Q7788544', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q7788544 property:P21 ?l }
male
male
action filter_type
action find
entity Thomas Collier Platt Jr.
relation gender
type sex
['Thomas Collier Platt Jr.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Thomas_Collier_Platt_Jr. property:gender ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q2235308 Q20027951
USER
Which people are the team member of exactly 1 ship types or aircraft power classes ?
(c(Q2235308)|c(Q20027951),P1029,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) ?v WHERE { { ?o property:P1029 ?v . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q2235308 } UNION { ?o property:P1029 ?v . ?o rdf:type ontology:Q20027951 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . FILTER ( ?l = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 1
[[{'concept': 'ship type'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) ?v WHERE { { ?o property:crew_member ?v . ?v rdf:type ontology:common_name . ?o rdf:type ontology:ship_type } UNION { ?o property:crew_member ?v . ?o rdf:type ontology:aircraft_power_class . ?v rdf:type ontology:common_name } } GROUP BY ?v } . FILTER ( ?l = 1 ) }
[]
common name ship type aircraft power class
Q334084 Q294555 Q4103224
SYSTEM
Thomas Grenville, Paul Tibbets, Theodore Van Kirk
Q4103224 Q17478723 Q70468 Q334084 Q294555
(c(Q2235308)|c(Q20027951),P1029,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 1
[ANSWERS] are the team member of exactly 1 ship types or aircraft power classes
[[{'concept': 'Q2235308'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) ?v WHERE { { ?o property:P1029 ?v . ?v rdf:type ontology:Q502895 . ?o rdf:type ontology:Q2235308 } UNION { ?o property:P1029 ?v . ?o rdf:type ontology:Q20027951 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . FILTER ( ?l = 1 ) }
Theodore Van Kirk Hans-Kurt von Bremen Otto von Bülow Thomas Grenville Paul Tibbets
Thomas Grenville, Paul Tibbets and Theodore Van Kirk are the team member of exactly 1 ship types or aircraft power classes
Thomas Grenville Paul Tibbets Theodore Van Kirk
action equal
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 1
[[{'concept': 'ship type'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) ?v WHERE { { ?o property:crew_member ?v . ?v rdf:type ontology:common_name . ?o rdf:type ontology:ship_type } UNION { ?o property:crew_member ?v . ?o rdf:type ontology:aircraft_power_class . ?v rdf:type ontology:common_name } } GROUP BY ?v } . FILTER ( ?l = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334084
P7
Q502895
USER
Which people had Thomas Grenville as brother ?
(c(Q502895),P7,Q334084)
action filter_type
action find_reverse
entity Q334084
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q334084']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P7 resource:Q334084 }
Thomas Grenville
action filter_type
action find_reverse
entity Thomas Grenville
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Thomas Grenville']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:brother resource:Thomas_Grenville }
[]
common name
Q15699697 Q312596 Q333744
SYSTEM
Hester Grenville, William Wyndham Grenville, 1st Baron Grenville, George Nugent-Temple-Grenville, 1st Marquess of Buckingham
Q15699697 Q312596 Q333744
(c(Q502895),P7,Q334084)
action filter_type
action find_reverse
entity Q334084
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q334084']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P7 resource:Q334084 }
Hester Grenville William Wyndham Grenville, 1st Baron Grenville George Nugent-Temple-Grenville, 1st Marquess of Buckingham
Hester Grenville, William Wyndham Grenville, 1st Baron Grenville and George Nugent-Temple-Grenville, 1st Marquess of Buckingham had Thomas Grenville as brother
Hester Grenville William Wyndham Grenville, 1st Baron Grenville George Nugent-Temple-Grenville, 1st Marquess of Buckingham
action filter_type
action find_reverse
entity Thomas Grenville
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Thomas Grenville']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:brother resource:Thomas_Grenville }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334084
P9
Q502895
USER
Who is Thomas Grenville a sibling of ?
(Q334084,P9,c(Q502895))
action filter_type
action find
entity Q334084
relation P9
type Q502895
['Q334084', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q334084 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Thomas Grenville
action filter_type
action find
entity Thomas Grenville
relation sister
type common name
['Thomas Grenville', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Thomas_Grenville property:sister ?y . ?y rdf:type ontology:common_name }
[]
common name
Q15699697
SYSTEM
Hester Grenville
Q15699697
(Q334084,P9,c(Q502895))
action filter_type
action find
entity Q334084
relation P9
type Q502895
Thomas Grenville a sibling of is her [ANSWER]
['Q334084', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q334084 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Hester Grenville
Thomas Grenville a sibling of is her Hester Grenville
Hester Grenville
action filter_type
action find
entity Thomas Grenville
relation sister
type common name
['Thomas Grenville', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Thomas_Grenville property:sister ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15699697
P25
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P25,Q15699697)
action filter_type
action find_reverse
entity Q15699697
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q15699697']
SELECT DISTINCT ?t WHERE { ?t property:P25 resource:Q15699697 . ?t rdf:type ontology:Q502895 }
Hester Grenville
action filter_type
action find_reverse
entity Hester Grenville
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Hester Grenville']
SELECT DISTINCT ?t WHERE { ?t property:mother resource:Hester_Grenville . ?t rdf:type ontology:common_name }
[]
common name
Q5359607
SYSTEM
Hugh Fortescue, 2nd Earl Fortescue
Q5359607
(c(Q502895),P25,Q15699697)
action filter_type
action find_reverse
entity Q15699697
relation P25
type Q502895
The offspring of that one is Sir [ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q15699697']
SELECT DISTINCT ?t WHERE { ?t property:P25 resource:Q15699697 . ?t rdf:type ontology:Q502895 }
Hugh Fortescue, 2nd Earl Fortescue
The offspring of that one is Sir Hugh Fortescue, 2nd Earl Fortescue
Hugh Fortescue, 2nd Earl Fortescue
action filter_type
action find_reverse
entity Hester Grenville
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Hester Grenville']
SELECT DISTINCT ?t WHERE { ?t property:mother resource:Hester_Grenville . ?t rdf:type ontology:common_name }
[]