Simple Question (Direct)
Simple Question
Q7143805
P641
Q349
USER
Which sport was Pat Morrissey a part of ?
(Q7143805,P641,c(Q349))
action filter_type
action find
entity Q7143805
relation P641
type Q349
['Q7143805', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q7143805 property:P641 ?m . ?m rdf:type ontology:Q349 }
Pat Morrissey
action filter_type
action find
entity Pat Morrissey
relation sport
type sport
['Pat Morrissey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Pat_Morrissey property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7143805,P641,c(Q349))
action filter_type
action find
entity Q7143805
relation P641
type Q349
Players [ANSWER] was Pat Morrissey a part of
['Q7143805', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q7143805 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Players association football was Pat Morrissey a part of
association football
action filter_type
action find
entity Pat Morrissey
relation sport
type sport
['Pat Morrissey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Pat_Morrissey property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7143805
P735
Q82799
USER
What is the firstname of that person ?
(Q2736,P735,c(Q82799))
action filter_type
action find
entity Q7143805
relation P735
type Q82799
['Q2736', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q7143805 property:P735 ?q }
Pat Morrissey
action filter_type
action find
entity Pat Morrissey
relation given name
type name
['association football', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Pat_Morrissey property:given_name ?q }
[]
name
Q19801119
SYSTEM
Pat
Q19801119
(Q2736,P735,c(Q82799))
action filter_type
action find
entity Q7143805
relation P735
type Q82799
The firstname of that person is also [ANSWER]
['Q2736', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q7143805 property:P735 ?q }
Pat
The firstname of that person is also Pat
Pat
action filter_type
action find
entity Pat Morrissey
relation given name
type name
['association football', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Pat_Morrissey property:given_name ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19801119 Q7143975
P735
Q502895
USER
Does Pat Ross have that one as given name ?
(Q7143975,P735,Q19801119)
action is_in
entity Q19801119
action find
entity Q7143975
relation P735
['Q7143975', 'P735', 'Q19801119']
ASK WHERE { resource:Q7143975 property:P735 resource:Q19801119 }
Pat Pat Ross
action is_in
entity Pat
action find
entity Pat Ross
relation given name
['Pat Ross', 'given name', 'Pat']
ASK WHERE { resource:Pat_Ross property:given_name resource:Pat }
[]
common name
SYSTEM
YES
(Q7143975,P735,Q19801119)
action is_in
entity Q19801119
action find
entity Q7143975
relation P735
[ANSWER]
['Q7143975', 'P735', 'Q19801119']
ASK WHERE { resource:Q7143975 property:P735 resource:Q19801119 }
Yes
action is_in
entity Pat
action find
entity Pat Ross
relation given name
['Pat Ross', 'given name', 'Pat']
ASK WHERE { resource:Pat_Ross property:given_name resource:Pat }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7143805 Q19461542 Q937857
P106
Q12737077
USER
Does Pat Morrissey have a job as Bishop of Louisiana and association football player ?
(Q7143805,P106,Q19461542) (Q7143805,P106,Q937857)
action is_in
entity Q7143805
action intersection
action find_reverse
entity Q19461542
relation P106
action find_reverse
entity Q937857
relation P106
['Q7143805', 'P106', 'Q19461542'] ['Q7143805', 'P106', 'Q937857']
ASK WHERE { resource:Q7143805 property:P106 resource:Q937857 . resource:Q7143805 property:P106 resource:Q19461542 }
Pat Morrissey Bishop of Louisiana association football player
action is_in
entity Pat Morrissey
action intersection
action find_reverse
entity Bishop of Louisiana
relation occupation
action find_reverse
entity association football player
relation occupation
['Pat Morrissey', 'occupation', 'Bishop of Louisiana'] ['Pat Morrissey', 'occupation', 'association football player']
ASK WHERE { resource:Pat_Morrissey property:occupation resource:association_football_player . resource:Pat_Morrissey property:occupation resource:Bishop_of_Louisiana }
[]
occupation
SYSTEM
NO and YES respectively
(Q7143805,P106,Q19461542) (Q7143805,P106,Q937857)
action is_in
entity Q7143805
action intersection
action find_reverse
entity Q19461542
relation P106
action find_reverse
entity Q937857
relation P106
[ANSWER]
['Q7143805', 'P106', 'Q19461542'] ['Q7143805', 'P106', 'Q937857']
ASK WHERE { resource:Q7143805 property:P106 resource:Q937857 . resource:Q7143805 property:P106 resource:Q19461542 }
NO and YES respectively
action is_in
entity Pat Morrissey
action intersection
action find_reverse
entity Bishop of Louisiana
relation occupation
action find_reverse
entity association football player
relation occupation
['Pat Morrissey', 'occupation', 'Bishop of Louisiana'] ['Pat Morrissey', 'occupation', 'association football player']
ASK WHERE { resource:Pat_Morrissey property:occupation resource:association_football_player . resource:Pat_Morrissey property:occupation resource:Bishop_of_Louisiana }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24089439 Q7143805
P27
Q15617994
USER
Which administrative territories do Pat Morrissey or Vasile Tărăgan belong to ?
OR((Q7143805,P27,c(Q15617994)), (Q24089439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7143805
relation P27
action find
entity Q24089439
relation P27
type Q15617994
{'OR': [['Q7143805', 'P27', {'concept': 'Q15617994'}], ['Q24089439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7143805 property:P27 ?a } UNION { resource:Q24089439 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Vasile Tărăgan Pat Morrissey
action filter_type
action union
action find
entity Pat Morrissey
relation country of citizenship
action find
entity Vasile Tărăgan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pat Morrissey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vasile Tărăgan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Pat_Morrissey property:country_of_citizenship ?a } UNION { resource:Vasile_Tărăgan property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q27
SYSTEM
Romania, Ireland
Q218 Q27
OR((Q7143805,P27,c(Q15617994)), (Q24089439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7143805
relation P27
action find
entity Q24089439
relation P27
type Q15617994
Pat Morrissey or Vasile Tărăgan belong to [ANSWERS]
{'OR': [['Q7143805', 'P27', {'concept': 'Q15617994'}], ['Q24089439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7143805 property:P27 ?a } UNION { resource:Q24089439 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Romania Ireland
Pat Morrissey or Vasile Tărăgan belong to Romania and Ireland
Romania Ireland
action filter_type
action union
action find
entity Pat Morrissey
relation country of citizenship
action find
entity Vasile Tărăgan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pat Morrissey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vasile Tărăgan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Pat_Morrissey property:country_of_citizenship ?a } UNION { resource:Vasile_Tărăgan property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5253158
P530
Q15617994
USER
Do Delano Union Elementary School District have diplomatic associations with those ones ?
(Q5253158,P530,Q218) (Q5253158,P530,Q27)
action is_in
entity prev_answer
action find
entity Q5253158
relation P530
['Q5253158', 'P530', 'Q218'] ['Q5253158', 'P530', 'Q27']
ASK WHERE { resource:Q5253158 property:P530 ?g . VALUES ( ?g ) { ( resource:Q218 ) ( resource:Q27 ) } }
Delano Union Elementary School District
action is_in
entity prev_answer
action find
entity Delano Union Elementary School District
relation diplomatic relation
['Delano Union Elementary School District', 'diplomatic relation', 'Romania'] ['Delano Union Elementary School District', 'diplomatic relation', 'Ireland']
ASK WHERE { resource:Delano_Union_Elementary_School_District property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Romania ) ( resource:Ireland ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5253158,P530,Q218) (Q5253158,P530,Q27)
action is_in
entity prev_answer
action find
entity Q5253158
relation P530
[ANSWER]
['Q5253158', 'P530', 'Q218'] ['Q5253158', 'P530', 'Q27']
ASK WHERE { resource:Q5253158 property:P530 ?g . VALUES ( ?g ) { ( resource:Q218 ) ( resource:Q27 ) } }
No
action is_in
entity prev_answer
action find
entity Delano Union Elementary School District
relation diplomatic relation
['Delano Union Elementary School District', 'diplomatic relation', 'Romania'] ['Delano Union Elementary School District', 'diplomatic relation', 'Ireland']
ASK WHERE { resource:Delano_Union_Elementary_School_District property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Romania ) ( resource:Ireland ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q41176 Q1076486
USER
How many sports are considered as the main functionality of atleast 3 buildings or sports venues ?
(c(Q41176)|c(Q1076486),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
value 3
[[{'concept': 'Q41176'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { FILTER ( ?m >= 3 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q41176 ) ( ontology:Q1076486 ) } } GROUP BY ?z } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type sports venue
value 3
[[{'concept': 'building'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { FILTER ( ?m >= 3 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:building ) ( ontology:sports_venue ) } } GROUP BY ?z } }
[]
sport building sports venue
SYSTEM
3
Q183018 Q2736 Q41466
(c(Q41176)|c(Q1076486),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
value 3
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { FILTER ( ?m >= 3 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q41176 ) ( ontology:Q1076486 ) } } GROUP BY ?z } }
bandy association football ice hockey
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type sports venue
value 3
[[{'concept': 'building'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { FILTER ( ?m >= 3 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:building ) ( ontology:sports_venue ) } } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1028
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with approximately the same number of administrative territories as Morocco ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1028
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1028 property:P530 ?a } } . FILTER ( ?x = ?o ) }
Morocco
action approx
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 Morocco
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Morocco property:diplomatic_relation ?a } } . FILTER ( ?x = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1028
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with approximately the same number of administrative territories as Morocco
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1028 property:P530 ?a } } . FILTER ( ?x = ?o ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have a diplomatic relationship with approximately the same number of administrative territories as Morocco
Georgia Netherlands Poland
action approx
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 Morocco
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Morocco property:diplomatic_relation ?a } } . FILTER ( ?x = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q858
P530
Q15617994 Q15617994
USER
And also tell me about Syria?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q858 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P530 ?r . ?u rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } }
Syria
action approx
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 Syria
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Syria property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:diplomatic_relation ?r . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 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 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Q858 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P530 ?r . ?u rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 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 Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
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 Syria
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { resource:Syria property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:diplomatic_relation ?r . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q55 Q36
P163
Q14660
USER
Which flags are associated with Georgia, Netherlands and Poland ?
(Q230,P163,c(Q14660)) (Q55,P163,c(Q14660)) (Q36,P163,c(Q14660))
action union
action filter_type
action find
entity Q230
relation P163
type Q14660
action filter_type
action find
entity Q55
relation P163
type Q14660
action filter_type
action find
entity Q36
relation P163
type Q14660
['Q230', 'P163', {'concept': 'Q14660'}] ['Q55', 'P163', {'concept': 'Q14660'}] ['Q36', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { ?l property:P163 ?e . VALUES ( ?l ) { ( resource:Q230 ) ( resource:Q55 ) } }
Georgia Netherlands Poland
action union
action filter_type
action find
entity Georgia
relation flag
type flag
action filter_type
action find
entity Netherlands
relation flag
type flag
action filter_type
action find
entity Poland
relation flag
type flag
['Georgia', 'flag', {'concept': 'flag'}] ['Netherlands', 'flag', {'concept': 'flag'}] ['Poland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { ?l property:flag ?e . VALUES ( ?l ) { ( resource:Georgia ) ( resource:Netherlands ) } }
[]
flag
Q26491 Q46585 Q42436
SYSTEM
Flag of Georgia, flag of the Netherlands, Flag of Poland
Q26491 Q46585 Q42436
(Q230,P163,c(Q14660)) (Q55,P163,c(Q14660)) (Q36,P163,c(Q14660))
action union
action filter_type
action find
entity Q230
relation P163
type Q14660
action filter_type
action find
entity Q55
relation P163
type Q14660
action filter_type
action find
entity Q36
relation P163
type Q14660
[ANSWERS] are associated with Georgia, Netherlands and Poland
['Q230', 'P163', {'concept': 'Q14660'}] ['Q55', 'P163', {'concept': 'Q14660'}] ['Q36', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { ?l property:P163 ?e . VALUES ( ?l ) { ( resource:Q230 ) ( resource:Q55 ) } }
Flag of Georgia flag of the Netherlands Flag of Poland
Flag of Georgia, flag of the Netherlands and Flag of Poland are associated with Georgia, Netherlands and Poland
Flag of Georgia flag of the Netherlands Flag of Poland
action union
action filter_type
action find
entity Georgia
relation flag
type flag
action filter_type
action find
entity Netherlands
relation flag
type flag
action filter_type
action find
entity Poland
relation flag
type flag
['Georgia', 'flag', {'concept': 'flag'}] ['Netherlands', 'flag', {'concept': 'flag'}] ['Poland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { ?l property:flag ?e . VALUES ( ?l ) { ( resource:Georgia ) ( resource:Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P1532
Q502895
USER
Who represent Ireland ?
(c(Q502895),P1532,Q27)
action filter_type
action find_reverse
entity Q27
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q27']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P1532 resource:Q27 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Ireland']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:country_for_sport resource:Ireland }
[]
common name
Q15864937 Q27062578 Q21663280
SYSTEM
Paul Donovan, John Doherty, Tom McGuirk
Q27062578 Q5242225 Q3161451 Q23714538 Q25999744 Q3313472 Q25939025 Q7175815 Q21663280 Q605864 Q22002462 Q6793080 Q9334690 Q3190437 Q22002445 Q2924970 Q15864937 Q3360340 Q3028719 Q22415175 Q23043629 Q25936076 Q3183317 Q6405342 Q7369544
(c(Q502895),P1532,Q27)
action filter_type
action find_reverse
entity Q27
relation P1532
type Q502895
Players [ANSWERS] represent Ireland
[{'concept': 'Q502895'}, 'P1532', 'Q27']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P1532 resource:Q27 }
John Doherty Davy Tweed James Topping Sean Hehir Phil Healy Mike Mullins Christine McMahon Peter McMahon Tom McGuirk Gabriel Fulcher Ciara Sheehy Maurice Field Sean O'Neill Justin Fitzpatrick Emily Maher Brian O'Meara Paul Donovan Paddy Johns Dion O'Cuinneagain Rosemary Ryan Aisling Molloy Deirdre Byrne Jonathan Bell Kieran Brookes Ross Nesdale
Players Paul Donovan, John Doherty and Tom McGuirk represent Ireland
Paul Donovan John Doherty Tom McGuirk
action filter_type
action find_reverse
entity Ireland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Ireland']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:country_for_sport resource:Ireland }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15864937 Q27062578 Q21663280
P734
Q82799
USER
Who are associated with Paul Donovan, John Doherty and Tom McGuirk ?
(Q15864937,P734,c(Q82799)) (Q27062578,P734,c(Q82799)) (Q21663280,P734,c(Q82799))
action union
action filter_type
action find
entity Q15864937
relation P734
type Q82799
action filter_type
action find
entity Q27062578
relation P734
type Q82799
action filter_type
action find
entity Q21663280
relation P734
type Q82799
['Q15864937', 'P734', {'concept': 'Q82799'}] ['Q27062578', 'P734', {'concept': 'Q82799'}] ['Q21663280', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { { resource:Q15864937 property:P734 ?z . ?z rdf:type ontology:Q82799 } UNION { resource:Q27062578 property:P734 ?z . ?z rdf:type ontology:Q82799 } }
Paul Donovan John Doherty Tom McGuirk
action union
action filter_type
action find
entity Paul Donovan
relation family name
type name
action filter_type
action find
entity John Doherty
relation family name
type name
action filter_type
action find
entity Tom McGuirk
relation family name
type name
['Paul Donovan', 'family name', {'concept': 'name'}] ['John Doherty', 'family name', {'concept': 'name'}] ['Tom McGuirk', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { { resource:Paul_Donovan property:family_name ?z . ?z rdf:type ontology:name } UNION { resource:John_Doherty property:family_name ?z . ?z rdf:type ontology:name } }
[]
name
Q21446653 Q21502096 Q6801521
SYSTEM
Donovan, Doherty, McGuirk
Q21446653 Q21502096 Q6801521
(Q15864937,P734,c(Q82799)) (Q27062578,P734,c(Q82799)) (Q21663280,P734,c(Q82799))
action union
action filter_type
action find
entity Q15864937
relation P734
type Q82799
action filter_type
action find
entity Q27062578
relation P734
type Q82799
action filter_type
action find
entity Q21663280
relation P734
type Q82799
[ANSWERS] are associated with Paul Donovan, John Doherty and Tom McGuirk
['Q15864937', 'P734', {'concept': 'Q82799'}] ['Q27062578', 'P734', {'concept': 'Q82799'}] ['Q21663280', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { { resource:Q15864937 property:P734 ?z . ?z rdf:type ontology:Q82799 } UNION { resource:Q27062578 property:P734 ?z . ?z rdf:type ontology:Q82799 } }
Donovan Doherty McGuirk
Donovan, Doherty and McGuirk are associated with Paul Donovan, John Doherty and Tom McGuirk
Donovan Doherty McGuirk
action union
action filter_type
action find
entity Paul Donovan
relation family name
type name
action filter_type
action find
entity John Doherty
relation family name
type name
action filter_type
action find
entity Tom McGuirk
relation family name
type name
['Paul Donovan', 'family name', {'concept': 'name'}] ['John Doherty', 'family name', {'concept': 'name'}] ['Tom McGuirk', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { { resource:Paul_Donovan property:family_name ?z . ?z rdf:type ontology:name } UNION { resource:John_Doherty property:family_name ?z . ?z rdf:type ontology:name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15864937
P1344
Q18608583
USER
Which recurring sporting event did that person participate in ?
(Q15864937,P1344,c(Q18608583))
action filter_type
action find
entity Q15864937
relation P1344
type Q18608583
['Q15864937', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?y WHERE { resource:Q15864937 property:P1344 ?y . ?y rdf:type ontology:Q18608583 }
Paul Donovan
action filter_type
action find
entity Paul Donovan
relation participant of
type recurring sporting event
['Paul Donovan', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?y WHERE { resource:Paul_Donovan property:participant_of ?y . ?y rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Clarification for simple ques.
Q15864937
SYSTEM
Did you mean Paul Donovan ?
Q21446653 Q21502096 Q6801521
(Q21446653,P1344,c(Q18608583)) (Q21502096,P1344,c(Q18608583)) (Q6801521,P1344,c(Q18608583))
[ANSWER]
['Q21446653', 'P1344', {'concept': 'Q18608583'}] ['Q21502096', 'P1344', {'concept': 'Q18608583'}] ['Q6801521', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?y WHERE { resource:Q15864937 property:P1344 ?y . ?y rdf:type ontology:Q18608583 }
Donovan Doherty McGuirk
Did you mean Paul Donovan ?
Paul Donovan
['Donovan', 'participant of', {'concept': 'recurring sporting event'}] ['Doherty', 'participant of', {'concept': 'recurring sporting event'}] ['McGuirk', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?y WHERE { resource:Paul_Donovan property:participant_of ?y . ?y rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15864937,P1344,c(Q18608583))
['Q15864937', 'P1344', {'concept': 'Q18608583'}]
['Paul Donovan', 'participant of', {'concept': 'recurring sporting event'}]
[]
Q700450
SYSTEM
1986 European Athletics Championships
Q700450
(Q15864937,P1344,c(Q18608583))
action filter_type
action find
entity Q15864937
relation P1344
type Q18608583
That person participated in [ANSWER]
['Q15864937', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?y WHERE { resource:Q15864937 property:P1344 ?y . ?y rdf:type ontology:Q18608583 }
1986 European Athletics Championships
That person participated in 1986 European Athletics Championships
1986 European Athletics Championships
action filter_type
action find
entity Paul Donovan
relation participant of
type recurring sporting event
['Paul Donovan', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?y WHERE { resource:Paul_Donovan property:participant_of ?y . ?y rdf:type ontology:recurring_sporting_event }
[]