Simple Question (Direct)
Simple Question
Q204575
P106
Q12737077
USER
What is the profession of Clément Halet ?
(Q204575,P106,c(Q12737077))
action filter_type
action find
entity Q204575
relation P106
type Q12737077
['Q204575', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q204575 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Clément Halet
action filter_type
action find
entity Clément Halet
relation occupation
type occupation
['Clément Halet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Clément_Halet property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q204575,P106,c(Q12737077))
action filter_type
action find
entity Q204575
relation P106
type Q12737077
The profession of Clément Halet is an [ANSWER]
['Q204575', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q204575 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
The profession of Clément Halet is an association football player
association football player
action filter_type
action find
entity Clément Halet
relation occupation
type occupation
['Clément Halet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Clément_Halet property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q204575
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q204575
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q204575 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Clément Halet
action filter_type
action find
entity Clément Halet
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Clément_Halet property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q204575
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q204575 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Clément Halet
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Clément_Halet property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2088357
USER
Which administrative territories are the origin of lesser number of works of art and musical ensembles than that administrative territory ?
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q838948
type Q2088357
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?x < ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P495 resource:Q142 . { VALUES ( ?h ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?g rdf:type ?h } } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } } GROUP BY ?l } }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?x < ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:country_of_origin resource:France . { VALUES ( ?h ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?g rdf:type ?h } } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } } GROUP BY ?l } }
[]
designation for an administrative territorial entity work of art musical ensemble
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 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(Q838948)|c(Q2088357),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q838948
type Q2088357
[ANSWERS] are the origin of lesser number of works of art and musical ensembles than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?x < ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P495 resource:Q142 . { VALUES ( ?h ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?g rdf:type ?h } } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } } GROUP BY ?l } }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina 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
Italy, Brazil and Georgia are the origin of lesser number of works of art and musical ensembles than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?x < ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:country_of_origin resource:France . { VALUES ( ?h ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?g rdf:type ?h } } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } } GROUP BY ?l } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relationships with that administrative territory ?
(Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q230,P530,c(Q15617994)) (Q230,P530,c(Q1048835))
['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q230', 'P530', {'concept': 'Q15617994'}] ['Q230', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q5547323 property:P530 ?z } UNION { resource:Q5547323 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:Georgia property:diplomatic_relation ?z } UNION { resource:Georgia property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q230
SYSTEM
Did you mean Georgia ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q5547323 property:P530 ?z } UNION { resource:Q5547323 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Georgia ?
Georgia
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:Georgia property:diplomatic_relation ?z } UNION { resource:Georgia property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q230,P530,c(Q15617994)) (Q230,P530,c(Q1048835))
Q155
['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q230', 'P530', {'concept': 'Q15617994'}] ['Q230', 'P530', {'concept': 'Q1048835'}]
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
58
Q783 Q801 Q800 Q843 Q1029 Q183 Q822 Q241 Q419 Q244 Q668 Q414 Q574 Q142 Q145 Q766 Q148 Q96 Q35 Q17 Q30 Q36 Q79 Q77 Q38 Q1016 Q739 Q423 Q717 Q983 Q733 Q1011 Q962 Q736 Q298 Q408 Q252 Q399 Q403 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q41 Q734 Q790 Q796 Q794 Q16 Q917 Q1033 Q29 Q958 Q1049 Q916
(Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q230,P530,c(Q15617994)) (Q230,P530,c(Q1048835))
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q230', 'P530', {'concept': 'Q15617994'}] ['Q230', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q5547323 property:P530 ?z } UNION { resource:Q5547323 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Honduras Israel Costa Rica Pakistan Mozambique Germany Lebanon Cuba Peru Barbados India Argentina East Timor France United Kingdom Jamaica People's Republic of China Mexico Denmark Japan United States of America Poland Egypt Uruguay Italy Libya Colombia North Korea Venezuela Equatorial Guinea Paraguay Cape Verde Benin Ecuador Chile Australia Indonesia Armenia Serbia South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Greece Guyana Haiti Iraq Iran Canada Bhutan Nigeria Spain South Sudan Sudan Angola
58
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:Georgia property:diplomatic_relation ?z } UNION { resource:Georgia property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q204575
P54
Q618123
USER
Which geographical object is Clément Halet a member of ?
(Q204575,P54,c(Q618123))
action filter_type
action find
entity Q204575
relation P54
type Q618123
['Q204575', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?w WHERE { resource:Q204575 property:P54 ?w . ?w rdf:type ontology:Q618123 }
Clément Halet
action filter_type
action find
entity Clément Halet
relation member of sports team
type geographical object
['Clément Halet', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?w WHERE { resource:Clément_Halet property:member_of_sports_team ?w . ?w rdf:type ontology:geographical_object }
[]
geographical object
Q692586
SYSTEM
VfR Aalen
Q692586
(Q204575,P54,c(Q618123))
action filter_type
action find
entity Q204575
relation P54
type Q618123
[ANSWER] is Clément Halet a member of
['Q204575', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?w WHERE { resource:Q204575 property:P54 ?w . ?w rdf:type ontology:Q618123 }
VfR Aalen
VfR Aalen is Clément Halet a member of
VfR Aalen
action filter_type
action find
entity Clément Halet
relation member of sports team
type geographical object
['Clément Halet', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?w WHERE { resource:Clément_Halet property:member_of_sports_team ?w . ?w rdf:type ontology:geographical_object }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q204575
P641
Q349
USER
Which sport did that person participate in ?
(Q692586,P641,c(Q349))
action filter_type
action find
entity Q204575
relation P641
type Q349
['Q692586', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q349 . resource:Q204575 property:P641 ?u }
Clément Halet
action filter_type
action find
entity Clément Halet
relation sport
type sport
['VfR Aalen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sport . resource:Clément_Halet property:sport ?u }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q692586,P641,c(Q349))
action filter_type
action find
entity Q204575
relation P641
type Q349
That person participated in [ANSWER]
['Q692586', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q349 . resource:Q204575 property:P641 ?u }
association football
That person participated in association football
association football
action filter_type
action find
entity Clément Halet
relation sport
type sport
['VfR Aalen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sport . resource:Clément_Halet property:sport ?u }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4905612 Q38
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy and are Big Ears Festival present in ?
AND((Q38,P530,c(Q15617994)), (Q4905612,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q4905612
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q4905612', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . resource:Q4905612 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Big Ears Festival Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Big Ears Festival
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Big Ears Festival', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . resource:Big_Ears_Festival property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q38,P530,c(Q15617994)), (Q4905612,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q4905612
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Italy and are Big Ears Festival present in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q4905612', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . resource:Q4905612 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America have a diplomatic relationship with Italy and are Big Ears Festival present in
United States of America
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Big Ears Festival
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Big Ears Festival', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . resource:Big_Ears_Festival property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1009 Q38
P463
Q484652
USER
Which international organizations were Italy and Cameroon a member of ?
AND((Q38,P463,c(Q484652)), (Q1009,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q38
relation P463
action find
entity Q1009
relation P463
type Q484652
{'AND': [['Q38', 'P463', {'concept': 'Q484652'}], ['Q1009', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?e WHERE { resource:Q38 property:P463 ?e . resource:Q1009 property:P463 ?e . ?e rdf:type ontology:Q484652 }
Cameroon Italy
action filter_type
action intersection
action find
entity Italy
relation member of
action find
entity Cameroon
relation member of
type international organization
{'AND': [['Italy', 'member of', {'concept': 'international organization'}], ['Cameroon', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?e WHERE { resource:Italy property:member_of ?e . resource:Cameroon property:member_of ?e . ?e rdf:type ontology:international_organization }
[]
international organization
Q1065 Q1043527
SYSTEM
United Nations, Multilateral Investment Guarantee Agency
Q1065 Q1043527
AND((Q38,P463,c(Q484652)), (Q1009,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q38
relation P463
action find
entity Q1009
relation P463
type Q484652
[ANSWERS] were Italy and Cameroon a member of
{'AND': [['Q38', 'P463', {'concept': 'Q484652'}], ['Q1009', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?e WHERE { resource:Q38 property:P463 ?e . resource:Q1009 property:P463 ?e . ?e rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
United Nations and Multilateral Investment Guarantee Agency were Italy and Cameroon a member of
United Nations Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity Italy
relation member of
action find
entity Cameroon
relation member of
type international organization
{'AND': [['Italy', 'member of', {'concept': 'international organization'}], ['Cameroon', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?e WHERE { resource:Italy property:member_of ?e . resource:Cameroon property:member_of ?e . ?e rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q168383 Q38
P840 P750
Q838948
USER
Which works of art have their narrative set in Italy and are not the distributors of Universal Studios ?
AND((c(Q838948),P840,Q38), NOT((c(Q838948),P750,Q168383)))
action filter_type
action difference
action find_reverse
entity Q38
relation P840
action find_reverse
entity Q168383
relation P750
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q38'], {'NOT': [[{'concept': 'Q838948'}, 'P750', 'Q168383']]}]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P840 resource:Q38 . FILTER NOT EXISTS { ?y property:P750 resource:Q168383 } }
Universal Studios Italy
action filter_type
action difference
action find_reverse
entity Italy
relation narrative location
action find_reverse
entity Universal Studios
relation distributor
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Italy'], {'NOT': [[{'concept': 'work of art'}, 'distributor', 'Universal Studios']]}]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:narrative_location resource:Italy . FILTER NOT EXISTS { ?y property:distributor resource:Universal_Studios } }
[]
work of art
Q1537544 Q1150608 Q3797241 Q1466744 Q786360 Q3999061 Q535564 Q2218953 Q16960222 Q3947802
SYSTEM
Some of them are A Good Woman, Pokémon Ranger and the Temple of the Sea, In the Country Fell a Star, Days of Glory, The Unknown Woman, Sad Loves, Sole nudo, Manual of Love 2, Acqua Fuori Dal Ring, Imperium: Saint Peter
Q1055223 Q3651324 Q569183 Q241925 Q749191 Q3057860 Q7659359 Q2235229 Q1212630 Q1057098 Q320423 Q1892129 Q2267828 Q332330 Q1440194 Q202326 Q3801049 Q128718 Q3793508 Q2640845 Q3472468 Q1197986 Q1035443 Q819485 Q3208888 Q3796672 Q1823902 Q5141598 Q2547866 Q7992939 Q18437 Q1051032 Q697646 Q647282 Q19320 Q7742387 Q3279688 Q1118851 Q17030062 Q1897342 Q3891790 Q376144 Q3682846 Q17036161 Q17053260 Q12145005 Q7774772 Q786360 Q1466744 Q258647 Q2329726 Q575068 Q3947802 Q186504 Q1092349 Q3233244 Q475925 Q1124617 Q14949923 Q926128 Q16254287 Q518127 Q502033 Q16960222 Q912451 Q3618041 Q233777 Q3795091 Q3073270 Q1940818 Q5965813 Q232190 Q3819615 Q1590285 Q926845 Q18428 Q402818 Q5614530 Q3623843 Q3715998 Q2260328 Q7729890 Q1125451 Q5163446 Q3930894 Q18399 Q3999061 Q1824915 Q5559694 Q2738606 Q15813106 Q3221148 Q2249212 Q1089373 Q3321424 Q1151947 Q324694 Q1118503 Q567531 Q1002100 Q514429 Q3233199 Q196103 Q1575490 Q155018 Q7369849 Q1894071 Q3978547 Q3974397 Q3206509 Q1365 Q598109 Q3907717 Q1537544 Q2082628 Q535564 Q540104 Q3748858 Q1136339 Q2302213 Q1080924 Q2222439 Q807770 Q4293556 Q34643 Q3823452 Q2356858 Q834269 Q3225893 Q762928 Q462409 Q782008 Q4003231 Q2482907 Q1638303 Q181540 Q3790884 Q17426181 Q275120 Q15847263 Q389218 Q2246567 Q3824116 Q1233716 Q2291538 Q1341832 Q3817881 Q3747310 Q124697 Q2031752 Q1392744 Q3839019 Q1428124 Q3663763 Q3794517 Q3797241 Q919444 Q517265 Q2257063 Q2402682 Q3615322 Q7742757 Q4018066 Q1090766 Q3683743 Q949784 Q151904 Q3793820 Q7764418 Q105624 Q1196413 Q7722011 Q1525361 Q4003659 Q1540554 Q1655330 Q390052 Q2542892 Q3315829 Q1458594 Q1662410 Q790207 Q13534360 Q1074846 Q3208121 Q1749795 Q3284136 Q1040848 Q810703 Q1163014 Q2543165 Q531539 Q2061359 Q426923 Q3538447 Q3425194 Q720159 Q7718841 Q1083075 Q1306328 Q4009735 Q3561653 Q1239024 Q3733930 Q1131556 Q1774070 Q495982 Q2667340 Q167313 Q600364 Q3821998 Q203574 Q752989 Q1305647 Q3213501 Q1211306 Q239630 Q3221644 Q743190 Q3485868 Q1143353 Q779490 Q1299410 Q2404559 Q595310 Q1608991 Q1888486 Q3823612 Q3793861 Q7748936 Q7766320 Q714992 Q1169559 Q3829027 Q3224434 Q1470370 Q1217941 Q3795107 Q460415 Q954513 Q2659805 Q1088880 Q1195707 Q1194413 Q2260663 Q1193184 Q610594 Q1502553 Q1035093 Q3796254 Q528601 Q3236150 Q3662291 Q3516516 Q1169191 Q2006294 Q2218953 Q1110092 Q41315 Q505297 Q1164740 Q15039170 Q2609506 Q3754758 Q1632158 Q3212058 Q128761 Q1143085 Q1150608 Q63026 Q1197936 Q6843005 Q150867 Q929886 Q1135785 Q1629592 Q3265983 Q3283795 Q16975105 Q928739 Q2265676 Q3320601 Q3209465 Q1107144 Q2712854 Q17029487 Q1758089 Q1049078 Q1081181 Q2351289 Q522377 Q3148555 Q3220262 Q116928 Q976002 Q3663909
AND((c(Q838948),P840,Q38), NOT((c(Q838948),P750,Q168383)))
action filter_type
action difference
action find_reverse
entity Q38
relation P840
action find_reverse
entity Q168383
relation P750
type Q838948
[ANSWERS] have their narrative set in Italy and are not the distributors of Universal Studios
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q38'], {'NOT': [[{'concept': 'Q838948'}, 'P750', 'Q168383']]}]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P840 resource:Q38 . FILTER NOT EXISTS { ?y property:P750 resource:Q168383 } }
Nella città l'inferno Cameriera bella presenza offresi... Don Camillo in Moscow Marriage Italian-Style Stealing Beauty Escape Me Never Swordsman of Siena Megiddo: The Omega Code 2 That Lady in Ermine The Railroad Man The Spy Who Loved Me If It's Tuesday, This Must Be Belgium Tragic Hunt For Your Eyes Only Three Coins in the Fountain The Godfather Part III I, the Other In Prison Awaiting Trial Hero of Rome The Man Who Will Come Senza pietà Everybody Go Home Caravaggio Mountains on Fire Heaven over the Marshes Images in a Convent September Affair Coins in the Fountain Artemisia When in Rome And the Ship Sails On The Italian Job Sissi – Fateful Years of an Empress La terrazza The Little Devil The Intruder Captain Carey The Old Guard The Tyrant of Padua Stromboli Palio The Red Violin College Lucrezia Borgia Road 47 Dora Nelson The Widow The Unknown Woman Days of Glory Il Postino: The Postman The 'Human' Factor Francis of Assisi Imperium: Saint Peter The Portrait of a Lady The Five Days Duel of Champions Love and Anarchy Condorman Scarabea: How Much Land Does a Man Need? Headlights in the Fog Prince of Tempters Hudson Hawk The Last Kiss Acqua Fuori Dal Ring In Love and War Roaring Years 42plus The Repenter Flame and the Flesh The Omega Code I'll Get You for This The Fascist L'ombrellone Don Bosco Our Italian Husband Amarcord Letters to Juliet The Net Arrivederci Roma Two Mafiamen in the Far West Identification of a Woman The Devil's Advocate My Own Private Idaho Conspiracy of Hearts The Joker King I Vitelloni Sad Loves The Agony and the Ecstasy Gidget Goes to Rome Don't Torture a Duckling The Face of an Angel Path of Hope Manuale d'amore Allonsanfàn Il signor Max The Life Aquatic with Steve Zissou Anthropophagous 2000 From Corleone to Brooklyn The Dirty Game Miracle at St. Anna Half-Rate Honeymoon What Scoundrels Men Are! Love Is All You Need A Farewell to Arms The Name of the Rose Rossini's Ghost Saturn in Opposition Screw Loose Storia di ragazzi e di ragazze The Battle of the Villa Fiorita Swept Away Contempt Polvere di stelle A Good Woman The Honeymoon Machine Sole nudo Brother Sun, Sister Moon Fortunella Ladyhawke Summertime Anna Story of a Love Affair Barbarossa Madigan's Millions Celluloide La parmigiana Prince of Foxes The Mountain Calls Loose Cannons Alfredo, Alfredo Way of the Dragon Red Shirts Last Love I Am David Marco the Magnificent Quantum of Solace Excellent Cadavers One Night in Turin Captain America: The First Avenger Sensation in San Remo Scampolo An Average Little Man La seconda ombra Big Deal on Madonna Street La califfa Where Angels Fear to Tread L'Agnese va a morire Fontamara 1900 Ripley's Game The Wolf of Wall Street Lucrezia Borgia Flesh and Blood Cattive ragazze The Magistrate In the Country Fell a Star Purple Noon Romeo and Juliet Cops and Robbers Lucrèce Borgia Andata e ritorno The Italian Key Wanda la peccatrice Un maledetto imbroglio The Biggest Bundle of Them All Caro diario Casino Royale Il disco volante The Singing Gate The Bourne Identity The Flame and the Arrow The Challenge I'm Not Scared Un amore perfetto Only You I mostri The Talented Mr. Ripley Enrico Caruso: leggenda di una voce Between Miracles In This World What Did You Do in the War, Daddy? Avanti! The Night Belongs to Us Poveri ma belli The Lady Without Camelias The Law I ragazzi di via Panisperna Buona Sera, Mrs. Campbell Many Wars Ago The Best Man Francesco The Thief Lord Daisy Miller Estate Violenta Tourist Train Golden Madonna The Decameron The Blue Squadron Il Mattatore A Question of Honour Raw Wind in Eden To Live in Peace Le Petit Monde de Don Camillo Ettore Fieramosca The Pink Panther The Golden Bowl The Salamander What Time Is It? Acier Swept Away The Lady in White A Room with a View Nine Anthony Adverse Bride of Vengeance The Beast with Five Fingers Before the Revolution Il Commissario Pepe The Lizzie McGuire Movie Once You're Born You Can No Longer Hide La visita The Scientific Cardplayer Investigation of a Citizen Above Suspicion Teresa Song Without End Splendor Antropophagus La poliziotta a New York Doctor Antonio The Love Lottery The Starlit Garden Von Ryan's Express A Difficult Life Three Girls from Rome Crossed Swords Beat the Devil The Best of Youth Il pesce innamorato The Pope Must Die Man on Fire When in Rome I'm Photogenic The Overcoat The Tree of Wooden Clogs Good Morning, Night The Secret War of Harry Frigg Il Grido Genova Captain America The Traffic Policeman Giovanna's Father Persiane chiuse Castles in the Air Il comune senso del pudore The Last Judgement Bride of the Regiment Manual of Love 2 Il Boom Under the Tuscan Sun Lucky Luciano The American The Escape to Nice Blood for Dracula Fury Napoléon The King's Whore Two Women Pane, amore e... Pokémon Ranger and the Temple of the Sea The English Patient The Working Class Goes to Heaven Midshipman Easy The Great War Cemetery Man The Return of Don Camillo A Farewell to Arms Lucrezia Borgia Totò al giro d'Italia Anthony of Padua La stanza del vescovo I complessi Monella Drama of the Rich Don't Move Sunflower The Thrill of the Skies Romeo and Juliet Flavia the Heretic Romeo and Juliet Le Amiche Three Strangers in Rome Il vedovo The Bandit The Twilight Saga: New Moon Magic Fire Cavalry
A Good Woman, Pokémon Ranger and the Temple of the Sea, In the Country Fell a Star, Days of Glory, The Unknown Woman, Sad Loves, Sole nudo, Manual of Love 2, Acqua Fuori Dal Ring and Imperium: Saint Peter have their narrative set in Italy and are not the distributors of Universal Studios
A Good Woman Pokémon Ranger and the Temple of the Sea In the Country Fell a Star Days of Glory The Unknown Woman Sad Loves Sole nudo Manual of Love 2 Acqua Fuori Dal Ring Imperium: Saint Peter
action filter_type
action difference
action find_reverse
entity Italy
relation narrative location
action find_reverse
entity Universal Studios
relation distributor
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Italy'], {'NOT': [[{'concept': 'work of art'}, 'distributor', 'Universal Studios']]}]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:narrative_location resource:Italy . FILTER NOT EXISTS { ?y property:distributor resource:Universal_Studios } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P189
Q20667921 Q82794 Q838948
USER
Which works of art have max number of french administrative divisions and geographic regions as their findspot ?
(c(Q838948),P189,c(Q20667921)|c(Q82794))
action argmax
action union
action find_tuple_counts
relation P189
type Q838948
type Q20667921
action find_tuple_counts
relation P189
type Q838948
type Q82794
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q20667921'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { { ?w property:P189 ?f . ?w rdf:type ontology:Q838948 . ?f rdf:type ontology:Q20667921 } UNION { ?w property:P189 ?f . ?f rdf:type ontology:Q82794 . ?w rdf:type ontology:Q838948 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?v WHERE { { ?v property:P189 ?b . ?v rdf:type ontology:Q838948 . ?b rdf:type ontology:Q20667921 } UNION { ?v property:P189 ?b . ?b rdf:type ontology:Q82794 . ?v rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?u = ?e ) }
action argmax
action union
action find_tuple_counts
relation location of discovery
type work of art
type type of french administrative division
action find_tuple_counts
relation location of discovery
type work of art
type geographic region
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'type of french administrative division'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { { ?w property:location_of_discovery ?f . ?w rdf:type ontology:work_of_art . ?f rdf:type ontology:type_of_french_administrative_division } UNION { ?w property:location_of_discovery ?f . ?f rdf:type ontology:geographic_region . ?w rdf:type ontology:work_of_art } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?v WHERE { { ?v property:location_of_discovery ?b . ?v rdf:type ontology:work_of_art . ?b rdf:type ontology:type_of_french_administrative_division } UNION { ?v property:location_of_discovery ?b . ?b rdf:type ontology:geographic_region . ?v rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?u = ?e ) }
[]
type of french administrative division geographic region work of art
Q5483226 Q849063 Q116580
SYSTEM
Fragment from the tomb of Nikarete, Venus of Brassempouy, Swimming Reindeer
Q5483226 Q849063 Q116580
(c(Q838948),P189,c(Q20667921)|c(Q82794))
action argmax
action union
action find_tuple_counts
relation P189
type Q838948
type Q20667921
action find_tuple_counts
relation P189
type Q838948
type Q82794
[ANSWERS] have max number of french administrative divisions and geographic regions as their findspot
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q20667921'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { { ?w property:P189 ?f . ?w rdf:type ontology:Q838948 . ?f rdf:type ontology:Q20667921 } UNION { ?w property:P189 ?f . ?f rdf:type ontology:Q82794 . ?w rdf:type ontology:Q838948 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?v WHERE { { ?v property:P189 ?b . ?v rdf:type ontology:Q838948 . ?b rdf:type ontology:Q20667921 } UNION { ?v property:P189 ?b . ?b rdf:type ontology:Q82794 . ?v rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?u = ?e ) }
Fragment from the tomb of Nikarete Venus of Brassempouy Swimming Reindeer
Fragment from the tomb of Nikarete, Venus of Brassempouy and Swimming Reindeer have max number of french administrative divisions and geographic regions as their findspot
Fragment from the tomb of Nikarete Venus of Brassempouy Swimming Reindeer
action argmax
action union
action find_tuple_counts
relation location of discovery
type work of art
type type of french administrative division
action find_tuple_counts
relation location of discovery
type work of art
type geographic region
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'type of french administrative division'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?w WHERE { { ?w property:location_of_discovery ?f . ?w rdf:type ontology:work_of_art . ?f rdf:type ontology:type_of_french_administrative_division } UNION { ?w property:location_of_discovery ?f . ?f rdf:type ontology:geographic_region . ?w rdf:type ontology:work_of_art } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) ?v WHERE { { ?v property:location_of_discovery ?b . ?v rdf:type ontology:work_of_art . ?b rdf:type ontology:type_of_french_administrative_division } UNION { ?v property:location_of_discovery ?b . ?b rdf:type ontology:geographic_region . ?v rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?u = ?e ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1095557 Q230
P530 P17
Q1048835
USER
Which political territories have diplomatic relations with Georgia and are Clarendon Parish situated in ?
AND((Q230,P530,c(Q1048835)), (Q1095557,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q1095557
relation P17
type Q1048835
{'AND': [['Q230', 'P530', {'concept': 'Q1048835'}], ['Q1095557', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { resource:Q230 property:P530 ?h . resource:Q1095557 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Clarendon Parish Georgia
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity Clarendon Parish
relation country
type political territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Clarendon Parish', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { resource:Georgia property:diplomatic_relation ?h . resource:Clarendon_Parish property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766
SYSTEM
Jamaica
Q766
AND((Q230,P530,c(Q1048835)), (Q1095557,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q1095557
relation P17
type Q1048835
[ANSWER] have diplomatic relations with Georgia and are Clarendon Parish situated in
{'AND': [['Q230', 'P530', {'concept': 'Q1048835'}], ['Q1095557', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { resource:Q230 property:P530 ?h . resource:Q1095557 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Jamaica
Jamaica have diplomatic relations with Georgia and are Clarendon Parish situated in
Jamaica
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity Clarendon Parish
relation country
type political territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Clarendon Parish', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { resource:Georgia property:diplomatic_relation ?h . resource:Clarendon_Parish property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q766 Q3339722
P27
Q502895
USER
Is Nick Cardy a native of that political territory ?
(Q3339722,P27,Q766)
action is_in
entity Q3339722
action find
entity Q766
relation P27
['Q3339722', 'P27', 'Q766']
ASK WHERE { resource:Q766 property:P27 resource:Q3339722 }
Jamaica Nick Cardy
action is_in
entity Nick Cardy
action find
entity Jamaica
relation country of citizenship
['Nick Cardy', 'country of citizenship', 'Jamaica']
ASK WHERE { resource:Jamaica property:country_of_citizenship resource:Nick_Cardy }
[]
common name
SYSTEM
NO
(Q3339722,P27,Q766)
action is_in
entity Q3339722
action find
entity Q766
relation P27
[ANSWER]
['Q3339722', 'P27', 'Q766']
ASK WHERE { resource:Q766 property:P27 resource:Q3339722 }
No
action is_in
entity Nick Cardy
action find
entity Jamaica
relation country of citizenship
['Nick Cardy', 'country of citizenship', 'Jamaica']
ASK WHERE { resource:Jamaica property:country_of_citizenship resource:Nick_Cardy }
[]