Simple Question (Direct)
Simple Question
Q172301
P39
Q12737077
USER
What was the position for which Márton Gyöngyösi was appointed ?
(Q172301,P39,c(Q12737077))
action filter_type
action find
entity Q172301
relation P39
type Q12737077
['Q172301', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q172301 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Márton Gyöngyösi
action filter_type
action find
entity Márton Gyöngyösi
relation position held
type occupation
['Márton Gyöngyösi', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Márton_Gyöngyösi property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q17590876
SYSTEM
member of the National Assembly of Hungary
Q17590876
(Q172301,P39,c(Q12737077))
action filter_type
action find
entity Q172301
relation P39
type Q12737077
Hungary [ANSWER]
['Q172301', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q172301 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the National Assembly of Hungary
Hungary member of the National Assembly of Hungary
member of the National Assembly of Hungary
action filter_type
action find
entity Márton Gyöngyösi
relation position held
type occupation
['Márton Gyöngyösi', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Márton_Gyöngyösi property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172301
P69
Q3918
USER
Which university was that person educated at ?
(Q17590876,P69,c(Q3918))
action filter_type
action find
entity Q172301
relation P69
type Q3918
['Q17590876', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q172301 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Márton Gyöngyösi
action filter_type
action find
entity Márton Gyöngyösi
relation educated at
type university
['member of the National Assembly of Hungary', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Márton_Gyöngyösi property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q258464
SYSTEM
Trinity College Dublin
Q258464
(Q17590876,P69,c(Q3918))
action filter_type
action find
entity Q172301
relation P69
type Q3918
That person was educated at [ANSWER]
['Q17590876', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q172301 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Trinity College Dublin
That person was educated at Trinity College Dublin
Trinity College Dublin
action filter_type
action find
entity Márton Gyöngyösi
relation educated at
type university
['member of the National Assembly of Hungary', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Márton_Gyöngyösi property:educated_at ?t . ?t rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172301
P102
Q7210356
USER
Which party does that person belong to ?
(Q258464,P102,c(Q7210356))
action filter_type
action find
entity Q172301
relation P102
type Q7210356
['Q258464', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . resource:Q172301 property:P102 ?l }
Márton Gyöngyösi
action filter_type
action find
entity Márton Gyöngyösi
relation member of political party
type political organization
['Trinity College Dublin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . resource:Márton_Gyöngyösi property:member_of_political_party ?l }
[]
political organization
Q633442
SYSTEM
Jobbik
Q633442
(Q258464,P102,c(Q7210356))
action filter_type
action find
entity Q172301
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q258464', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q7210356 . resource:Q172301 property:P102 ?l }
Jobbik
That person belongs to Jobbik
Jobbik
action filter_type
action find
entity Márton Gyöngyösi
relation member of political party
type political organization
['Trinity College Dublin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_organization . resource:Márton_Gyöngyösi property:member_of_political_party ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q633442 Q11795138
P102
Q502895
USER
How many people belong to the political party Jobbik or Non-affiliated members of the House of Lords ?
(c(Q502895),P102,Q633442) (c(Q502895),P102,Q11795138)
action count
action union
action filter_type
action find_reverse
entity Q633442
relation P102
type Q502895
action filter_type
action find_reverse
entity Q11795138
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q633442'] [{'concept': 'Q502895'}, 'P102', 'Q11795138']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:P102 resource:Q633442 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . ?g property:P102 resource:Q11795138 } }
Jobbik Non-affiliated members of the House of Lords
action count
action union
action filter_type
action find_reverse
entity Jobbik
relation member of political party
type common name
action filter_type
action find_reverse
entity Non-affiliated members of the House of Lords
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Jobbik'] [{'concept': 'common name'}, 'member of political party', 'Non-affiliated members of the House of Lords']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:member_of_political_party resource:Jobbik . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . ?g property:member_of_political_party resource:Non-affiliated_members_of_the_House_of_Lords } }
[]
common name
SYSTEM
17
Q333264 Q837038 Q555669 Q17530757 Q270498 Q1120020 Q386102 Q2100977 Q1460900 Q1119241 Q807703 Q218872 Q1243435 Q1120036 Q774389 Q336420 Q172301
(c(Q502895),P102,Q633442) (c(Q502895),P102,Q11795138)
action count
action union
action filter_type
action find_reverse
entity Q633442
relation P102
type Q502895
action filter_type
action find_reverse
entity Q11795138
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q633442'] [{'concept': 'Q502895'}, 'P102', 'Q11795138']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:P102 resource:Q633442 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q502895 . ?g property:P102 resource:Q11795138 } }
Chris Smith, Baron Smith of Finsbury Csanád Szegedi Gábor Vona Balázs Ander Krisztina Morvai Béla Kovács Gergely Pongrátz Pola Uddin, Baroness Uddin János Volner Miklós Korondi Barbara Young, Baroness Young of Old Scone Zoltán Balczó Sándor Pörzse Dávid Kovács István Apáti Nazir Ahmed, Baron Ahmed Márton Gyöngyösi
17
action count
action union
action filter_type
action find_reverse
entity Jobbik
relation member of political party
type common name
action filter_type
action find_reverse
entity Non-affiliated members of the House of Lords
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Jobbik'] [{'concept': 'common name'}, 'member of political party', 'Non-affiliated members of the House of Lords']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:member_of_political_party resource:Jobbik . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:common_name . ?g property:member_of_political_party resource:Non-affiliated_members_of_the_House_of_Lords } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q633442
P102
Q502895
USER
How many people are members of Jobbik ?
(c(Q502895),P102,Q633442)
action count
action filter_type
action find_reverse
entity Q633442
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q633442']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P102 resource:Q633442 . ?m rdf:type ontology:Q502895 }
Jobbik
action count
action filter_type
action find_reverse
entity Jobbik
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Jobbik']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:member_of_political_party resource:Jobbik . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q17530757 Q386102 Q218872 Q555669 Q270498 Q1460900 Q1119241 Q1243435 Q837038 Q1120036 Q1120020 Q774389 Q172301
(c(Q502895),P102,Q633442)
action count
action filter_type
action find_reverse
entity Q633442
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q633442']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P102 resource:Q633442 . ?m rdf:type ontology:Q502895 }
Balázs Ander Gergely Pongrátz Zoltán Balczó Gábor Vona Krisztina Morvai János Volner Miklós Korondi Sándor Pörzse Csanád Szegedi Dávid Kovács Béla Kovács István Apáti Márton Gyöngyösi
13
action count
action filter_type
action find_reverse
entity Jobbik
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Jobbik']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:member_of_political_party resource:Jobbik . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q633442
P463
Q502895
USER
Which person has a membership of that political organization ?
action filter_type
action find_reverse
entity Q633442
relation P463
type Q502895
SELECT DISTINCT ?h WHERE { ?h property:P463 resource:Q633442 . ?h rdf:type ontology:Q502895 }
Jobbik
action filter_type
action find_reverse
entity Jobbik
relation member of
type common name
SELECT DISTINCT ?h WHERE { ?h property:member_of resource:Jobbik . ?h rdf:type ontology:common_name }
[]
common name
Q1255491
SYSTEM
Tamás Samu
Q1255491
action filter_type
action find_reverse
entity Q633442
relation P463
type Q502895
[ANSWER] has a membership of that political organization
SELECT DISTINCT ?h WHERE { ?h property:P463 resource:Q633442 . ?h rdf:type ontology:Q502895 }
Tamás Samu
Tamás Samu has a membership of that political organization
Tamás Samu
action filter_type
action find_reverse
entity Jobbik
relation member of
type common name
SELECT DISTINCT ?h WHERE { ?h property:member_of resource:Jobbik . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17590876
P361
Q1752346
USER
What is member of the National Assembly of Hungary a component of ?
(Q17590876,P361,c(Q1752346))
action filter_type
action find
entity Q17590876
relation P361
type Q1752346
['Q17590876', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?a WHERE { resource:Q17590876 property:P361 ?a . ?a rdf:type ontology:Q1752346 }
member of the National Assembly of Hungary
action filter_type
action find
entity member of the National Assembly of Hungary
relation part of
type assembly
['member of the National Assembly of Hungary', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?a WHERE { resource:member_of_the_National_Assembly_of_Hungary property:part_of ?a . ?a rdf:type ontology:assembly }
[]
assembly
Q648716
SYSTEM
National Assembly
Q648716
(Q17590876,P361,c(Q1752346))
action filter_type
action find
entity Q17590876
relation P361
type Q1752346
Hungary [ANSWER] member of the [ANSWER] of Hungary a component of
['Q17590876', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?a WHERE { resource:Q17590876 property:P361 ?a . ?a rdf:type ontology:Q1752346 }
National Assembly
Hungary National Assembly member of the National Assembly of Hungary a component of
National Assembly
action filter_type
action find
entity member of the National Assembly of Hungary
relation part of
type assembly
['member of the National Assembly of Hungary', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?a WHERE { resource:member_of_the_National_Assembly_of_Hungary property:part_of ?a . ?a rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q648716
P194
Q15617994
USER
Which administrative territory has that assembly as its legislative body ?
(c(Q15617994),P194,Q648716)
action filter_type
action find_reverse
entity Q648716
relation P194
type Q15617994
[{'concept': 'Q15617994'}, 'P194', 'Q648716']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . ?u property:P194 resource:Q648716 }
National Assembly
action filter_type
action find_reverse
entity National Assembly
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'National Assembly']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:legislative_body resource:National_Assembly }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(c(Q15617994),P194,Q648716)
action filter_type
action find_reverse
entity Q648716
relation P194
type Q15617994
The [ANSWER] has that assembly as its legislative body
[{'concept': 'Q15617994'}, 'P194', 'Q648716']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . ?u property:P194 resource:Q648716 }
Hungary
The Hungary has that assembly as its legislative body
Hungary
action filter_type
action find_reverse
entity National Assembly
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'National Assembly']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:legislative_body resource:National_Assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P1001
Q1292279
USER
Which political borders have jurisdiction over that administrative territory ?
(c(Q1292279),P1001,Q28)
action filter_type
action find_reverse
entity Q28
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q28']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1292279 . ?g property:P1001 resource:Q28 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Hungary']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_border . ?g property:applies_to_jurisdiction resource:Hungary }
[]
political border
Q3088945 Q1993093 Q1993022
SYSTEM
Hungary–Slovenia border, Hungary–Slovakia border, Hungary–Ukraine border
Q3088945 Q1993093 Q1993022 Q1991943 Q3088942 Q3088885 Q2452547
(c(Q1292279),P1001,Q28)
action filter_type
action find_reverse
entity Q28
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over that administrative territory
[{'concept': 'Q1292279'}, 'P1001', 'Q28']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1292279 . ?g property:P1001 resource:Q28 }
Hungary–Slovenia border Hungary–Slovakia border Hungary–Ukraine border Austria–Hungary border Hungary–Serbia border Croatia–Hungary border Hungary–Romania border
Hungary–Slovenia border, Hungary–Slovakia border and Hungary–Ukraine border have jurisdiction over that administrative territory
Hungary–Slovenia border Hungary–Slovakia border Hungary–Ukraine border
action filter_type
action find_reverse
entity Hungary
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Hungary']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_border . ?g property:applies_to_jurisdiction resource:Hungary }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3088945 Q1993093 Q1993022
P1001
Q15617994
USER
Which administrative territories come under the supervision of those political borders ?
(Q3088945,P1001,c(Q15617994)) (Q1993093,P1001,c(Q15617994)) (Q1993022,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q3088945', 'P1001', {'concept': 'Q15617994'}] ['Q1993093', 'P1001', {'concept': 'Q15617994'}] ['Q1993022', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?d property:P1001 ?r . VALUES ( ?d ) { ( resource:Q3088945 ) ( resource:Q1993093 ) ( resource:Q1993022 ) } }
Hungary–Slovenia border Hungary–Slovakia border Hungary–Ukraine border
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Hungary–Slovenia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Hungary–Slovakia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Hungary–Ukraine border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:applies_to_jurisdiction ?r . VALUES ( ?d ) { ( resource:Hungary–Slovenia_border ) ( resource:Hungary–Slovakia_border ) ( resource:Hungary–Ukraine_border ) } }
[]
designation for an administrative territorial entity
Q212 Q214 Q28
SYSTEM
Ukraine, Slovakia, Hungary
Q28 Q215 Q28 Q214 Q28 Q212
(Q3088945,P1001,c(Q15617994)) (Q1993093,P1001,c(Q15617994)) (Q1993022,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS] come under the supervision of those political borders
['Q3088945', 'P1001', {'concept': 'Q15617994'}] ['Q1993093', 'P1001', {'concept': 'Q15617994'}] ['Q1993022', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?d property:P1001 ?r . VALUES ( ?d ) { ( resource:Q3088945 ) ( resource:Q1993093 ) ( resource:Q1993022 ) } }
Hungary Slovenia Hungary Slovakia Hungary Ukraine
Ukraine, Slovakia and Hungary come under the supervision of those political borders
Ukraine Slovakia Hungary
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Hungary–Slovenia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Hungary–Slovakia border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Hungary–Ukraine border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:applies_to_jurisdiction ?r . VALUES ( ?d ) { ( resource:Hungary–Slovenia_border ) ( resource:Hungary–Slovakia_border ) ( resource:Hungary–Ukraine_border ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1255491
P106
Q12737077
USER
Which occupation is the profession of Tamás Samu ?
(Q1255491,P106,c(Q12737077))
action filter_type
action find
entity Q1255491
relation P106
type Q12737077
['Q1255491', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1255491 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Tamás Samu
action filter_type
action find
entity Tamás Samu
relation occupation
type occupation
['Tamás Samu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Tamás_Samu property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1255491,P106,c(Q12737077))
action filter_type
action find
entity Q1255491
relation P106
type Q12737077
So [ANSWER] is the profession of Tamás Samu
['Q1255491', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1255491 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
So politician is the profession of Tamás Samu
politician
action filter_type
action find
entity Tamás Samu
relation occupation
type occupation
['Tamás Samu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Tamás_Samu property:occupation ?u . ?u rdf:type ontology:occupation }
[]