Simple Question (Direct)
Simple Question
Q771819
P102
Q7210356
USER
Which party does James Whitfield belong to ?
(Q771819,P102,c(Q7210356))
action filter_type
action find
entity Q771819
relation P102
type Q7210356
['Q771819', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q771819 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
James Whitfield
action filter_type
action find
entity James Whitfield
relation member of political party
type political organization
['James Whitfield', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:James_Whitfield property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q771819,P102,c(Q7210356))
action filter_type
action find
entity Q771819
relation P102
type Q7210356
James Whitfield belongs to [ANSWER]
['Q771819', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q771819 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Democratic Party
James Whitfield belongs to Democratic Party
Democratic Party
action filter_type
action find
entity James Whitfield
relation member of political party
type political organization
['James Whitfield', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:James_Whitfield property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q771819
P106
Q12737077
USER
What is the job of that person ?
(Q29552,P106,c(Q12737077))
action filter_type
action find
entity Q771819
relation P106
type Q12737077
['Q29552', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q771819 property:P106 ?a }
James Whitfield
action filter_type
action find
entity James Whitfield
relation occupation
type occupation
['Democratic Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:James_Whitfield property:occupation ?a }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q29552,P106,c(Q12737077))
action filter_type
action find
entity Q771819
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q29552', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q771819 property:P106 ?a }
politician
The job of that person is a politician
politician
action filter_type
action find
entity James Whitfield
relation occupation
type occupation
['Democratic Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:James_Whitfield property:occupation ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q771819
P21
Q290
USER
Which sex does that person have ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q771819
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q771819 property:P21 ?o }
James Whitfield
action filter_type
action find
entity James Whitfield
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:James_Whitfield property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q771819
relation P21
type Q290
That person has a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q771819 property:P21 ?o }
male
That person has a male
male
action filter_type
action find
entity James Whitfield
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:James_Whitfield property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q771819
P27
Q15617994
USER
Which administrative territory is James Whitfield a civilian of ?
(Q771819,P27,c(Q15617994))
action filter_type
action find
entity Q771819
relation P27
type Q15617994
['Q771819', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q771819 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
James Whitfield
action filter_type
action find
entity James Whitfield
relation country of citizenship
type designation for an administrative territorial entity
['James Whitfield', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:James_Whitfield property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q771819,P27,c(Q15617994))
action filter_type
action find
entity Q771819
relation P27
type Q15617994
The [ANSWER] is James Whitfield a civilian of
['Q771819', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q771819 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The United States of America is James Whitfield a civilian of
United States of America
action filter_type
action find
entity James Whitfield
relation country of citizenship
type designation for an administrative territorial entity
['James Whitfield', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:James_Whitfield property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29552 Q1754064
P17
Q15617994
USER
How many administrative territories do Democratic Party or Moonmilk belong to ?
(Q29552,P17,c(Q15617994)) (Q1754064,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29552
relation P17
type Q15617994
action filter_type
action find
entity Q1754064
relation P17
type Q15617994
['Q29552', 'P17', {'concept': 'Q15617994'}] ['Q1754064', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?q property:P17 ?j . VALUES ( ?q ) { ( resource:Q1754064 ) ( resource:Q29552 ) } }
Democratic Party Moonmilk
action count
action union
action filter_type
action find
entity Democratic Party
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Moonmilk
relation country
type designation for an administrative territorial entity
['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moonmilk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?q property:country ?j . VALUES ( ?q ) { ( resource:Moonmilk ) ( resource:Democratic_Party ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q30
(Q29552,P17,c(Q15617994)) (Q1754064,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29552
relation P17
type Q15617994
action filter_type
action find
entity Q1754064
relation P17
type Q15617994
[ANSWER]
['Q29552', 'P17', {'concept': 'Q15617994'}] ['Q1754064', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?q property:P17 ?j . VALUES ( ?q ) { ( resource:Q1754064 ) ( resource:Q29552 ) } }
Spain United States of America
2
action count
action union
action filter_type
action find
entity Democratic Party
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Moonmilk
relation country
type designation for an administrative territorial entity
['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moonmilk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?q property:country ?j . VALUES ( ?q ) { ( resource:Moonmilk ) ( resource:Democratic_Party ) } }
[]