Simple Question (Direct)
Simple Question
Q3126604
P27
Q15617994
USER
Which administrative territory is Hamza Boubakeur an inhabitant of ?
(Q3126604,P27,c(Q15617994))
action filter_type
action find
entity Q3126604
relation P27
type Q15617994
['Q3126604', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3126604 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Hamza Boubakeur
action filter_type
action find
entity Hamza Boubakeur
relation country of citizenship
type designation for an administrative territorial entity
['Hamza Boubakeur', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Hamza_Boubakeur property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3126604,P27,c(Q15617994))
action filter_type
action find
entity Q3126604
relation P27
type Q15617994
[ANSWER] is Hamza Boubakeur an inhabitant of
['Q3126604', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3126604 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
France is Hamza Boubakeur an inhabitant of
France
action filter_type
action find
entity Hamza Boubakeur
relation country of citizenship
type designation for an administrative territorial entity
['Hamza Boubakeur', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Hamza_Boubakeur property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3126604
P20
Q56061
USER
Where did the demise of that person occur ?
(Q142,P20,c(Q56061))
action filter_type
action find
entity Q3126604
relation P20
type Q56061
['Q142', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3126604 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Hamza Boubakeur
action filter_type
action find
entity Hamza Boubakeur
relation place of death
type administrative territorial entity
['France', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hamza_Boubakeur property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q142,P20,c(Q56061))
action filter_type
action find
entity Q3126604
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q142', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3126604 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Paris
The demise of that person occurred in Paris
Paris
action filter_type
action find
entity Hamza Boubakeur
relation place of death
type administrative territorial entity
['France', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hamza_Boubakeur property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3126604
P39
Q12737077
USER
What were the positions held by that person ?
(Q90,P39,c(Q12737077))
action filter_type
action find
entity Q3126604
relation P39
type Q12737077
['Q90', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q3126604 property:P39 ?l }
Hamza Boubakeur
action filter_type
action find
entity Hamza Boubakeur
relation position held
type occupation
['Paris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Hamza_Boubakeur property:position_held ?l }
[]
occupation
Q3044918 Q20177062
SYSTEM
member of the French National Assembly, senator of community
Q3044918 Q20177062
(Q90,P39,c(Q12737077))
action filter_type
action find
entity Q3126604
relation P39
type Q12737077
[ANSWERS]
['Q90', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q3126604 property:P39 ?l }
member of the French National Assembly senator of community
The positions held by that person were member of the French National Assembly and senator of community
member of the French National Assembly senator of community
action filter_type
action find
entity Hamza Boubakeur
relation position held
type occupation
['Paris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Hamza_Boubakeur property:position_held ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q5286636
P272
Q838948
USER
How many works of art had Paris or Doble Filo as the production company ?
(c(Q838948),P272,Q90) (c(Q838948),P272,Q5286636)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P272
type Q838948
action filter_type
action find_reverse
entity Q5286636
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q90'] [{'concept': 'Q838948'}, 'P272', 'Q5286636']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P272 ?u . VALUES ( ?u ) { ( resource:Q90 ) ( resource:Q5286636 ) } }
Paris Doble Filo
action count
action union
action filter_type
action find_reverse
entity Paris
relation production company
type work of art
action filter_type
action find_reverse
entity Doble Filo
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Paris'] [{'concept': 'work of art'}, 'production company', 'Doble Filo']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:production_company ?u . VALUES ( ?u ) { ( resource:Paris ) ( resource:Doble_Filo ) } }
[]
work of art
SYSTEM
7
Q3961749 Q2162066 Q1402866 Q905613 Q1136505 Q3221640 Q2276282
(c(Q838948),P272,Q90) (c(Q838948),P272,Q5286636)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P272
type Q838948
action filter_type
action find_reverse
entity Q5286636
relation P272
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P272', 'Q90'] [{'concept': 'Q838948'}, 'P272', 'Q5286636']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P272 ?u . VALUES ( ?u ) { ( resource:Q90 ) ( resource:Q5286636 ) } }
The Sadistic Baron Von Klaus Casque d'or The Camp Followers Mondo Cannibale Madman at War Maigret a Pigalle Sur
7
action count
action union
action filter_type
action find_reverse
entity Paris
relation production company
type work of art
action filter_type
action find_reverse
entity Doble Filo
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Paris'] [{'concept': 'work of art'}, 'production company', 'Doble Filo']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:production_company ?u . VALUES ( ?u ) { ( resource:Paris ) ( resource:Doble_Filo ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2725359 Q142
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with France and are Skrvenica a part of ?
AND((Q142,P530,c(Q15617994)), (Q2725359,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q2725359
relation P17
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q2725359', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q142 property:P530 ?x . resource:Q2725359 property:P17 ?x }
Skrvenica France
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Skrvenica
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Skrvenica', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:diplomatic_relation ?x . resource:Skrvenica property:country ?x }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
AND((Q142,P530,c(Q15617994)), (Q2725359,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q2725359
relation P17
type Q15617994
[ANSWER] have diplomatic relations with France and are Skrvenica a part of
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q2725359', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q142 property:P530 ?x . resource:Q2725359 property:P17 ?x }
Serbia
Serbia have diplomatic relations with France and are Skrvenica a part of
Serbia
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Skrvenica
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Skrvenica', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:diplomatic_relation ?x . resource:Skrvenica property:country ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q403 Q458
P47
Q56061
USER
Does European Union share border with Serbia ?
(Q403,P47,Q458)
action is_in
entity Q458
action find
entity Q403
relation P47
['Q403', 'P47', 'Q458']
ASK WHERE { resource:Q403 property:P47 resource:Q458 }
Serbia European Union
action is_in
entity European Union
action find
entity Serbia
relation shares border with
['Serbia', 'shares border with', 'European Union']
ASK WHERE { resource:Serbia property:shares_border_with resource:European_Union }
[]
administrative territorial entity
SYSTEM
YES
(Q403,P47,Q458)
action is_in
entity Q458
action find
entity Q403
relation P47
[ANSWER]
['Q403', 'P47', 'Q458']
ASK WHERE { resource:Q403 property:P47 resource:Q458 }
Yes
action is_in
entity European Union
action find
entity Serbia
relation shares border with
['Serbia', 'shares border with', 'European Union']
ASK WHERE { resource:Serbia property:shares_border_with resource:European_Union }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q276538 Q142
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with France and are Eurocorps situated in ?
AND((Q142,P530,c(Q15617994)), (Q276538,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q276538
relation P17
type Q15617994
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q276538', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q142 property:P530 ?d . resource:Q276538 property:P17 ?d }
Eurocorps France
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Eurocorps
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eurocorps', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:diplomatic_relation ?d . resource:Eurocorps property:country ?d }
[]
designation for an administrative territorial entity
Q32 Q38
SYSTEM
Luxembourg, Italy
Q32 Q38
AND((Q142,P530,c(Q15617994)), (Q276538,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q276538
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with France and are Eurocorps situated in
{'AND': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q276538', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q142 property:P530 ?d . resource:Q276538 property:P17 ?d }
Luxembourg Italy
Luxembourg and Italy have diplomatic relationships with France and are Eurocorps situated in
Luxembourg Italy
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Eurocorps
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Eurocorps', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France property:diplomatic_relation ?d . resource:Eurocorps property:country ?d }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q2088357
USER
How many administrative territories did around the same number of collectables and musical ensembles originate as that administrative territory ?
(c(Q2342494)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:P495 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'collectable'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:country_of_origin ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity collectable musical ensemble
Comparative|Count over More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q2342494)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:P495 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Italy ?
Italy
[[{'concept': 'collectable'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:country_of_origin ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Luxembourg. Could you tell me the answer for that?
(c(Q2342494)|c(Q2088357),P495,c(Q15617994))
Q32
[[{'concept': 'Q2342494'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'collectable'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 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(Q2342494)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands 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
167
[[{'concept': 'collectable'}, {'concept': 'musical ensemble'}], '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:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]