Simple Question (Direct)
Simple Question
Q3386717
P40
Q502895
USER
Which person is a child of Pierre Péladeau ?
(Q3386717,P40,c(Q502895))
action filter_type
action find
entity Q3386717
relation P40
type Q502895
['Q3386717', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3386717 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Pierre Péladeau
action filter_type
action find
entity Pierre Péladeau
relation child
type common name
['Pierre Péladeau', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Pierre_Péladeau property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3385672
SYSTEM
Pierre Karl Péladeau
Q3385672
(Q3386717,P40,c(Q502895))
action filter_type
action find
entity Q3386717
relation P40
type Q502895
[ANSWER] is a child of Pierre Péladeau
['Q3386717', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3386717 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Pierre Karl Péladeau
Pierre Karl Péladeau is a child of Pierre Péladeau
Pierre Karl Péladeau
action filter_type
action find
entity Pierre Péladeau
relation child
type common name
['Pierre Péladeau', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Pierre_Péladeau property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3386717
P27
Q1048835
USER
Which political territory is Pierre Péladeau an inhabitant of ?
(Q3386717,P27,c(Q1048835))
action filter_type
action find
entity Q3386717
relation P27
type Q1048835
['Q3386717', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q3386717 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Pierre Péladeau
action filter_type
action find
entity Pierre Péladeau
relation country of citizenship
type political territorial entity
['Pierre Péladeau', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Pierre_Péladeau property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3386717,P27,c(Q1048835))
action filter_type
action find
entity Q3386717
relation P27
type Q1048835
The [ANSWER] is Pierre Péladeau an inhabitant of
['Q3386717', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q3386717 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Canada
The Canada is Pierre Péladeau an inhabitant of
Canada
action filter_type
action find
entity Pierre Péladeau
relation country of citizenship
type political territorial entity
['Pierre Péladeau', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Pierre_Péladeau property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3386717
P21
Q290
USER
Which sex does that person belong to ?
(Q16,P21,c(Q290))
action filter_type
action find
entity Q3386717
relation P21
type Q290
['Q16', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3386717 property:P21 ?s . ?s rdf:type ontology:Q290 }
Pierre Péladeau
action filter_type
action find
entity Pierre Péladeau
relation gender
type sex
['Canada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Péladeau property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16,P21,c(Q290))
action filter_type
action find
entity Q3386717
relation P21
type Q290
That person belongs to [ANSWER]
['Q16', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3386717 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Pierre Péladeau
relation gender
type sex
['Canada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Pierre_Péladeau property:gender ?s . ?s rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q484692 Q7725634 Q1048835
USER
Which political territories have an anthem named around 1 hymns or literary works ?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
value 1
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { { ?e property:P85 ?h . ?e rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q484692 } UNION { ?e property:P85 ?h . ?e rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q7725634 } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
action approx
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
value 1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { { ?e property:anthem ?h . ?e rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:hymn } UNION { ?e property:anthem ?h . ?e rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:literary_work } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
hymn literary work political territorial entity
Q183 Q16 Q40
SYSTEM
Germany, Canada, Austria
Q1000 Q183 Q785 Q601252 Q193619 Q685 Q202023 Q763 Q664 Q9676 Q1054923 Q13353 Q5705 Q16 Q170604 Q5785 Q38610 Q3405693 Q18221 Q43448 Q778 Q5783 Q691 Q757 Q9648 Q234 Q35672 Q165783 Q40 Q35086 Q23635 Q192184 Q25228 Q31747 Q25305 Q129286 Q2594990
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
value 1
[ANSWERS] have an anthem named around 1 hymns or literary works
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { { ?e property:P85 ?h . ?e rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q484692 } UNION { ?e property:P85 ?h . ?e rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q7725634 } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
Gabon Germany Jersey Banovina of Croatia Union of South Africa Solomon Islands Herm Saint Kitts and Nevis New Zealand Isle of Man British Hong Kong Montserrat Catalonia Canada New France Cayman Islands Dominion of Newfoundland Sark Turks and Caicos Islands British Indian Ocean Territory The Bahamas Andalusia Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Flemish Region Pitcairn Islands British Antarctic Territory Austria South Georgia and the South Sandwich Islands Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands British Raj Dominion of New Zealand
Germany, Canada and Austria have an anthem named around 1 hymns or literary works
Germany Canada Austria
action approx
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
value 1
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?z ) WHERE { { ?e property:anthem ?h . ?e rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:hymn } UNION { ?e property:anthem ?h . ?e rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:literary_work } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q16 Q40
P530
Q15617994
USER
Who holds diplomatic relationship with those political territories ?
(Q183,P530,c(Q15617994)) (Q16,P530,c(Q15617994)) (Q40,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q15617994'}] ['Q40', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q1000 ) ( resource:Q183 ) ( resource:Q785 ) } . ?l property:P530 ?j }
Germany Canada Austria
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Gabon ) ( resource:Germany ) ( resource:Jersey ) } . ?l property:diplomatic_relation ?j }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953 Q804 Q801 Q843 Q1029 Q711 Q145 Q229 Q33 Q30 Q36 Q34 Q77 Q39 Q1028 Q878 Q739 Q833 Q423 Q1030 Q851 Q29999 Q928 Q252 Q258 Q212 Q38 Q159 Q43 Q155 Q218 Q20 Q79 Q115 Q884 Q142 Q347 Q114 Q403 Q38
(Q183,P530,c(Q15617994)) (Q16,P530,c(Q15617994)) (Q40,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] hold diplomatic relationship with those political territories
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q15617994'}] ['Q40', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . VALUES ( ?l ) { ( resource:Q1000 ) ( resource:Q183 ) ( resource:Q785 ) } . ?l property:P530 ?j }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia Panama Israel Pakistan Mozambique Mongolia United Kingdom Cyprus Finland United States of America Poland Sweden Uruguay Switzerland Morocco United Arab Emirates Colombia Malaysia North Korea Namibia Saudi Arabia Kingdom of the Netherlands Philippines Indonesia South Africa Ukraine Italy Russia Turkey Brazil Romania Norway Egypt Ethiopia South Korea France Liechtenstein Kenya Serbia Italy
Italy, Italy and Italy hold diplomatic relationship with those political territories
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?l ) { ( resource:Gabon ) ( resource:Germany ) ( resource:Jersey ) } . ?l property:diplomatic_relation ?j }
[]