Simple Question (Direct)
Simple Question
Q1102425
P22
Q502895
USER
Which male person was the parent of Katalin Jánosi ?
(Q1102425,P22,c(Q502895))
action filter_type
action find
entity Q1102425
relation P22
type Q502895
['Q1102425', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1102425 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Katalin Jánosi
action filter_type
action find
entity Katalin Jánosi
relation father
type common name
['Katalin Jánosi', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Katalin_Jánosi property:father ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1102421
SYSTEM
Ferenc Jánosi
Q1102421
(Q1102425,P22,c(Q502895))
action filter_type
action find
entity Q1102425
relation P22
type Q502895
[ANSWER] was the parent of Katalin Jánosi
['Q1102425', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1102425 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Ferenc Jánosi
Ferenc Jánosi was the parent of Katalin Jánosi
Ferenc Jánosi
action filter_type
action find
entity Katalin Jánosi
relation father
type common name
['Katalin Jánosi', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Katalin_Jánosi property:father ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1102425
P26
Q502895
USER
Which person has Katalin Jánosi as spouse ?
(c(Q502895),P26,Q1102425)
action filter_type
action find
entity Q1102425
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1102425']
SELECT DISTINCT ?v WHERE { resource:Q1102425 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Katalin Jánosi
action filter_type
action find
entity Katalin Jánosi
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Katalin Jánosi']
SELECT DISTINCT ?v WHERE { resource:Katalin_Jánosi property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q792782
SYSTEM
Jenő Benedek
Q792782
(c(Q502895),P26,Q1102425)
action filter_type
action find
entity Q1102425
relation P26
type Q502895
[ANSWER] has Katalin Jánosi as spouse
[{'concept': 'Q502895'}, 'P26', 'Q1102425']
SELECT DISTINCT ?v WHERE { resource:Q1102425 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Jenő Benedek
Jenő Benedek has Katalin Jánosi as spouse
Jenő Benedek
action filter_type
action find
entity Katalin Jánosi
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Katalin Jánosi']
SELECT DISTINCT ?v WHERE { resource:Katalin_Jánosi property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1102425
P106
Q12737077
USER
What does Katalin Jánosi do for a living ?
(Q1102425,P106,c(Q12737077))
action filter_type
action find
entity Q1102425
relation P106
type Q12737077
['Q1102425', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1102425 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Katalin Jánosi
action filter_type
action find
entity Katalin Jánosi
relation occupation
type occupation
['Katalin Jánosi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Katalin_Jánosi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q1102425,P106,c(Q12737077))
action filter_type
action find
entity Q1102425
relation P106
type Q12737077
[ANSWER] Katalin Jánosi does for a living
['Q1102425', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1102425 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
painter
Painter Katalin Jánosi does for a living
painter
action filter_type
action find
entity Katalin Jánosi
relation occupation
type occupation
['Katalin Jánosi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Katalin_Jánosi property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1102425
P40
Q502895
USER
Which people have Katalin Jánosi as a child ?
(c(Q502895),P40,Q1102425)
action filter_type
action find_reverse
entity Q1102425
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1102425']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q1102425 . ?q rdf:type ontology:Q502895 }
Katalin Jánosi
action filter_type
action find_reverse
entity Katalin Jánosi
relation child
type common name
[{'concept': 'common name'}, 'child', 'Katalin Jánosi']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Katalin_Jánosi . ?q rdf:type ontology:common_name }
[]
common name
Q1102421 Q1214143
SYSTEM
Ferenc Jánosi, Erzsébet Nagy
Q1102421 Q1214143
(c(Q502895),P40,Q1102425)
action filter_type
action find_reverse
entity Q1102425
relation P40
type Q502895
[ANSWERS] have Katalin Jánosi as a child
[{'concept': 'Q502895'}, 'P40', 'Q1102425']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q1102425 . ?q rdf:type ontology:Q502895 }
Ferenc Jánosi Erzsébet Nagy
Ferenc Jánosi and Erzsébet Nagy have Katalin Jánosi as a child
Ferenc Jánosi Erzsébet Nagy
action filter_type
action find_reverse
entity Katalin Jánosi
relation child
type common name
[{'concept': 'common name'}, 'child', 'Katalin Jánosi']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Katalin_Jánosi . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1214143
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1214143,P27,c(Q15617994))
action filter_type
action find
entity Q1214143
relation P27
type Q15617994
['Q1214143', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1214143 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Erzsébet Nagy
action filter_type
action find
entity Erzsébet Nagy
relation country of citizenship
type designation for an administrative territorial entity
['Erzsébet Nagy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Erzsébet_Nagy property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1214143
SYSTEM
Did you mean Erzsébet Nagy ?
Q1102421 Q1214143
(Q1102421,P27,c(Q15617994)) (Q1214143,P27,c(Q15617994))
[ANSWER]
['Q1102421', 'P27', {'concept': 'Q15617994'}] ['Q1214143', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1214143 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Ferenc Jánosi Erzsébet Nagy
Did you mean Erzsébet Nagy ?
Erzsébet Nagy
['Ferenc Jánosi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Erzsébet Nagy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Erzsébet_Nagy property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1214143,P27,c(Q15617994))
['Q1214143', 'P27', {'concept': 'Q15617994'}]
['Erzsébet Nagy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q28
SYSTEM
Hungary
Q28
(Q1214143,P27,c(Q15617994))
action filter_type
action find
entity Q1214143
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1214143', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1214143 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Hungary
That person belongs to the Hungary
Hungary
action filter_type
action find
entity Erzsébet Nagy
relation country of citizenship
type designation for an administrative territorial entity
['Erzsébet Nagy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Erzsébet_Nagy property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q148
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with less number of administrative territories than People's Republic of China ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P530 resource:Q148 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?i ) }
People's Republic of China
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:diplomatic_relation resource:People's_Republic_of_China . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P530 resource:Q148 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?i ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:diplomatic_relation resource:People's_Republic_of_China . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1214143
P25
Q502895
USER
Who has Erzsébet Nagy as a mother ?
(c(Q502895),P25,Q1214143)
action filter_type
action find_reverse
entity Q1214143
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q1214143']
SELECT DISTINCT ?u WHERE { ?u property:P25 resource:Q1214143 . ?u rdf:type ontology:Q502895 }
Erzsébet Nagy
action filter_type
action find_reverse
entity Erzsébet Nagy
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Erzsébet Nagy']
SELECT DISTINCT ?u WHERE { ?u property:mother resource:Erzsébet_Nagy . ?u rdf:type ontology:common_name }
[]
common name
Q1102425
SYSTEM
Katalin Jánosi
Q1102425
(c(Q502895),P25,Q1214143)
action filter_type
action find_reverse
entity Q1214143
relation P25
type Q502895
[ANSWER] has Erzsébet Nagy as a mother
[{'concept': 'Q502895'}, 'P25', 'Q1214143']
SELECT DISTINCT ?u WHERE { ?u property:P25 resource:Q1214143 . ?u rdf:type ontology:Q502895 }
Katalin Jánosi
Katalin Jánosi has Erzsébet Nagy as a mother
Katalin Jánosi
action filter_type
action find_reverse
entity Erzsébet Nagy
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Erzsébet Nagy']
SELECT DISTINCT ?u WHERE { ?u property:mother resource:Erzsébet_Nagy . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1102425
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q1102425,P19,c(Q56061))
action filter_type
action find
entity Q1102425
relation P19
type Q56061
['Q1102425', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1102425 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Katalin Jánosi
action filter_type
action find
entity Katalin Jánosi
relation place of birth
type administrative territorial entity
['Katalin Jánosi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Katalin_Jánosi property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1102425,P19,c(Q56061))
action filter_type
action find
entity Q1102425
relation P19
type Q56061
That person was born in [ANSWER]
['Q1102425', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1102425 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Budapest
That person was born in Budapest
Budapest
action filter_type
action find
entity Katalin Jánosi
relation place of birth
type administrative territorial entity
['Katalin Jánosi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Katalin_Jánosi property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q386724
USER
How many occupations were atleast 8 works of art and works mainly about ?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 8
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?e rdf:type ?m } GROUP BY ?c } . FILTER ( ?s >= 8 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 8
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:work ) } . ?e rdf:type ?m } GROUP BY ?c } . FILTER ( ?s >= 8 ) }
[]
occupation work of art work
SYSTEM
5
Q33999 Q9402 Q164236 Q16746569 Q33231
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 8
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?e rdf:type ?m } GROUP BY ?c } . FILTER ( ?s >= 8 ) }
actor ninja war correspondent high school student photographer
5
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 8
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:work ) } . ?e rdf:type ?m } GROUP BY ?c } . FILTER ( ?s >= 8 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1214143
P1038
Q502895
USER
Who is a kin of Erzsébet Nagy ?
(c(Q502895),P1038,Q1214143)
action filter_type
action find_reverse
entity Q1214143
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q1214143']
SELECT DISTINCT ?y WHERE { ?y property:P1038 resource:Q1214143 . ?y rdf:type ontology:Q502895 }
Erzsébet Nagy
action filter_type
action find_reverse
entity Erzsébet Nagy
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Erzsébet Nagy']
SELECT DISTINCT ?y WHERE { ?y property:relative resource:Erzsébet_Nagy . ?y rdf:type ontology:common_name }
[]
common name
Q792770
SYSTEM
Imre Benedek
Q792770
(c(Q502895),P1038,Q1214143)
action filter_type
action find_reverse
entity Q1214143
relation P1038
type Q502895
A kin of Erzsébet Nagy is of [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q1214143']
SELECT DISTINCT ?y WHERE { ?y property:P1038 resource:Q1214143 . ?y rdf:type ontology:Q502895 }
Imre Benedek
A kin of Erzsébet Nagy is of Imre Benedek
Imre Benedek
action filter_type
action find_reverse
entity Erzsébet Nagy
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Erzsébet Nagy']
SELECT DISTINCT ?y WHERE { ?y property:relative resource:Erzsébet_Nagy . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q792770 Q177917
P1038
Q502895
USER
Is Imre Nagy a kin of that one ?
(Q792770,P1038,Q177917)
action is_in
entity Q177917
action find
entity Q792770
relation P1038
['Q792770', 'P1038', 'Q177917']
ASK WHERE { resource:Q792770 property:P1038 resource:Q177917 }
Imre Benedek Imre Nagy
action is_in
entity Imre Nagy
action find
entity Imre Benedek
relation relative
['Imre Benedek', 'relative', 'Imre Nagy']
ASK WHERE { resource:Imre_Benedek property:relative resource:Imre_Nagy }
[]
common name
SYSTEM
YES
(Q792770,P1038,Q177917)
action is_in
entity Q177917
action find
entity Q792770
relation P1038
[ANSWER]
['Q792770', 'P1038', 'Q177917']
ASK WHERE { resource:Q792770 property:P1038 resource:Q177917 }
Yes
action is_in
entity Imre Nagy
action find
entity Imre Benedek
relation relative
['Imre Benedek', 'relative', 'Imre Nagy']
ASK WHERE { resource:Imre_Benedek property:relative resource:Imre_Nagy }
[]