Simple Question (Direct)
Simple Question
Q3327517
P54
Q1194951
USER
What is Muhammad al Maghrabi a member of ?
(Q3327517,P54,c(Q1194951))
action filter_type
action find
entity Q3327517
relation P54
type Q1194951
['Q3327517', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q3327517 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Muhammad al Maghrabi
action filter_type
action find
entity Muhammad al Maghrabi
relation member of sports team
type national sports team
['Muhammad al Maghrabi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Muhammad_al_Maghrabi property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q276089
SYSTEM
Libya national football team
Q276089
(Q3327517,P54,c(Q1194951))
action filter_type
action find
entity Q3327517
relation P54
type Q1194951
Muhammad al Maghrabi a member of is [ANSWER]
['Q3327517', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q3327517 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Libya national football team
Muhammad al Maghrabi a member of is Libya national football team
Libya national football team
action filter_type
action find
entity Muhammad al Maghrabi
relation member of sports team
type national sports team
['Muhammad al Maghrabi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Muhammad_al_Maghrabi property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3327517
P19
Q56061
USER
Which administrative territory was Muhammad al Maghrabi born at ?
(Q3327517,P19,c(Q56061))
action filter_type
action find
entity Q3327517
relation P19
type Q56061
['Q3327517', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3327517 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Muhammad al Maghrabi
action filter_type
action find
entity Muhammad al Maghrabi
relation place of birth
type administrative territorial entity
['Muhammad al Maghrabi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Muhammad_al_Maghrabi property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3579
SYSTEM
Tripoli
Q3579
(Q3327517,P19,c(Q56061))
action filter_type
action find
entity Q3327517
relation P19
type Q56061
Muhammad al Maghrabi was born in [ANSWER]
['Q3327517', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3327517 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Tripoli
Muhammad al Maghrabi was born in Tripoli
Tripoli
action filter_type
action find
entity Muhammad al Maghrabi
relation place of birth
type administrative territorial entity
['Muhammad al Maghrabi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Muhammad_al_Maghrabi property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q58309 Q276089
P27 P17
Q15617994
USER
Which administrative territories are Libya national football team located in or do Ryōta Murata belong to ?
OR((Q276089,P17,c(Q15617994)), (Q58309,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q276089
relation P17
action find
entity Q58309
relation P27
type Q15617994
{'OR': [['Q276089', 'P17', {'concept': 'Q15617994'}], ['Q58309', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q276089 property:P17 ?r } UNION { resource:Q58309 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Ryōta Murata Libya national football team
action filter_type
action union
action find
entity Libya national football team
relation country
action find
entity Ryōta Murata
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Libya national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ryōta Murata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Libya_national_football_team property:country ?r } UNION { resource:Ryōta_Murata property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016 Q17
SYSTEM
Libya, Japan
Q1016 Q17
OR((Q276089,P17,c(Q15617994)), (Q58309,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q276089
relation P17
action find
entity Q58309
relation P27
type Q15617994
Libya national football team are located in belong to the [ANSWERS]
{'OR': [['Q276089', 'P17', {'concept': 'Q15617994'}], ['Q58309', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q276089 property:P17 ?r } UNION { resource:Q58309 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Libya Japan
Libya national football team are located in belong to the Libya and Japan
Libya Japan
action filter_type
action union
action find
entity Libya national football team
relation country
action find
entity Ryōta Murata
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Libya national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ryōta Murata', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Libya_national_football_team property:country ?r } UNION { resource:Ryōta_Murata property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q7725634
USER
How many administrative territories are the origin of greater 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
Q1016
SYSTEM
Did you mean Libya ?
(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 Libya ?
Libya
[[{'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
Yes
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[[{'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
119
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q265 Q37 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q881 Q826 Q822 Q241 Q811 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q854 Q424 Q236 Q230 Q232 Q233 Q20 Q1041 Q27 Q28 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q833 Q1009 Q1008 Q836 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1011 Q29 Q863 Q869
(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 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Uzbekistan Lithuania Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Maldives Lebanon Cuba Nicaragua Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Sri Lanka Cambodia Montenegro Georgia Kazakhstan Malta Norway Senegal Ireland Hungary Mauritius Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Malaysia Cameroon Côte d'Ivoire Myanmar Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Cape Verde Spain Tajikistan Thailand
119
[[{'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
Q3579
P840
Q2342494
USER
Which collectable has a setting location of Tripoli ?
(c(Q2342494),P840,Q3579)
action filter_type
action find_reverse
entity Q3579
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q3579']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P840 resource:Q3579 }
Tripoli
action filter_type
action find_reverse
entity Tripoli
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Tripoli']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:narrative_location resource:Tripoli }
[]
collectable
Q22697488
SYSTEM
Les quatre premiers livres des navigations et pérégrinations orientales
Q22697488
(c(Q2342494),P840,Q3579)
action filter_type
action find_reverse
entity Q3579
relation P840
type Q2342494
[ANSWER] has a setting location of Tripoli
[{'concept': 'Q2342494'}, 'P840', 'Q3579']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P840 resource:Q3579 }
Les quatre premiers livres des navigations et pérégrinations orientales
Les quatre premiers livres des navigations et pérégrinations orientales has a setting location of Tripoli
Les quatre premiers livres des navigations et pérégrinations orientales
action filter_type
action find_reverse
entity Tripoli
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Tripoli']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:narrative_location resource:Tripoli }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22697488
P180
Q8205328
USER
What is depcited in that collectable ?
(Q22697488,P180,c(Q8205328))
action filter_type
action find
entity Q22697488
relation P180
type Q8205328
['Q22697488', 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ?o WHERE { resource:Q22697488 property:P180 ?o . ?o rdf:type ontology:Q8205328 }
Les quatre premiers livres des navigations et pérégrinations orientales
action filter_type
action find
entity Les quatre premiers livres des navigations et pérégrinations orientales
relation depicts
type artefact
['Les quatre premiers livres des navigations et pérégrinations orientales', 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ?o WHERE { resource:Les_quatre_premiers_livres_des_navigations_et_pérégrinations_orientales property:depicts ?o . ?o rdf:type ontology:artefact }
[]
artefact
Q9053464
SYSTEM
costume
Q9053464
(Q22697488,P180,c(Q8205328))
action filter_type
action find
entity Q22697488
relation P180
type Q8205328
[ANSWER] is depcited in that collectable
['Q22697488', 'P180', {'concept': 'Q8205328'}]
SELECT DISTINCT ?o WHERE { resource:Q22697488 property:P180 ?o . ?o rdf:type ontology:Q8205328 }
costume
Costume is depcited in that collectable
costume
action filter_type
action find
entity Les quatre premiers livres des navigations et pérégrinations orientales
relation depicts
type artefact
['Les quatre premiers livres des navigations et pérégrinations orientales', 'depicts', {'concept': 'artefact'}]
SELECT DISTINCT ?o WHERE { resource:Les_quatre_premiers_livres_des_navigations_et_pérégrinations_orientales property:depicts ?o . ?o rdf:type ontology:artefact }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9053464 Q6202966
P180
Q340169
USER
Does Jirajara language depict that artefact ?
(Q6202966,P180,Q9053464)
action is_in
entity Q6202966
action find
entity Q9053464
relation P180
['Q6202966', 'P180', 'Q9053464']
ASK WHERE { resource:Q9053464 property:P180 resource:Q6202966 }
costume Jirajara language
action is_in
entity Jirajara language
action find
entity costume
relation depicts
['Jirajara language', 'depicts', 'costume']
ASK WHERE { resource:costume property:depicts resource:Jirajara_language }
[]
media
SYSTEM
NO
(Q6202966,P180,Q9053464)
action is_in
entity Q6202966
action find
entity Q9053464
relation P180
[ANSWER]
['Q6202966', 'P180', 'Q9053464']
ASK WHERE { resource:Q9053464 property:P180 resource:Q6202966 }
No
action is_in
entity Jirajara language
action find
entity costume
relation depicts
['Jirajara language', 'depicts', 'costume']
ASK WHERE { resource:costume property:depicts resource:Jirajara_language }
[]