Simple Question (Direct)
Simple Question
Q1445205
P106
Q12737077
USER
What are the job of Matthias Steinhart ?
(Q1445205,P106,c(Q12737077))
action filter_type
action find
entity Q1445205
relation P106
type Q12737077
['Q1445205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1445205 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Matthias Steinhart
action filter_type
action find
entity Matthias Steinhart
relation occupation
type occupation
['Matthias Steinhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Matthias_Steinhart property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1792450 Q1622272 Q3621491
SYSTEM
art historian, university teacher, archaeologist
Q1792450 Q1622272 Q3621491
(Q1445205,P106,c(Q12737077))
action filter_type
action find
entity Q1445205
relation P106
type Q12737077
The job of Matthias Steinhart are the [ANSWERS]
['Q1445205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1445205 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
art historian university teacher archaeologist
The job of Matthias Steinhart are the art historian, university teacher and archaeologist
art historian university teacher archaeologist
action filter_type
action find
entity Matthias Steinhart
relation occupation
type occupation
['Matthias Steinhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Matthias_Steinhart property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1445205
P21
Q290
USER
What is the sex of Matthias Steinhart ?
(Q1445205,P21,c(Q290))
action filter_type
action find
entity Q1445205
relation P21
type Q290
['Q1445205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1445205 property:P21 ?k . ?k rdf:type ontology:Q290 }
Matthias Steinhart
action filter_type
action find
entity Matthias Steinhart
relation gender
type sex
['Matthias Steinhart', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Matthias_Steinhart property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1445205,P21,c(Q290))
action filter_type
action find
entity Q1445205
relation P21
type Q290
The sex of Matthias Steinhart is the [ANSWER]
['Q1445205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1445205 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Matthias Steinhart is the male
male
action filter_type
action find
entity Matthias Steinhart
relation gender
type sex
['Matthias Steinhart', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Matthias_Steinhart property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q863165
Q290
USER
And also tell me about Billy Lee Evans?
(Q863165,P21,c(Q290))
action filter_type
action find
entity Q863165
relation P21
type Q290
['Q863165', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q863165 property:P21 ?r . ?r rdf:type ontology:Q290 }
Billy Lee Evans
action filter_type
action find
entity Billy Lee Evans
relation gender
type sex
['Billy Lee Evans', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Billy_Lee_Evans property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q863165,P21,c(Q290))
action filter_type
action find
entity Q863165
relation P21
type Q290
[ANSWER]
['Q863165', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q863165 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Billy Lee Evans
relation gender
type sex
['Billy Lee Evans', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Billy_Lee_Evans property:gender ?r . ?r rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22912262 Q863165
P27
Q15617994
USER
Which administrative territories are the native countriesof Billy Lee Evans or Abdulaziz Al-Mutair ?
OR((Q863165,P27,c(Q15617994)), (Q22912262,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q863165
relation P27
action find
entity Q22912262
relation P27
type Q15617994
{'OR': [['Q863165', 'P27', {'concept': 'Q15617994'}], ['Q22912262', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q863165 property:P27 ?n } UNION { resource:Q22912262 property:P27 ?n } } }
Abdulaziz Al-Mutair Billy Lee Evans
action filter_type
action union
action find
entity Billy Lee Evans
relation country of citizenship
action find
entity Abdulaziz Al-Mutair
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Billy Lee Evans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Abdulaziz Al-Mutair', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Billy_Lee_Evans property:country_of_citizenship ?n } UNION { resource:Abdulaziz_Al-Mutair property:country_of_citizenship ?n } } }
[]
designation for an administrative territorial entity
Q851 Q30
SYSTEM
Saudi Arabia, United States of America
Q851 Q30
OR((Q863165,P27,c(Q15617994)), (Q22912262,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q863165
relation P27
action find
entity Q22912262
relation P27
type Q15617994
[ANSWERS] are the native countriesof Billy Lee Evans or Abdulaziz Al-Mutair
{'OR': [['Q863165', 'P27', {'concept': 'Q15617994'}], ['Q22912262', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q863165 property:P27 ?n } UNION { resource:Q22912262 property:P27 ?n } } }
Saudi Arabia United States of America
Saudi Arabia and United States of America are the native countriesof Billy Lee Evans or Abdulaziz Al-Mutair
Saudi Arabia United States of America
action filter_type
action union
action find
entity Billy Lee Evans
relation country of citizenship
action find
entity Abdulaziz Al-Mutair
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Billy Lee Evans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Abdulaziz Al-Mutair', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Billy_Lee_Evans property:country_of_citizenship ?n } UNION { resource:Abdulaziz_Al-Mutair property:country_of_citizenship ?n } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q7725634
USER
How many administrative territories are the origin of lesser number of works of art or literary works than that administrative territory ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity work of art literary work
Comparative|Count over More/Less|Mult. entity type|Clarification
Q851
SYSTEM
Did you mean Saudi Arabia ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Saudi Arabia ?
Saudi Arabia
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
Q30
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q851
P112
Q56061
USER
Which administrative territory was started by Saudi Arabia ?
(c(Q56061),P112,Q851)
action filter_type
action find_reverse
entity Q851
relation P112
type Q56061
[{'concept': 'Q56061'}, 'P112', 'Q851']
SELECT DISTINCT ?i WHERE { ?i property:P112 resource:Q851 . ?i rdf:type ontology:Q56061 }
Saudi Arabia
action filter_type
action find_reverse
entity Saudi Arabia
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Saudi Arabia']
SELECT DISTINCT ?i WHERE { ?i property:founder resource:Saudi_Arabia . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7172
SYSTEM
Arab League
Q7172
(c(Q56061),P112,Q851)
action filter_type
action find_reverse
entity Q851
relation P112
type Q56061
The [ANSWER] was started by Saudi Arabia
[{'concept': 'Q56061'}, 'P112', 'Q851']
SELECT DISTINCT ?i WHERE { ?i property:P112 resource:Q851 . ?i rdf:type ontology:Q56061 }
Arab League
The Arab League was started by Saudi Arabia
Arab League
action filter_type
action find_reverse
entity Saudi Arabia
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Saudi Arabia']
SELECT DISTINCT ?i WHERE { ?i property:founder resource:Saudi_Arabia . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7172
P194
Q35749
USER
Which parliament represents that administrative territory ?
(Q7172,P194,c(Q35749))
action filter_type
action find
entity Q7172
relation P194
type Q35749
['Q7172', 'P194', {'concept': 'Q35749'}]
SELECT DISTINCT ?h WHERE { resource:Q7172 property:P194 ?h . ?h rdf:type ontology:Q35749 }
Arab League
action filter_type
action find
entity Arab League
relation legislative body
type parliament
['Arab League', 'legislative body', {'concept': 'parliament'}]
SELECT DISTINCT ?h WHERE { resource:Arab_League property:legislative_body ?h . ?h rdf:type ontology:parliament }
[]
parliament
Q624390
SYSTEM
Arab Parliament
Q624390
(Q7172,P194,c(Q35749))
action filter_type
action find
entity Q7172
relation P194
type Q35749
[ANSWER] represents that administrative territory
['Q7172', 'P194', {'concept': 'Q35749'}]
SELECT DISTINCT ?h WHERE { resource:Q7172 property:P194 ?h . ?h rdf:type ontology:Q35749 }
Arab Parliament
Arab Parliament represents that administrative territory
Arab Parliament
action filter_type
action find
entity Arab League
relation legislative body
type parliament
['Arab League', 'legislative body', {'concept': 'parliament'}]
SELECT DISTINCT ?h WHERE { resource:Arab_League property:legislative_body ?h . ?h rdf:type ontology:parliament }
[]