Simple Question (Direct)
Simple Question
Q748369
P39
Q12737077
USER
Which occupation was a position for which István Kossa was appointed ?
(Q748369,P39,c(Q12737077))
action filter_type
action find
entity Q748369
relation P39
type Q12737077
['Q748369', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q748369 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
István Kossa
action filter_type
action find
entity István Kossa
relation position held
type occupation
['István Kossa', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:István_Kossa property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q17590876
SYSTEM
member of the National Assembly of Hungary
Q17590876
(Q748369,P39,c(Q12737077))
action filter_type
action find
entity Q748369
relation P39
type Q12737077
A [ANSWER] was a position for which István Kossa was appointed
['Q748369', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q748369 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the National Assembly of Hungary
A member of the National Assembly of Hungary was a position for which István Kossa was appointed
member of the National Assembly of Hungary
action filter_type
action find
entity István Kossa
relation position held
type occupation
['István Kossa', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:István_Kossa property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q748369
P102
Q7278
USER
Which political party is István Kossa a member of ?
(Q748369,P102,c(Q7278))
action filter_type
action find
entity Q748369
relation P102
type Q7278
['Q748369', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q748369 property:P102 ?o . ?o rdf:type ontology:Q7278 }
István Kossa
action filter_type
action find
entity István Kossa
relation member of political party
type political party
['István Kossa', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:István_Kossa property:member_of_political_party ?o . ?o rdf:type ontology:political_party }
[]
political party
Q1073752
SYSTEM
Hungarian Working People's Party
Q1073752
(Q748369,P102,c(Q7278))
action filter_type
action find
entity Q748369
relation P102
type Q7278
The [ANSWER] is István Kossa a member of
['Q748369', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q748369 property:P102 ?o . ?o rdf:type ontology:Q7278 }
Hungarian Working People's Party
The Hungarian Working People's Party is István Kossa a member of
Hungarian Working People's Party
action filter_type
action find
entity István Kossa
relation member of political party
type political party
['István Kossa', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:István_Kossa property:member_of_political_party ?o . ?o rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P159
Q56061
USER
How many administrative territories are the head offices of that political party ?
(Q1073752,P159,c(Q56061))
action count
action filter_type
action find
entity Q1073752
relation P159
type Q56061
['Q1073752', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q1073752 property:P159 ?d . ?d rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Hungarian Working People's Party
relation headquarters location
type administrative territorial entity
["Hungarian Working People's Party", 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Hungarian_Working_People's_Party property:headquarters_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1781
(Q1073752,P159,c(Q56061))
action count
action filter_type
action find
entity Q1073752
relation P159
type Q56061
[ANSWER]
['Q1073752', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q1073752 property:P159 ?d . ?d rdf:type ontology:Q56061 }
Budapest
1
action count
action filter_type
action find
entity Hungarian Working People's Party
relation headquarters location
type administrative territorial entity
["Hungarian Working People's Party", 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Hungarian_Working_People's_Party property:headquarters_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1073752
P488
Q502895
USER
Who were the chair of Hungarian Working People's Party ?
(Q1073752,P488,c(Q502895))
action filter_type
action find
entity Q1073752
relation P488
type Q502895
['Q1073752', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1073752 property:P488 ?m . ?m rdf:type ontology:Q502895 }
Hungarian Working People's Party
action filter_type
action find
entity Hungarian Working People's Party
relation chairperson
type common name
["Hungarian Working People's Party", 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Hungarian_Working_People's_Party property:chairperson ?m . ?m rdf:type ontology:common_name }
[]
common name
Q176170 Q207631
SYSTEM
Ernő Gerő, Mátyás Rákosi
Q176170 Q207631
(Q1073752,P488,c(Q502895))
action filter_type
action find
entity Q1073752
relation P488
type Q502895
The chair of Hungarian Working People's Party were of [ANSWERS]
['Q1073752', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1073752 property:P488 ?m . ?m rdf:type ontology:Q502895 }
Ernő Gerő Mátyás Rákosi
The chair of Hungarian Working People's Party were of Ernő Gerő and Mátyás Rákosi
Ernő Gerő Mátyás Rákosi
action filter_type
action find
entity Hungarian Working People's Party
relation chairperson
type common name
["Hungarian Working People's Party", 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Hungarian_Working_People's_Party property:chairperson ?m . ?m rdf:type ontology:common_name }
[]