Simple Question (Direct)
Simple Question
Q10396938
P106
Q12737077
USER
What are the professions of Majid Jalali ?
(Q10396938,P106,c(Q12737077))
action filter_type
action find
entity Q10396938
relation P106
type Q12737077
['Q10396938', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q10396938 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Majid Jalali
action filter_type
action find
entity Majid Jalali
relation occupation
type occupation
['Majid Jalali', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Majid_Jalali property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q10396938,P106,c(Q12737077))
action filter_type
action find
entity Q10396938
relation P106
type Q12737077
The professions of Majid Jalali are the [ANSWERS]
['Q10396938', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q10396938 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football manager association football player
The professions of Majid Jalali are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Majid Jalali
relation occupation
type occupation
['Majid Jalali', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Majid_Jalali property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10396938
P641
Q349
USER
Which sport did that person participate in ?
(Q628099,P641,c(Q349)) (Q937857,P641,c(Q349))
action filter_type
action find
entity Q10396938
relation P641
type Q349
['Q628099', 'P641', {'concept': 'Q349'}] ['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q10396938 property:P641 ?u . ?u rdf:type ontology:Q349 }
Majid Jalali
action filter_type
action find
entity Majid Jalali
relation sport
type sport
['association football manager', 'sport', {'concept': 'sport'}] ['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Majid_Jalali property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q628099,P641,c(Q349)) (Q937857,P641,c(Q349))
action filter_type
action find
entity Q10396938
relation P641
type Q349
That person participated in [ANSWER]
['Q628099', 'P641', {'concept': 'Q349'}] ['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q10396938 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Majid Jalali
relation sport
type sport
['association football manager', 'sport', {'concept': 'sport'}] ['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Majid_Jalali property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10396938
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q10396938
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q10396938 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Majid Jalali
action filter_type
action find
entity Majid Jalali
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Majid_Jalali property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q10396938
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q10396938 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Iran
Iran is the country of citizenship of that person
Iran
action filter_type
action find
entity Majid Jalali
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Majid_Jalali property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atmost 27 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?m ) WHERE { ?g property:P530 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?m <= 27 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?m ) WHERE { ?g property:diplomatic_relation ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?m <= 27 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
157
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 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 Q114 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?m ) WHERE { ?g property:P530 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?m <= 27 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
157
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?m ) WHERE { ?g property:diplomatic_relation ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?m <= 27 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q42973 Q628099
P106
Q502895
USER
Which people have a job as association football manager and architect ?
AND((c(Q502895),P106,Q628099), (c(Q502895),P106,Q42973))
action filter_type
action intersection
action find_reverse
entity Q628099
relation P106
action find_reverse
entity Q42973
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q628099'], [{'concept': 'Q502895'}, 'P106', 'Q42973']]}
SELECT DISTINCT ?c WHERE { ?c property:P106 resource:Q628099 . ?c property:P106 resource:Q42973 . ?c rdf:type ontology:Q502895 }
architect association football manager
action filter_type
action intersection
action find_reverse
entity association football manager
relation occupation
action find_reverse
entity architect
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football manager'], [{'concept': 'common name'}, 'occupation', 'architect']]}
SELECT DISTINCT ?c WHERE { ?c property:occupation resource:association_football_manager . ?c property:occupation resource:architect . ?c rdf:type ontology:common_name }
[]
common name
Q646455 Q808735 Q117050 Q313443 Q2228384
SYSTEM
Raimundo Infante, Anselmo Fernandez, Christian Constantin, Alfréd Hajós, Jordanus Roodenburgh
Q646455 Q808735 Q117050 Q313443 Q2228384
AND((c(Q502895),P106,Q628099), (c(Q502895),P106,Q42973))
action filter_type
action intersection
action find_reverse
entity Q628099
relation P106
action find_reverse
entity Q42973
relation P106
type Q502895
[ANSWERS] have a job as association football manager and architect
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q628099'], [{'concept': 'Q502895'}, 'P106', 'Q42973']]}
SELECT DISTINCT ?c WHERE { ?c property:P106 resource:Q628099 . ?c property:P106 resource:Q42973 . ?c rdf:type ontology:Q502895 }
Raimundo Infante Anselmo Fernandez Christian Constantin Alfréd Hajós Jordanus Roodenburgh
Raimundo Infante, Anselmo Fernandez, Christian Constantin, Alfréd Hajós and Jordanus Roodenburgh have a job as association football manager and architect
Raimundo Infante Anselmo Fernandez Christian Constantin Alfréd Hajós Jordanus Roodenburgh
action filter_type
action intersection
action find_reverse
entity association football manager
relation occupation
action find_reverse
entity architect
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football manager'], [{'concept': 'common name'}, 'occupation', 'architect']]}
SELECT DISTINCT ?c WHERE { ?c property:occupation resource:association_football_manager . ?c property:occupation resource:architect . ?c rdf:type ontology:common_name }
[]