Simple Question (Direct)
Simple Question
Q23197980
P1066
Q502895
USER
Which people were the supervisors of Armand Guéry ?
(Q23197980,P1066,c(Q502895))
action filter_type
action find
entity Q23197980
relation P1066
type Q502895
['Q23197980', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q23197980 property:P1066 ?g . ?g rdf:type ontology:Q502895 }
Armand Guéry
action filter_type
action find
entity Armand Guéry
relation student of
type common name
['Armand Guéry', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Armand_Guéry property:student_of ?g . ?g rdf:type ontology:common_name }
[]
common name
Q20156267 Q23298988
SYSTEM
Paul Emmanuel Péraire, Auguste Rigon
Q20156267 Q23298988
(Q23197980,P1066,c(Q502895))
action filter_type
action find
entity Q23197980
relation P1066
type Q502895
[ANSWERS] were the supervisors of Armand Guéry
['Q23197980', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q23197980 property:P1066 ?g . ?g rdf:type ontology:Q502895 }
Paul Emmanuel Péraire Auguste Rigon
Paul Emmanuel Péraire and Auguste Rigon were the supervisors of Armand Guéry
Paul Emmanuel Péraire Auguste Rigon
action filter_type
action find
entity Armand Guéry
relation student of
type common name
['Armand Guéry', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Armand_Guéry property:student_of ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23197980
P20
Q20667921
USER
Where did the demise of Armand Guéry occur ?
(Q23197980,P20,c(Q20667921))
action filter_type
action find
entity Q23197980
relation P20
type Q20667921
['Q23197980', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q23197980 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Armand Guéry
action filter_type
action find
entity Armand Guéry
relation place of death
type type of french administrative division
['Armand Guéry', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Armand_Guéry property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1103461
SYSTEM
Gueux
Q1103461
(Q23197980,P20,c(Q20667921))
action filter_type
action find
entity Q23197980
relation P20
type Q20667921
The demise of Armand Guéry occurred in [ANSWER]
['Q23197980', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q23197980 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Gueux
The demise of Armand Guéry occurred in Gueux
Gueux
action filter_type
action find
entity Armand Guéry
relation place of death
type type of french administrative division
['Armand Guéry', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Armand_Guéry property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20156267
P802
Q502895
USER
Who was Paul Emmanuel Péraire a pupil of ?
(Q20156267,P802,c(Q502895))
action filter_type
action find
entity Q20156267
relation P802
type Q502895
['Q20156267', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q20156267 property:P802 ?f . ?f rdf:type ontology:Q502895 }
Paul Emmanuel Péraire
action filter_type
action find
entity Paul Emmanuel Péraire
relation student
type common name
['Paul Emmanuel Péraire', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Emmanuel_Péraire property:student ?f . ?f rdf:type ontology:common_name }
[]
common name
Q23197980
SYSTEM
Armand Guéry
Q23197980
(Q20156267,P802,c(Q502895))
action filter_type
action find
entity Q20156267
relation P802
type Q502895
Paul Emmanuel Péraire was a pupil of [ANSWER] of
['Q20156267', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q20156267 property:P802 ?f . ?f rdf:type ontology:Q502895 }
Armand Guéry
Paul Emmanuel Péraire was a pupil of Armand Guéry of
Armand Guéry
action filter_type
action find
entity Paul Emmanuel Péraire
relation student
type common name
['Paul Emmanuel Péraire', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Emmanuel_Péraire property:student ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q351328
Q502895
USER
And what about Adam van Noort?
(Q351328,P802,c(Q502895))
action filter_type
action find
entity Q351328
relation P802
type Q502895
['Q351328', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q351328 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Adam van Noort
action filter_type
action find
entity Adam van Noort
relation student
type common name
['Adam van Noort', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Adam_van_Noort property:student ?u . ?u rdf:type ontology:common_name }
[]
common name
Q5599
SYSTEM
Peter Paul Rubens
Q5599
(Q351328,P802,c(Q502895))
action filter_type
action find
entity Q351328
relation P802
type Q502895
[ANSWER]
['Q351328', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q351328 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Peter Paul Rubens
Peter Paul Rubens
action filter_type
action find
entity Adam van Noort
relation student
type common name
['Adam van Noort', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Adam_van_Noort property:student ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5599
P463
Q1400264
USER
Which artist collective was that person a member of ?
(Q5599,P463,c(Q1400264))
action filter_type
action find
entity Q5599
relation P463
type Q1400264
['Q5599', 'P463', {'concept': 'Q1400264'}]
SELECT DISTINCT ?r WHERE { resource:Q5599 property:P463 ?r . ?r rdf:type ontology:Q1400264 }
Peter Paul Rubens
action filter_type
action find
entity Peter Paul Rubens
relation member of
type artist collective
['Peter Paul Rubens', 'member of', {'concept': 'artist collective'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Paul_Rubens property:member_of ?r . ?r rdf:type ontology:artist_collective }
[]
artist collective
Q18508801
SYSTEM
Antwerp Guild of Saint Luke
Q18508801
(Q5599,P463,c(Q1400264))
action filter_type
action find
entity Q5599
relation P463
type Q1400264
[ANSWER] was that person a member of
['Q5599', 'P463', {'concept': 'Q1400264'}]
SELECT DISTINCT ?r WHERE { resource:Q5599 property:P463 ?r . ?r rdf:type ontology:Q1400264 }
Antwerp Guild of Saint Luke
Antwerp Guild of Saint Luke was that person a member of
Antwerp Guild of Saint Luke
action filter_type
action find
entity Peter Paul Rubens
relation member of
type artist collective
['Peter Paul Rubens', 'member of', {'concept': 'artist collective'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Paul_Rubens property:member_of ?r . ?r rdf:type ontology:artist_collective }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18508801
P417
Q502895
USER
Who is the patron saint of that artist collective ?
(Q18508801,P417,c(Q502895))
action filter_type
action find
entity Q18508801
relation P417
type Q502895
['Q18508801', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q18508801 property:P417 ?g }
Antwerp Guild of Saint Luke
action filter_type
action find
entity Antwerp Guild of Saint Luke
relation patron saint
type common name
['Antwerp Guild of Saint Luke', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Antwerp_Guild_of_Saint_Luke property:patron_saint ?g }
[]
common name
Q128538
SYSTEM
Luke the Evangelist
Q128538
(Q18508801,P417,c(Q502895))
action filter_type
action find
entity Q18508801
relation P417
type Q502895
The patron saint of that artist collective is Saint [ANSWER]
['Q18508801', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q18508801 property:P417 ?g }
Luke the Evangelist
The patron saint of that artist collective is Saint Luke the Evangelist
Luke the Evangelist
action filter_type
action find
entity Antwerp Guild of Saint Luke
relation patron saint
type common name
['Antwerp Guild of Saint Luke', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Antwerp_Guild_of_Saint_Luke property:patron_saint ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18508801
P17
Q15617994
USER
Which administrative territory is that artist collective situated in ?
(Q128538,P17,c(Q15617994))
action filter_type
action find
entity Q18508801
relation P17
type Q15617994
['Q128538', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q18508801 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Antwerp Guild of Saint Luke
action filter_type
action find
entity Antwerp Guild of Saint Luke
relation country
type designation for an administrative territorial entity
['Luke the Evangelist', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Antwerp_Guild_of_Saint_Luke property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q128538,P17,c(Q15617994))
action filter_type
action find
entity Q18508801
relation P17
type Q15617994
That artist collective is situated in [ANSWER]
['Q128538', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q18508801 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Belgium
That artist collective is situated in Belgium
Belgium
action filter_type
action find
entity Antwerp Guild of Saint Luke
relation country
type designation for an administrative territorial entity
['Luke the Evangelist', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Antwerp_Guild_of_Saint_Luke property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q800
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Costa Rica ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q800
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?a property:P530 ?f . ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q800 property:P530 ?x } } . FILTER ( ?e > ?g ) }
Costa Rica
action count
action greater
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 Costa Rica
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 ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?a property:diplomatic_relation ?f . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Costa_Rica property:diplomatic_relation ?x } } . FILTER ( ?e > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
63
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q800
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?a property:P530 ?f . ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q800 property:P530 ?x } } . FILTER ( ?e > ?g ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
63
action count
action greater
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 Costa Rica
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 ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?a property:diplomatic_relation ?f . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Costa_Rica property:diplomatic_relation ?x } } . FILTER ( ?e > ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2566456 Q800
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Costa Rica or are Ivan Demidov an inhabitant of ?
OR((Q800,P530,c(Q15617994)), (Q2566456,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q800
relation P530
action find
entity Q2566456
relation P27
type Q15617994
{'OR': [['Q800', 'P530', {'concept': 'Q15617994'}], ['Q2566456', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q800 property:P530 ?a } UNION { resource:Q2566456 property:P27 ?a } } }
Ivan Demidov Costa Rica
action filter_type
action union
action find
entity Costa Rica
relation diplomatic relation
action find
entity Ivan Demidov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Costa Rica', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ivan Demidov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Costa_Rica property:diplomatic_relation ?a } UNION { resource:Ivan_Demidov property:country_of_citizenship ?a } } }
[]
designation for an administrative territorial entity
Q155 Q159
SYSTEM
Brazil, Russia
Q155 Q159
OR((Q800,P530,c(Q15617994)), (Q2566456,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q800
relation P530
action find
entity Q2566456
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Costa Rica or are Ivan Demidov an inhabitant of
{'OR': [['Q800', 'P530', {'concept': 'Q15617994'}], ['Q2566456', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q800 property:P530 ?a } UNION { resource:Q2566456 property:P27 ?a } } }
Brazil Russia
Brazil and Russia hold diplomatic relationship with Costa Rica or are Ivan Demidov an inhabitant of
Brazil Russia
action filter_type
action union
action find
entity Costa Rica
relation diplomatic relation
action find
entity Ivan Demidov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Costa Rica', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ivan Demidov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Costa_Rica property:diplomatic_relation ?a } UNION { resource:Ivan_Demidov property:country_of_citizenship ?a } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q953
P530
Q15617994
USER
Do Zambia have diplomatic associations with those ones ?
(Q953,P530,Q155) (Q953,P530,Q159)
action is_in
entity prev_answer
action find
entity Q953
relation P530
['Q953', 'P530', 'Q155'] ['Q953', 'P530', 'Q159']
ASK WHERE { resource:Q953 property:P530 ?m . VALUES ( ?m ) { ( resource:Q155 ) ( resource:Q159 ) } }
Zambia
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Brazil'] ['Zambia', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Zambia property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Brazil ) ( resource:Russia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q953,P530,Q155) (Q953,P530,Q159)
action is_in
entity prev_answer
action find
entity Q953
relation P530
[ANSWER]
['Q953', 'P530', 'Q155'] ['Q953', 'P530', 'Q159']
ASK WHERE { resource:Q953 property:P530 ?m . VALUES ( ?m ) { ( resource:Q155 ) ( resource:Q159 ) } }
Yes
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Brazil'] ['Zambia', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Zambia property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Brazil ) ( resource:Russia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q31
P463
Q56061 Q484652
USER
How many administrative territories and international organizations had Belgium as their member ?
(Q31,P463,c(Q56061)) (Q31,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q31
relation P463
type Q56061
action filter_type
action find
entity Q31
relation P463
type Q484652
['Q31', 'P463', {'concept': 'Q56061'}] ['Q31', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q484652 ) } . ?i rdf:type ?x }
Belgium
action count
action union
action filter_type
action find
entity Belgium
relation member of
type administrative territorial entity
action filter_type
action find
entity Belgium
relation member of
type international organization
['Belgium', 'member of', {'concept': 'administrative territorial entity'}] ['Belgium', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:international_organization ) } . ?i rdf:type ?x }
[]
administrative territorial entity international organization
SYSTEM
1 administrative territories and 7 international organizations
Q81299 Q7184 Q1065 Q188822 Q458 Q42262 Q152299 Q1043527
(Q31,P463,c(Q56061)) (Q31,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q31
relation P463
type Q56061
action filter_type
action find
entity Q31
relation P463
type Q484652
[ANSWER]
['Q31', 'P463', {'concept': 'Q56061'}] ['Q31', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q484652 ) } . ?i rdf:type ?x }
Organization for Security and Co-operation in Europe North Atlantic Treaty Organisation United Nations Asian Development Bank European Union European Space Agency Dutch Language Union Multilateral Investment Guarantee Agency
1 administrative territories and 7 international organizations
action count
action union
action filter_type
action find
entity Belgium
relation member of
type administrative territorial entity
action filter_type
action find
entity Belgium
relation member of
type international organization
['Belgium', 'member of', {'concept': 'administrative territorial entity'}] ['Belgium', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:international_organization ) } . ?i rdf:type ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q574
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than East Timor ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q574 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?g ) }
East Timor
action count
action greater
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
entity East Timor
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 ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:East_Timor property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q574 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?g ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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
entity East Timor
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 ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:East_Timor property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q128538
P50
Q179461
USER
Which religious text is Luke the Evangelist an author of ?
(c(Q179461),P50,Q128538)
action filter_type
action find_reverse
entity Q128538
relation P50
type Q179461
[{'concept': 'Q179461'}, 'P50', 'Q128538']
SELECT DISTINCT ?m WHERE { ?m property:P50 resource:Q128538 . ?m rdf:type ontology:Q179461 }
Luke the Evangelist
action filter_type
action find_reverse
entity Luke the Evangelist
relation author
type religious text
[{'concept': 'religious text'}, 'author', 'Luke the Evangelist']
SELECT DISTINCT ?m WHERE { ?m property:author resource:Luke_the_Evangelist . ?m rdf:type ontology:religious_text }
[]
religious text
Q39939
SYSTEM
Gospel of Luke
Q39939
(c(Q179461),P50,Q128538)
action filter_type
action find_reverse
entity Q128538
relation P50
type Q179461
The [ANSWER] is Luke the Evangelist an author of
[{'concept': 'Q179461'}, 'P50', 'Q128538']
SELECT DISTINCT ?m WHERE { ?m property:P50 resource:Q128538 . ?m rdf:type ontology:Q179461 }
Gospel of Luke
The Gospel of Luke is Luke the Evangelist an author of
Gospel of Luke
action filter_type
action find_reverse
entity Luke the Evangelist
relation author
type religious text
[{'concept': 'religious text'}, 'author', 'Luke the Evangelist']
SELECT DISTINCT ?m WHERE { ?m property:author resource:Luke_the_Evangelist . ?m rdf:type ontology:religious_text }
[]