Simple Question (Direct)
Simple Question
Q5669837
P21
Q290
USER
Which sex does Harry Howarth have ?
(Q5669837,P21,c(Q290))
action filter_type
action find
entity Q5669837
relation P21
type Q290
['Q5669837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5669837 property:P21 ?z . ?z rdf:type ontology:Q290 }
Harry Howarth
action filter_type
action find
entity Harry Howarth
relation gender
type sex
['Harry Howarth', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Harry_Howarth property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5669837,P21,c(Q290))
action filter_type
action find
entity Q5669837
relation P21
type Q290
Harry Howarth has a [ANSWER]
['Q5669837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5669837 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Harry Howarth has a male
male
action filter_type
action find
entity Harry Howarth
relation gender
type sex
['Harry Howarth', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Harry_Howarth property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5669837
P102
Q7210356
USER
Which party is Harry Howarth affiliated with ?
(Q5669837,P102,c(Q7210356))
action filter_type
action find
entity Q5669837
relation P102
type Q7210356
['Q5669837', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q5669837 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Harry Howarth
action filter_type
action find
entity Harry Howarth
relation member of political party
type political organization
['Harry Howarth', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Harry_Howarth property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q5669837,P102,c(Q7210356))
action filter_type
action find
entity Q5669837
relation P102
type Q7210356
Harry Howarth is affiliated with [ANSWER]
['Q5669837', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q5669837 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Labour Party
Harry Howarth is affiliated with Labour Party
Labour Party
action filter_type
action find
entity Harry Howarth
relation member of political party
type political organization
['Harry Howarth', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Harry_Howarth property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that political organization a part of ?
(Q9630,P17,c(Q15617994))
action count
action filter_type
action find
entity Q9630
relation P17
type Q15617994
['Q9630', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Q9630 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Labour Party
relation country
type designation for an administrative territorial entity
['Labour Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Labour_Party property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q9630,P17,c(Q15617994))
action count
action filter_type
action find
entity Q9630
relation P17
type Q15617994
[ANSWER]
['Q9630', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Q9630 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Labour Party
relation country
type designation for an administrative territorial entity
['Labour Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { resource:Labour_Party property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9630
P488
Q502895
USER
Which person was the chairperson of Labour Party ?
(Q9630,P488,c(Q502895))
action filter_type
action find
entity Q9630
relation P488
type Q502895
['Q9630', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q9630 property:P488 ?r . ?r rdf:type ontology:Q502895 }
Labour Party
action filter_type
action find
entity Labour Party
relation chairperson
type common name
['Labour Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Labour_Party property:chairperson ?r . ?r rdf:type ontology:common_name }
[]
common name
Q216594
SYSTEM
Ed Miliband
Q216594
(Q9630,P488,c(Q502895))
action filter_type
action find
entity Q9630
relation P488
type Q502895
[ANSWER] was the chairperson of Labour Party
['Q9630', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q9630 property:P488 ?r . ?r rdf:type ontology:Q502895 }
Ed Miliband
Ed Miliband was the chairperson of Labour Party
Ed Miliband
action filter_type
action find
entity Labour Party
relation chairperson
type common name
['Labour Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Labour_Party property:chairperson ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1623314
Q502895
USER
And how about Hofstra University?
(Q1623314,P488,c(Q502895))
action filter_type
action find
entity Q1623314
relation P488
type Q502895
['Q1623314', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1623314 property:P488 ?p }
Hofstra University
action filter_type
action find
entity Hofstra University
relation chairperson
type common name
['Hofstra University', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Hofstra_University property:chairperson ?p }
[]
common name
Q7626984
SYSTEM
Stuart Rabinowitz
Q7626984
(Q1623314,P488,c(Q502895))
action filter_type
action find
entity Q1623314
relation P488
type Q502895
[ANSWER]
['Q1623314', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1623314 property:P488 ?p }
Stuart Rabinowitz
Stuart Rabinowitz
action filter_type
action find
entity Hofstra University
relation chairperson
type common name
['Hofstra University', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Hofstra_University property:chairperson ?p }
[]