Simple Question (Direct)
Simple Question
Q381464
P734
Q82799
USER
Who has the surname Imre Németh ?
(Q381464,P734,c(Q82799))
action filter_type
action find
entity Q381464
relation P734
type Q82799
['Q381464', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q381464 property:P734 ?u }
Imre Németh
action filter_type
action find
entity Imre Németh
relation family name
type name
['Imre Németh', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Imre_Németh property:family_name ?u }
[]
name
Q15478451
SYSTEM
Németh
Q15478451
(Q381464,P734,c(Q82799))
action filter_type
action find
entity Q381464
relation P734
type Q82799
[ANSWER] has the surname Imre [ANSWER]
['Q381464', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q381464 property:P734 ?u }
Németh
Németh has the surname Imre Németh
Németh
action filter_type
action find
entity Imre Németh
relation family name
type name
['Imre Németh', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Imre_Németh property:family_name ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q381464
P22
Q502895
USER
Which person has Imre Németh as a parent ?
(c(Q502895),P22,Q381464)
action filter_type
action find_reverse
entity Q381464
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q381464']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q381464 . ?k rdf:type ontology:Q502895 }
Imre Németh
action filter_type
action find_reverse
entity Imre Németh
relation father
type common name
[{'concept': 'common name'}, 'father', 'Imre Németh']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Imre_Németh . ?k rdf:type ontology:common_name }
[]
common name
Q444360
SYSTEM
Miklós Németh
Q444360
(c(Q502895),P22,Q381464)
action filter_type
action find_reverse
entity Q381464
relation P22
type Q502895
[ANSWER] has Imre Németh as a parent
[{'concept': 'Q502895'}, 'P22', 'Q381464']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q381464 . ?k rdf:type ontology:Q502895 }
Miklós Németh
Miklós Németh has Imre Németh as a parent
Miklós Németh
action filter_type
action find_reverse
entity Imre Németh
relation father
type common name
[{'concept': 'common name'}, 'father', 'Imre Németh']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Imre_Németh . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q444360
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q444360)
action filter_type
action find_reverse
entity Q444360
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q444360']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q444360 . ?w rdf:type ontology:Q502895 }
Miklós Németh
action filter_type
action find_reverse
entity Miklós Németh
relation child
type common name
[{'concept': 'common name'}, 'child', 'Miklós Németh']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Miklós_Németh . ?w rdf:type ontology:common_name }
[]
common name
Q381464
SYSTEM
Imre Németh
Q381464
(c(Q502895),P40,Q444360)
action filter_type
action find_reverse
entity Q444360
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q444360']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q444360 . ?w rdf:type ontology:Q502895 }
Imre Németh
Imre Németh has that one as an offspring
Imre Németh
action filter_type
action find_reverse
entity Miklós Németh
relation child
type common name
[{'concept': 'common name'}, 'child', 'Miklós Németh']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Miklós_Németh . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q381464
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q381464,P39,c(Q12737077))
action filter_type
action find
entity Q381464
relation P39
type Q12737077
['Q381464', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q381464 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Imre Németh
action filter_type
action find
entity Imre Németh
relation position held
type occupation
['Imre Németh', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Imre_Németh property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q17590876
SYSTEM
member of the National Assembly of Hungary
Q17590876
(Q381464,P39,c(Q12737077))
action filter_type
action find
entity Q381464
relation P39
type Q12737077
A [ANSWER] was a position occupied by that person
['Q381464', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q381464 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the National Assembly of Hungary
A member of the National Assembly of Hungary was a position occupied by that person
member of the National Assembly of Hungary
action filter_type
action find
entity Imre Németh
relation position held
type occupation
['Imre Németh', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Imre_Németh property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q381464
P21
Q290
USER
Which sex does Imre Németh have ?
(Q381464,P21,c(Q290))
action filter_type
action find
entity Q381464
relation P21
type Q290
['Q381464', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q381464 property:P21 ?x }
Imre Németh
action filter_type
action find
entity Imre Németh
relation gender
type sex
['Imre Németh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Imre_Németh property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q381464,P21,c(Q290))
action filter_type
action find
entity Q381464
relation P21
type Q290
Imre Németh has a [ANSWER]
['Q381464', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q381464 property:P21 ?x }
male
Imre Németh has a male
male
action filter_type
action find
entity Imre Németh
relation gender
type sex
['Imre Németh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Imre_Németh property:gender ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17590876
P1001
Q15617994
USER
How many administrative territories come under the supervision of member of the National Assembly of Hungary ?
(Q17590876,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q17590876
relation P1001
type Q15617994
['Q17590876', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q17590876 property:P1001 ?o . ?o rdf:type ontology:Q15617994 }
member of the National Assembly of Hungary
action count
action filter_type
action find
entity member of the National Assembly of Hungary
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the National Assembly of Hungary', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:member_of_the_National_Assembly_of_Hungary property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q28
(Q17590876,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q17590876
relation P1001
type Q15617994
[ANSWER]
['Q17590876', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q17590876 property:P1001 ?o . ?o rdf:type ontology:Q15617994 }
Hungary
1
action count
action filter_type
action find
entity member of the National Assembly of Hungary
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the National Assembly of Hungary', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:member_of_the_National_Assembly_of_Hungary property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q215987
P1001
Q15617994
USER
And what about Senate?
(Q215987,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q215987
relation P1001
type Q15617994
['Q215987', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q215987 property:P1001 ?f }
Senate
action count
action filter_type
action find
entity Senate
relation applies to jurisdiction
type designation for an administrative territorial entity
['Senate', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Senate property:applies_to_jurisdiction ?f }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q215987,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q215987
relation P1001
type Q15617994
[ANSWER]
['Q215987', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q215987 property:P1001 ?f }
France
1
action count
action filter_type
action find
entity Senate
relation applies to jurisdiction
type designation for an administrative territorial entity
['Senate', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Senate property:applies_to_jurisdiction ?f }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2081350
Q15617994
USER
And also tell me about Ministry of Agriculture and Rural Development of Israel?
(Q2081350,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q2081350
relation P1001
type Q15617994
['Q2081350', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q2081350 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
Ministry of Agriculture and Rural Development of Israel
action count
action filter_type
action find
entity Ministry of Agriculture and Rural Development of Israel
relation applies to jurisdiction
type designation for an administrative territorial entity
['Ministry of Agriculture and Rural Development of Israel', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Ministry_of_Agriculture_and_Rural_Development_of_Israel property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2081350,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q2081350
relation P1001
type Q15617994
[ANSWER]
['Q2081350', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q2081350 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Ministry of Agriculture and Rural Development of Israel
relation applies to jurisdiction
type designation for an administrative territorial entity
['Ministry of Agriculture and Rural Development of Israel', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Ministry_of_Agriculture_and_Rural_Development_of_Israel property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q12737077 Q15617994
USER
How many people are the names of the patron saint of atleast 29 occupations and administrative territories ?
(c(Q12737077)|c(Q15617994),P417,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 29
[[{'concept': 'Q12737077'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } . ?w rdf:type ?c } GROUP BY ?u } . FILTER ( ?e >= 29 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 29
[[{'concept': 'occupation'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?w rdf:type ?c } GROUP BY ?u } . FILTER ( ?e >= 29 ) }
[]
common name occupation designation for an administrative territorial entity
SYSTEM
2
Q133704 Q43999
(c(Q12737077)|c(Q15617994),P417,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 29
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } . ?w rdf:type ?c } GROUP BY ?u } . FILTER ( ?e >= 29 ) }
Martin of Tours James
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 29
[[{'concept': 'occupation'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?w rdf:type ?c } GROUP BY ?u } . FILTER ( ?e >= 29 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of around 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P417 ?d . ?q rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?u = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:patron_saint ?d . ?q rdf:type ontology:occupation . ?d rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?u = 1 ) }
[]
common name occupation
SYSTEM
38
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P417 ?d . ?q rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?u = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
38
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:patron_saint ?d . ?q rdf:type ontology:occupation . ?d rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?u = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of atleast 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P417 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?x } . FILTER ( ?k >= 2 ) }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:patron_saint ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?x } . FILTER ( ?k >= 2 ) }
[]
common name occupation
SYSTEM
16
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P417 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?x } . FILTER ( ?k >= 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
16
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:patron_saint ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?x } . FILTER ( ?k >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17590876
P463
Q502895
USER
Which people have a membership of member of the National Assembly of Hungary ?
(c(Q502895),P463,Q17590876)
action filter_type
action find_reverse
entity Q17590876
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q17590876']
SELECT DISTINCT ?v WHERE { ?v property:P463 resource:Q17590876 . ?v rdf:type ontology:Q502895 }
member of the National Assembly of Hungary
action filter_type
action find_reverse
entity member of the National Assembly of Hungary
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'member of the National Assembly of Hungary']
SELECT DISTINCT ?v WHERE { ?v property:member_of resource:member_of_the_National_Assembly_of_Hungary . ?v rdf:type ontology:common_name }
[]
common name
Q1031324 Q1007401 Q18977353
SYSTEM
György Gémesi, Salamon Gajzágó, György Bánffy
Q18977353 Q1031324 Q18352954 Q1007401 Q20611177
(c(Q502895),P463,Q17590876)
action filter_type
action find_reverse
entity Q17590876
relation P463
type Q502895
[ANSWERS] have a membership of member of the National Assembly of Hungary
[{'concept': 'Q502895'}, 'P463', 'Q17590876']
SELECT DISTINCT ?v WHERE { ?v property:P463 resource:Q17590876 . ?v rdf:type ontology:Q502895 }
György Bánffy György Gémesi Gedeon Ráday Salamon Gajzágó Johanna Wolf
György Gémesi, Salamon Gajzágó and György Bánffy have a membership of member of the National Assembly of Hungary
György Gémesi Salamon Gajzágó György Bánffy
action filter_type
action find_reverse
entity member of the National Assembly of Hungary
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'member of the National Assembly of Hungary']
SELECT DISTINCT ?v WHERE { ?v property:member_of resource:member_of_the_National_Assembly_of_Hungary . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1007401
P119
Q43229
USER
Which organization is the tomb of that person ?
(Q1007401,P119,c(Q43229))
action filter_type
action find
entity Q1007401
relation P119
type Q43229
['Q1007401', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q1007401 property:P119 ?c . ?c rdf:type ontology:Q43229 }
Salamon Gajzágó
action filter_type
action find
entity Salamon Gajzágó
relation place of burial
type organization
['Salamon Gajzágó', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Salamon_Gajzágó property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q18977353
SYSTEM
Did you mean György Bánffy ?
Q1031324 Q1007401 Q18977353
(Q1031324,P119,c(Q43229)) (Q1007401,P119,c(Q43229)) (Q18977353,P119,c(Q43229))
[ANSWER]
['Q1031324', 'P119', {'concept': 'Q43229'}] ['Q1007401', 'P119', {'concept': 'Q43229'}] ['Q18977353', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q1007401 property:P119 ?c . ?c rdf:type ontology:Q43229 }
György Gémesi Salamon Gajzágó György Bánffy
Did you mean György Bánffy ?
György Bánffy
['György Gémesi', 'place of burial', {'concept': 'organization'}] ['Salamon Gajzágó', 'place of burial', {'concept': 'organization'}] ['György Bánffy', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Salamon_Gajzágó property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Salamon Gajzágó. Could you tell me the answer for that?
(Q1007401,P119,c(Q43229))
Q1007401
['Q1007401', 'P119', {'concept': 'Q43229'}]
['Salamon Gajzágó', 'place of burial', {'concept': 'organization'}]
[]
Q288130
SYSTEM
Kerepesi Cemetery
Q288130
(Q1007401,P119,c(Q43229))
action filter_type
action find
entity Q1007401
relation P119
type Q43229
[ANSWER] is the tomb of that person
['Q1007401', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q1007401 property:P119 ?c . ?c rdf:type ontology:Q43229 }
Kerepesi Cemetery
Kerepesi Cemetery is the tomb of that person
Kerepesi Cemetery
action filter_type
action find
entity Salamon Gajzágó
relation place of burial
type organization
['Salamon Gajzágó', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Salamon_Gajzágó property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q565030
P17
Q1048835
USER
Which political territory is Bavarian Maximilian Order for Science and Art located in ?
(Q565030,P17,c(Q1048835))
action filter_type
action find
entity Q565030
relation P17
type Q1048835
['Q565030', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q565030 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Bavarian Maximilian Order for Science and Art
action filter_type
action find
entity Bavarian Maximilian Order for Science and Art
relation country
type political territorial entity
['Bavarian Maximilian Order for Science and Art', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Bavarian_Maximilian_Order_for_Science_and_Art property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q565030,P17,c(Q1048835))
action filter_type
action find
entity Q565030
relation P17
type Q1048835
[ANSWER] is Bavarian Maximilian Order for Science and Art located in
['Q565030', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q565030 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Germany is Bavarian Maximilian Order for Science and Art located in
Germany
action filter_type
action find
entity Bavarian Maximilian Order for Science and Art
relation country
type political territorial entity
['Bavarian Maximilian Order for Science and Art', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Bavarian_Maximilian_Order_for_Science_and_Art property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]