Simple Question (Direct)
Simple Question
Q478229
P190
Q15617994
USER
Which administrative territory is the sister city of Léognan ?
(Q478229,P190,c(Q15617994))
action filter_type
action find
entity Q478229
relation P190
type Q15617994
['Q478229', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q478229 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Léognan
action filter_type
action find
entity Léognan
relation sister city
type designation for an administrative territorial entity
['Léognan', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Léognan property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q157745
SYSTEM
Castagneto Carducci
Q157745
(Q478229,P190,c(Q15617994))
action filter_type
action find
entity Q478229
relation P190
type Q15617994
[ANSWER] is the sister city of Léognan
['Q478229', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q478229 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Castagneto Carducci
Castagneto Carducci is the sister city of Léognan
Castagneto Carducci
action filter_type
action find
entity Léognan
relation sister city
type designation for an administrative territorial entity
['Léognan', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Léognan property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q157745
P17
Q15617994
USER
Which administrative territory is that one a part of ?
(Q157745,P17,c(Q15617994))
action filter_type
action find
entity Q157745
relation P17
type Q15617994
['Q157745', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q157745 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Castagneto Carducci
action filter_type
action find
entity Castagneto Carducci
relation country
type designation for an administrative territorial entity
['Castagneto Carducci', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Castagneto_Carducci property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q157745,P17,c(Q15617994))
action filter_type
action find
entity Q157745
relation P17
type Q15617994
The [ANSWER] is that one a part of
['Q157745', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q157745 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Italy
The Italy is that one a part of
Italy
action filter_type
action find
entity Castagneto Carducci
relation country
type designation for an administrative territorial entity
['Castagneto Carducci', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Castagneto_Carducci property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3502002 Q157745
P17
Q15617994
USER
Or Gebba River?
OR((Q157745,P17,c(Q15617994)), (Q3502002,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q157745
relation P17
action find
entity Q3502002
relation P17
type Q15617994
{'OR': [['Q157745', 'P17', {'concept': 'Q15617994'}], ['Q3502002', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q157745 property:P17 ?v } UNION { resource:Q3502002 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Gebba River Castagneto Carducci
action filter_type
action union
action find
entity Castagneto Carducci
relation country
action find
entity Gebba River
relation country
type designation for an administrative territorial entity
{'OR': [['Castagneto Carducci', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gebba River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Castagneto_Carducci property:country ?v } UNION { resource:Gebba_River property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q115
SYSTEM
Italy, Ethiopia
Q38 Q115
OR((Q157745,P17,c(Q15617994)), (Q3502002,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q157745
relation P17
action find
entity Q3502002
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q157745', 'P17', {'concept': 'Q15617994'}], ['Q3502002', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q157745 property:P17 ?v } UNION { resource:Q3502002 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Italy Ethiopia
Italy Ethiopia
action filter_type
action union
action find
entity Castagneto Carducci
relation country
action find
entity Gebba River
relation country
type designation for an administrative territorial entity
{'OR': [['Castagneto Carducci', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gebba River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Castagneto_Carducci property:country ?v } UNION { resource:Gebba_River property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1651684
P530
Q1048835
USER
Do Villovieco have tactful political relations with those administrative territories ?
(Q1651684,P530,Q38) (Q1651684,P530,Q115)
action is_in
entity prev_answer
action find
entity Q1651684
relation P530
['Q1651684', 'P530', 'Q38'] ['Q1651684', 'P530', 'Q115']
ASK WHERE { VALUES ( ?n ) { ( resource:Q38 ) ( resource:Q115 ) } . resource:Q1651684 property:P530 ?n }
Villovieco
action is_in
entity prev_answer
action find
entity Villovieco
relation diplomatic relation
['Villovieco', 'diplomatic relation', 'Italy'] ['Villovieco', 'diplomatic relation', 'Ethiopia']
ASK WHERE { VALUES ( ?n ) { ( resource:Italy ) ( resource:Ethiopia ) } . resource:Villovieco property:diplomatic_relation ?n }
[]
political territorial entity
SYSTEM
NO
(Q1651684,P530,Q38) (Q1651684,P530,Q115)
action is_in
entity prev_answer
action find
entity Q1651684
relation P530
[ANSWER]
['Q1651684', 'P530', 'Q38'] ['Q1651684', 'P530', 'Q115']
ASK WHERE { VALUES ( ?n ) { ( resource:Q38 ) ( resource:Q115 ) } . resource:Q1651684 property:P530 ?n }
No
action is_in
entity prev_answer
action find
entity Villovieco
relation diplomatic relation
['Villovieco', 'diplomatic relation', 'Italy'] ['Villovieco', 'diplomatic relation', 'Ethiopia']
ASK WHERE { VALUES ( ?n ) { ( resource:Italy ) ( resource:Ethiopia ) } . resource:Villovieco property:diplomatic_relation ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q916
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with approximately the same number of administrative territories as Angola ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q916
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?q ) WHERE { ?x property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q916 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?z ) }
Angola
action approx
action find_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
entity Angola
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?q ) WHERE { ?x property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Angola property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 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 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q916
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with approximately the same number of administrative territories as Angola
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?q ) WHERE { ?x property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q916 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?z ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia 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 Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have ambassadorial relations with approximately the same number of administrative territories as Angola
Netherlands Poland People's Republic of China
action approx
action find_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
entity Angola
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 ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?q ) WHERE { ?x property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Angola property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q837
P530
Q15617994 Q15617994
USER
And also tell me about Nepal?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q837 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?b ) WHERE { ?g property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } }
Nepal
action approx
action find_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
entity Nepal
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 ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Nepal property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?b ) WHERE { ?g property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 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 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q837 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?b ) WHERE { ?g property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia 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 Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_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
entity Nepal
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 ?g WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Nepal property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?b ) WHERE { ?g property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q742919
P530
Q1048835
USER
Do Koshilivtsi have tactful political relations with those administrative territories ?
(Q742919,P530,Q55) (Q742919,P530,Q36) (Q742919,P530,Q148)
action is_in
entity prev_answer
action find
entity Q742919
relation P530
['Q742919', 'P530', 'Q55'] ['Q742919', 'P530', 'Q36'] ['Q742919', 'P530', 'Q148']
ASK WHERE { resource:Q742919 property:P530 ?b . VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Koshilivtsi
action is_in
entity prev_answer
action find
entity Koshilivtsi
relation diplomatic relation
['Koshilivtsi', 'diplomatic relation', 'Netherlands'] ['Koshilivtsi', 'diplomatic relation', 'Poland'] ['Koshilivtsi', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Koshilivtsi property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q742919,P530,Q55) (Q742919,P530,Q36) (Q742919,P530,Q148)
action is_in
entity prev_answer
action find
entity Q742919
relation P530
[ANSWER]
['Q742919', 'P530', 'Q55'] ['Q742919', 'P530', 'Q36'] ['Q742919', 'P530', 'Q148']
ASK WHERE { resource:Q742919 property:P530 ?b . VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Koshilivtsi
relation diplomatic relation
['Koshilivtsi', 'diplomatic relation', 'Netherlands'] ['Koshilivtsi', 'diplomatic relation', 'Poland'] ['Koshilivtsi', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Koshilivtsi property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P106
Q502895
USER
Which person has the profession of Italy ?
(c(Q502895),P106,Q38)
action filter_type
action find_reverse
entity Q38
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P106 resource:Q38 . ?t rdf:type ontology:Q502895 }
Italy
action filter_type
action find_reverse
entity Italy
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:occupation resource:Italy . ?t rdf:type ontology:common_name }
[]
common name
Q21334720
SYSTEM
Giovanni Marangoni
Q21334720
(c(Q502895),P106,Q38)
action filter_type
action find_reverse
entity Q38
relation P106
type Q502895
[ANSWER] has the profession of Italy
[{'concept': 'Q502895'}, 'P106', 'Q38']
SELECT DISTINCT ?t WHERE { ?t property:P106 resource:Q38 . ?t rdf:type ontology:Q502895 }
Giovanni Marangoni
Giovanni Marangoni has the profession of Italy
Giovanni Marangoni
action filter_type
action find_reverse
entity Italy
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Italy']
SELECT DISTINCT ?t WHERE { ?t property:occupation resource:Italy . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P921
Q838948
USER
Which work of art has Netherlands as its main topic ?
(c(Q838948),P921,Q55)
action filter_type
action find_reverse
entity Q55
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q55']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q55 . ?y rdf:type ontology:Q838948 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Netherlands']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Netherlands . ?y rdf:type ontology:work_of_art }
[]
work of art
Q2579300
SYSTEM
The Human Dutch
Q2579300
(c(Q838948),P921,Q55)
action filter_type
action find_reverse
entity Q55
relation P921
type Q838948
[ANSWER] has Netherlands as its main topic
[{'concept': 'Q838948'}, 'P921', 'Q55']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q55 . ?y rdf:type ontology:Q838948 }
The Human Dutch
The Human Dutch has Netherlands as its main topic
The Human Dutch
action filter_type
action find_reverse
entity Netherlands
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Netherlands']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Netherlands . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2579300
P86
Q502895
USER
Who composed that work of art ?
(Q2579300,P86,c(Q502895))
action filter_type
action find
entity Q2579300
relation P86
type Q502895
['Q2579300', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2579300 property:P86 ?d . ?d rdf:type ontology:Q502895 }
The Human Dutch
action filter_type
action find
entity The Human Dutch
relation composer
type common name
['The Human Dutch', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Human_Dutch property:composer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q1103542
SYSTEM
Otto Ketting
Q1103542
(Q2579300,P86,c(Q502895))
action filter_type
action find
entity Q2579300
relation P86
type Q502895
[ANSWER] composed that work of art
['Q2579300', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2579300 property:P86 ?d . ?d rdf:type ontology:Q502895 }
Otto Ketting
Otto Ketting composed that work of art
Otto Ketting
action filter_type
action find
entity The Human Dutch
relation composer
type common name
['The Human Dutch', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Human_Dutch property:composer ?d . ?d rdf:type ontology:common_name }
[]