Simple Question (Direct)
Simple Question
Q1508211
P39
Q12737077
USER
What was the position held by George Sterling Ansel Ryerson ?
(Q1508211,P39,c(Q12737077))
action filter_type
action find
entity Q1508211
relation P39
type Q12737077
['Q1508211', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1508211 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
George Sterling Ansel Ryerson
action filter_type
action find
entity George Sterling Ansel Ryerson
relation position held
type occupation
['George Sterling Ansel Ryerson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:George_Sterling_Ansel_Ryerson property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q3305347
SYSTEM
Member of Ontario Provincial Parliament
Q3305347
(Q1508211,P39,c(Q12737077))
action filter_type
action find
entity Q1508211
relation P39
type Q12737077
The position held by George Sterling Ansel Ryerson was a [ANSWER]
['Q1508211', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1508211 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Member of Ontario Provincial Parliament
The position held by George Sterling Ansel Ryerson was a Member of Ontario Provincial Parliament
Member of Ontario Provincial Parliament
action filter_type
action find
entity George Sterling Ansel Ryerson
relation position held
type occupation
['George Sterling Ansel Ryerson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:George_Sterling_Ansel_Ryerson property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3305347
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of that occupation ?
(Q3305347,P1001,c(Q15617994))
action filter_type
action find
entity Q3305347
relation P1001
type Q15617994
['Q3305347', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3305347 property:P1001 ?d . ?d rdf:type ontology:Q15617994 }
Member of Ontario Provincial Parliament
action filter_type
action find
entity Member of Ontario Provincial Parliament
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of Ontario Provincial Parliament', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Member_of_Ontario_Provincial_Parliament property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1904
SYSTEM
Ontario
Q1904
(Q3305347,P1001,c(Q15617994))
action filter_type
action find
entity Q3305347
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of that occupation
['Q3305347', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3305347 property:P1001 ?d . ?d rdf:type ontology:Q15617994 }
Ontario
Ontario comes under the jurisdiction of that occupation
Ontario
action filter_type
action find
entity Member of Ontario Provincial Parliament
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of Ontario Provincial Parliament', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Member_of_Ontario_Provincial_Parliament property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3305347
P17
Q1048835
USER
Which political territory does that occupation belong to ?
(Q1904,P17,c(Q1048835))
action filter_type
action find
entity Q3305347
relation P17
type Q1048835
['Q1904', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q3305347 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Member of Ontario Provincial Parliament
action filter_type
action find
entity Member of Ontario Provincial Parliament
relation country
type political territorial entity
['Ontario', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Member_of_Ontario_Provincial_Parliament property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q1904,P17,c(Q1048835))
action filter_type
action find
entity Q3305347
relation P17
type Q1048835
That occupation belongs to the [ANSWER]
['Q1904', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q3305347 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Canada
That occupation belongs to the Canada
Canada
action filter_type
action find
entity Member of Ontario Provincial Parliament
relation country
type political territorial entity
['Ontario', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Member_of_Ontario_Provincial_Parliament property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q1076579 Q41487
USER
How many acts of Parliament or courts apply to jurisdiction over that political territory ?
(c(Q1076579),P1001,Q16) (c(Q41487),P1001,Q16) (c(Q1076579),P1001,Q16) (c(Q41487),P1001,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P1001
type Q1076579
action filter_type
action find_reverse
entity Q16
relation P1001
type Q41487
[{'concept': 'Q1076579'}, 'P1001', 'Q16'] [{'concept': 'Q41487'}, 'P1001', 'Q16'] [{'concept': 'Q1076579'}, 'P1001', 'Q16'] [{'concept': 'Q41487'}, 'P1001', 'Q16']
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:P1001 resource:Q16 . ?m rdf:type ontology:Q41487 } UNION { ?m rdf:type ontology:Q1076579 . ?m property:P1001 resource:Q16 } }
action count
action union
action filter_type
action find_reverse
entity Canada
relation applies to jurisdiction
type act of Parliament
action filter_type
action find_reverse
entity Canada
relation applies to jurisdiction
type court
[{'concept': 'act of Parliament'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'court'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'act of Parliament'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'court'}, 'applies to jurisdiction', 'Canada']
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:applies_to_jurisdiction resource:Canada . ?m rdf:type ontology:court } UNION { ?m rdf:type ontology:act_of_Parliament . ?m property:applies_to_jurisdiction resource:Canada } }
[]
act of Parliament court
SYSTEM
42
Q4809072 Q4672475 Q3001081 Q4819976 Q4855898 Q4972126 Q4856453 Q5029329 Q16951262 Q19595492 Q4856071 Q196615 Q15710818 Q7068006 Q15629527 Q2408274 Q5029320 Q5029363 Q5029361 Q5169221 Q4749717 Q5173096 Q5029970 Q5029452 Q4749719 Q16955193 Q16241067 Q5156315 Q5185490 Q4787563 Q5178256 Q5155381 Q5165903 Q2903420 Q5440167 Q5185604 Q15628665 Q5029333 Q5030350 Q2581564 Q5029825 Q4688365
(c(Q1076579),P1001,Q16) (c(Q41487),P1001,Q16) (c(Q1076579),P1001,Q16) (c(Q41487),P1001,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P1001
type Q1076579
action filter_type
action find_reverse
entity Q16
relation P1001
type Q41487
[ANSWER]
[{'concept': 'Q1076579'}, 'P1001', 'Q16'] [{'concept': 'Q41487'}, 'P1001', 'Q16'] [{'concept': 'Q1076579'}, 'P1001', 'Q16'] [{'concept': 'Q41487'}, 'P1001', 'Q16']
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:P1001 resource:Q16 . ?m rdf:type ontology:Q41487 } UNION { ?m rdf:type ontology:Q1076579 . ?m property:P1001 resource:Q16 } }
Assisted Human Reproduction Act Access to Information Act Federal Court Auditor General Act Bank Act Broadcasting Act Bankruptcy and Insolvency Act Canada Consumer Product Safety Act Contraventions Act Anti-terrorism Act, 2015 Bank of Canada Act Supreme Court of Canada An Act to amend the Nunavut Act and the Constitution Act, 1867 Nuclear Safety and Control Act Yukon Territory Act Canada Health Act Canada Business Corporations Act Canada Evidence Act Canada Elections Act Copyright Act An Act to amend the Copyright Act Corruption of Foreign Public Officials Act Canadian Environmental Protection Act, 1999 Canada Wildlife Act An Act to amend the Criminal Code (hate propaganda) Canada Marine Act Canada Labour Code Competition Act Crimes Against Humanity and War Crimes Act Arctic Waters Pollution Prevention Act Court Martial Appeal Court of Canada Companies' Creditors Arrangement Act Controlled Drugs and Substances Act Criminal Law Amendment Act, 1968-69 Federal Court of Canada Criminal Records Act Temporary Government of Rupert's Land Act, 1869 Canada Council for the Arts Act Canadian Multiculturalism Act Clarity Act Canadian Centre on Substance Abuse Act Aeronautics Act
42
action count
action union
action filter_type
action find_reverse
entity Canada
relation applies to jurisdiction
type act of Parliament
action filter_type
action find_reverse
entity Canada
relation applies to jurisdiction
type court
[{'concept': 'act of Parliament'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'court'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'act of Parliament'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'court'}, 'applies to jurisdiction', 'Canada']
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { ?m property:applies_to_jurisdiction resource:Canada . ?m rdf:type ontology:court } UNION { ?m rdf:type ontology:act_of_Parliament . ?m property:applies_to_jurisdiction resource:Canada } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q665571
P47
Q15617994
USER
How many administrative territories are bordered by Canada or Weiz District ?
(c(Q15617994),P47,Q16) (c(Q15617994),P47,Q665571)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q665571
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q16'] [{'concept': 'Q15617994'}, 'P47', 'Q665571']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:Q15617994 . ?r property:P47 resource:Q16 } UNION { ?r rdf:type ontology:Q15617994 . ?r property:P47 resource:Q665571 } }
Canada Weiz District
action count
action union
action filter_type
action find_reverse
entity Canada
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Weiz District
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Canada'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Weiz District']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:shares_border_with resource:Canada } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:shares_border_with resource:Weiz_District } }
[]
designation for an administrative territorial entity
SYSTEM
3
Q1979 Q30 Q223
(c(Q15617994),P47,Q16) (c(Q15617994),P47,Q665571)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q665571
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q16'] [{'concept': 'Q15617994'}, 'P47', 'Q665571']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:Q15617994 . ?r property:P47 resource:Q16 } UNION { ?r rdf:type ontology:Q15617994 . ?r property:P47 resource:Q665571 } }
Prince Edward Island United States of America Greenland
3
action count
action union
action filter_type
action find_reverse
entity Canada
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Weiz District
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Canada'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Weiz District']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:shares_border_with resource:Canada } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:shares_border_with resource:Weiz_District } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q363159 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada or are Neyron present in ?
OR((Q16,P530,c(Q15617994)), (Q363159,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16
relation P530
action find
entity Q363159
relation P17
type Q15617994
{'OR': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q363159', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q16 property:P530 ?d } UNION { resource:Q363159 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Neyron Canada
action filter_type
action union
action find
entity Canada
relation diplomatic relation
action find
entity Neyron
relation country
type designation for an administrative territorial entity
{'OR': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Neyron', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Canada property:diplomatic_relation ?d } UNION { resource:Neyron property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q77 Q145 Q155 Q928 Q1028 Q218 Q20 Q36 Q30
SYSTEM
Some of them are Kingdom of the Netherlands, Uruguay, United Kingdom, Brazil, Philippines, Morocco, Romania, Norway, Poland, United States of America
Q804 Q801 Q843 Q1029 Q1028 Q142 Q145 Q229 Q33 Q30 Q36 Q79 Q34 Q928 Q39 Q38 Q878 Q739 Q833 Q711 Q1030 Q851 Q29999 Q77 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
OR((Q16,P530,c(Q15617994)), (Q363159,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16
relation P530
action find
entity Q363159
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Canada or are Neyron present in
{'OR': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q363159', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q16 property:P530 ?d } UNION { resource:Q363159 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Panama Israel Pakistan Mozambique Morocco France United Kingdom Cyprus Finland United States of America Poland Egypt Sweden Philippines Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Namibia Saudi Arabia Kingdom of the Netherlands Uruguay Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
Kingdom of the Netherlands, Uruguay, United Kingdom, Brazil, Philippines, Morocco, Romania, Norway, Poland and United States of America have diplomatic relationships with Canada or are Neyron present in
Kingdom of the Netherlands Uruguay United Kingdom Brazil Philippines Morocco Romania Norway Poland United States of America
action filter_type
action union
action find
entity Canada
relation diplomatic relation
action find
entity Neyron
relation country
type designation for an administrative territorial entity
{'OR': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Neyron', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Canada property:diplomatic_relation ?d } UNION { resource:Neyron property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with atmost 55 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 55
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f <= 55 ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?f ) WHERE { ?k property:P530 ?h . ?k rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?k } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f <= 55 ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?f ) WHERE { ?k property:diplomatic_relation ?h . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q159
SYSTEM
Brazil, United States of America, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 55
[ANSWERS] are known to have diplomatic connections with atmost 55 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f <= 55 ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?f ) WHERE { ?k property:P530 ?h . ?k rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?k } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Brazil, United States of America and Russia are known to have diplomatic connections with atmost 55 administrative territories
Brazil United States of America Russia
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f <= 55 ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?f ) WHERE { ?k property:diplomatic_relation ?h . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q363159
P6
Q502895
USER
Which person has Neyron as its head of government ?
(Q363159,P6,c(Q502895))
action filter_type
action find
entity Q363159
relation P6
type Q502895
['Q363159', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q363159 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Neyron
action filter_type
action find
entity Neyron
relation head of government
type common name
['Neyron', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Neyron property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q27132392
SYSTEM
André Gadiolet
Q27132392
(Q363159,P6,c(Q502895))
action filter_type
action find
entity Q363159
relation P6
type Q502895
[ANSWER] has Neyron as its head of government
['Q363159', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q363159 property:P6 ?f . ?f rdf:type ontology:Q502895 }
André Gadiolet
André Gadiolet has Neyron as its head of government
André Gadiolet
action filter_type
action find
entity Neyron
relation head of government
type common name
['Neyron', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Neyron property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3915394
Q502895
USER
And how about Roșiile?
(Q3915394,P6,c(Q502895))
action filter_type
action find
entity Q3915394
relation P6
type Q502895
['Q3915394', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3915394 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Roșiile
action filter_type
action find
entity Roșiile
relation head of government
type common name
['Roșiile', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Roșiile property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q24088949 Q26157376
SYSTEM
Ștefan Marinescu, Constantin Doru Diaconu
Q24088949 Q26157376
(Q3915394,P6,c(Q502895))
action filter_type
action find
entity Q3915394
relation P6
type Q502895
[ANSWERS]
['Q3915394', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3915394 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Ștefan Marinescu Constantin Doru Diaconu
Ștefan Marinescu Constantin Doru Diaconu
action filter_type
action find
entity Roșiile
relation head of government
type common name
['Roșiile', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Roșiile property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3915394
P1376
Q56061
USER
Which administrative territory is the county seat for Roșiile ?
(c(Q56061),P1376,Q3915394)
action filter_type
action find_reverse
entity Q3915394
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q3915394']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q3915394 . ?v rdf:type ontology:Q56061 }
Roșiile
action filter_type
action find_reverse
entity Roșiile
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Roșiile']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:Roșiile . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2104955
SYSTEM
Roșiile
Q2104955
(c(Q56061),P1376,Q3915394)
action filter_type
action find_reverse
entity Q3915394
relation P1376
type Q56061
District [ANSWER] is the county seat for [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q3915394']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q3915394 . ?v rdf:type ontology:Q56061 }
Roșiile
District Roșiile is the county seat for Roșiile
Roșiile
action filter_type
action find_reverse
entity Roșiile
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Roșiile']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:Roșiile . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2104955
P19
Q502895
USER
Which person has place of birth as that administrative territory ?
(c(Q502895),P19,Q2104955)
action filter_type
action find_reverse
entity Q2104955
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2104955']
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q2104955 . ?w rdf:type ontology:Q502895 }
Roșiile
action filter_type
action find_reverse
entity Roșiile
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Roșiile']
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Roșiile . ?w rdf:type ontology:common_name }
[]
common name
Q529232
SYSTEM
Leontina Vaduva
Q529232
(c(Q502895),P19,Q2104955)
action filter_type
action find_reverse
entity Q2104955
relation P19
type Q502895
[ANSWER] has place of birth as that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q2104955']
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q2104955 . ?w rdf:type ontology:Q502895 }
Leontina Vaduva
Leontina Vaduva has place of birth as that administrative territory
Leontina Vaduva
action filter_type
action find_reverse
entity Roșiile
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Roșiile']
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Roșiile . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q11060274 Q838948
USER
Which administrative territories are expressed in atmost 1 prints or works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?e rdf:type ?g } GROUP BY ?j } . FILTER ( ?b <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:print ) ( ontology:work_of_art ) } . ?e rdf:type ?g } GROUP BY ?j } . FILTER ( ?b <= 1 ) }
[]
designation for an administrative territorial entity print work of art
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWERS] are expressed in atmost 1 prints or works of art
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?e rdf:type ?g } GROUP BY ?j } . FILTER ( ?b <= 1 ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are expressed in atmost 1 prints or works of art
Italy Brazil Russia
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:print ) ( ontology:work_of_art ) } . ?e rdf:type ?g } GROUP BY ?j } . FILTER ( ?b <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q12501
P840
Q166142
USER
How many applications have their narrative set in Russia or Great Wall of China ?
(c(Q166142),P840,Q159) (c(Q166142),P840,Q12501)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P840
type Q166142
action filter_type
action find_reverse
entity Q12501
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q159'] [{'concept': 'Q166142'}, 'P840', 'Q12501']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P840 resource:Q159 . ?l rdf:type ontology:Q166142 } UNION { ?l property:P840 resource:Q12501 . ?l rdf:type ontology:Q166142 } }
Russia Great Wall of China
action count
action union
action filter_type
action find_reverse
entity Russia
relation narrative location
type application
action filter_type
action find_reverse
entity Great Wall of China
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Russia'] [{'concept': 'application'}, 'narrative location', 'Great Wall of China']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:narrative_location resource:Russia . ?l rdf:type ontology:application } UNION { ?l property:narrative_location resource:Great_Wall_of_China . ?l rdf:type ontology:application } }
[]
application
SYSTEM
95
Q1780344 Q1195880 Q676563 Q377242 Q16267694 Q878492 Q7993400 Q880040 Q15116822 Q772482 Q648128 Q2599190 Q369086 Q2370558 Q4036759 Q1069497 Q2729465 Q5230754 Q1427606 Q18954728 Q5015333 Q5015330 Q5015331 Q2326787 Q3268560 Q2019441 Q652481 Q2742396 Q486351 Q2334495 Q2604206 Q2732474 Q2312441 Q907508 Q2508481 Q7744585 Q2569492 Q914286 Q266079 Q2618557 Q739782 Q642359 Q13423675 Q76255 Q970101 Q2415804 Q1037042 Q16950261 Q71932 Q2708114 Q1955277 Q2569617 Q2790195 Q11723029 Q2367032 Q1048197 Q672049 Q40627 Q730466 Q2313070 Q162751 Q963189 Q1091551 Q3046450 Q7815318 Q2081625 Q2734059 Q2528180 Q811024 Q3346033 Q161202 Q286205 Q4906178 Q4043974 Q2323444 Q486233 Q1288651 Q907320 Q2088341 Q6129973 Q207986 Q1092945 Q840776 Q1276932 Q7054511 Q1068025 Q816451 Q729162 Q736887 Q3183046 Q600707 Q375962 Q2445000 Q569898 Q13233160
(c(Q166142),P840,Q159) (c(Q166142),P840,Q12501)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P840
type Q166142
action filter_type
action find_reverse
entity Q12501
relation P840
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P840', 'Q159'] [{'concept': 'Q166142'}, 'P840', 'Q12501']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:P840 resource:Q159 . ?l rdf:type ontology:Q166142 } UNION { ?l property:P840 resource:Q12501 . ?l rdf:type ontology:Q166142 } }
Strider Tomorrow Never Dies Battlefield: Bad Company 2 Tom Clancy's Splinter Cell Snowden Run 3D Tom Clancy's Splinter Cell: Double Agent Where in the World Is Carmen Sandiego? Black Tom Clancy's Ghost Recon SSX Battlefield: Bad Company OutRunners GoldenEye 007 Tom Clancy's Ghost Recon Online Culpa Innata Command & Conquer: Generals – Zero Hour Global Operations Street Fighter III: 3rd Strike Soldier of Fortune Rise of the Tomb Raider Cabela's Dangerous Hunts 2 Cabela's Dangerous Hunts: Ultimate Challenge Cabela's Dangerous Hunts 2009 Test Drive 5 SOCOM II: U.S. Navy SEALs Saturday Night Slam Masters Twisted Metal: Head-On Call of Duty: Modern Warfare – Mobilized Call of Duty: Modern Warfare 2 Tony Hawk's Underground Virtua Tennis 3 Virtua Tennis: World Tour Virtua Tennis 2009 Tom Clancy's Splinter Cell: Conviction Syberia III The King of Rally Rock Band 2 Street Fighter IV Alpha Protocol Battlefield 4 Syphon Filter 2 Tomb Raider Chronicles Tekken Revolution Call of Duty 4: Modern Warfare Soccer Kid Ace Combat: Assault Horizon Hitman 2: Silent Assassin Maken X Call of Duty: Black Ops: Declassified GoldenEye 007 Tom Clancy's Splinter Cell: Blacklist The X-Files: Resist or Serve Sniper: Ghost Warrior 2 Chameleon (2005 video game) Twisted Metal 2 Rally Trophy Tekken Tag Tournament 2 Sly Cooper and the Thievius Raccoonus Ninja Gaiden Sigma 2 Tom Clancy's Ghost Recon: Future Soldier Metro 2033 Dark Sector Command & Conquer: Red Alert 3 – Uprising Earth Defense Tom Clancy's Politika James Bond 007: Blood Stone Top Spin 3 TimeSplitters: Future Perfect Battlefield 2142 Nuclear Strike James Bond 007: Everything or Nothing Wipeout Big Red Racing Memento Mori Project I.G.I.: I'm Going In Call of Duty: Modern Warfare 3 Snatcher Delta Force 2 Syberia II James Bond 007 Call of Duty: Black Ops Battlefield 2: Modern Combat Tom Clancy's EndWar Top Spin 4 Soviet Strike Chaser Tomb Raider II Alias Virtua Tennis 4 Joint Strike Fighter Hitman: Contracts Soldier of Fortune II: Double Helix Delta Force: Xtreme Metro: Last Light Mario & Sonic at the Sochi 2014 Olympic Winter Games
95
action count
action union
action filter_type
action find_reverse
entity Russia
relation narrative location
type application
action filter_type
action find_reverse
entity Great Wall of China
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Russia'] [{'concept': 'application'}, 'narrative location', 'Great Wall of China']
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l property:narrative_location resource:Russia . ?l rdf:type ontology:application } UNION { ?l property:narrative_location resource:Great_Wall_of_China . ?l rdf:type ontology:application } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P463
Q484652
USER
What international organizations were that administrative territory a member of ?
action filter_type
action find
entity Q159
relation P463
type Q484652
SELECT DISTINCT ?o WHERE { resource:Q159 property:P463 ?o . ?o rdf:type ontology:Q484652 }
Russia
action filter_type
action find
entity Russia
relation member of
type international organization
SELECT DISTINCT ?o WHERE { resource:Russia property:member_of ?o . ?o rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q789769 Q8475 Q1065 Q19771 Q37143 Q674182 Q166110 Q1043527
action filter_type
action find
entity Q159
relation P463
type Q484652
[ANSWERS]
SELECT DISTINCT ?o WHERE { resource:Q159 property:P463 ?o . ?o rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States Interpol United Nations G20 G8 Arctic Council Union State Multilateral Investment Guarantee Agency
What international organizations were that administrative territory a member of
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity Russia
relation member of
type international organization
SELECT DISTINCT ?o WHERE { resource:Russia property:member_of ?o . ?o rdf:type ontology:international_organization }
[]