Simple Question (Direct)
Simple Question
Q168339
P607
Q350604
USER
What battle were Hisaichi Terauchi a part of ?
(Q168339,P607,c(Q350604))
action filter_type
action find
entity Q168339
relation P607
type Q350604
['Q168339', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q168339 property:P607 ?d . ?d rdf:type ontology:Q350604 }
Hisaichi Terauchi
action filter_type
action find
entity Hisaichi Terauchi
relation conflict
type armed conflict
['Hisaichi Terauchi', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Hisaichi_Terauchi property:conflict ?d . ?d rdf:type ontology:armed_conflict }
[]
armed conflict
Q159950 Q170314
SYSTEM
Russo-Japanese War, Second Sino-Japanese War
Q159950 Q170314
(Q168339,P607,c(Q350604))
action filter_type
action find
entity Q168339
relation P607
type Q350604
Hisaichi Terauchi were the [ANSWERS]
['Q168339', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q168339 property:P607 ?d . ?d rdf:type ontology:Q350604 }
Russo-Japanese War Second Sino-Japanese War
Hisaichi Terauchi were the Russo-Japanese War and Second Sino-Japanese War
Russo-Japanese War Second Sino-Japanese War
action filter_type
action find
entity Hisaichi Terauchi
relation conflict
type armed conflict
['Hisaichi Terauchi', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Hisaichi_Terauchi property:conflict ?d . ?d rdf:type ontology:armed_conflict }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159950
P921
Q820655
USER
Which statute is that armed conflict a main subject of ?
(c(Q820655),P921,Q159950)
action filter_type
action find_reverse
entity Q159950
relation P921
type Q820655
[{'concept': 'Q820655'}, 'P921', 'Q159950']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q159950 . ?g rdf:type ontology:Q820655 }
Russo-Japanese War
action filter_type
action find_reverse
entity Russo-Japanese War
relation main subject
type statute
[{'concept': 'statute'}, 'main subject', 'Russo-Japanese War']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Russo-Japanese_War . ?g rdf:type ontology:statute }
[]
statute
Clarification for simple ques.
Q159950
SYSTEM
Did you mean Russo-Japanese War ?
Q159950 Q170314
(c(Q820655),P921,Q159950) (c(Q820655),P921,Q170314)
[ANSWER]
[{'concept': 'Q820655'}, 'P921', 'Q159950'] [{'concept': 'Q820655'}, 'P921', 'Q170314']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q159950 . ?g rdf:type ontology:Q820655 }
Russo-Japanese War Second Sino-Japanese War
Did you mean Russo-Japanese War ?
Russo-Japanese War
[{'concept': 'statute'}, 'main subject', 'Russo-Japanese War'] [{'concept': 'statute'}, 'main subject', 'Second Sino-Japanese War']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Russo-Japanese_War . ?g rdf:type ontology:statute }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q820655),P921,Q159950)
[{'concept': 'Q820655'}, 'P921', 'Q159950']
[{'concept': 'statute'}, 'main subject', 'Russo-Japanese War']
[]
Q19180760
SYSTEM
Supreme Manifesto from March, 1st 1881
Q19180760
(c(Q820655),P921,Q159950)
action filter_type
action find_reverse
entity Q159950
relation P921
type Q820655
[ANSWER] is that armed conflict a main subject of
[{'concept': 'Q820655'}, 'P921', 'Q159950']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q159950 . ?g rdf:type ontology:Q820655 }
Supreme Manifesto from March, 1st 1881
Supreme Manifesto from March, 1st 1881 is that armed conflict a main subject of
Supreme Manifesto from March, 1st 1881
action filter_type
action find_reverse
entity Russo-Japanese War
relation main subject
type statute
[{'concept': 'statute'}, 'main subject', 'Russo-Japanese War']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Russo-Japanese_War . ?g rdf:type ontology:statute }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19180760
P921
Q350604
USER
What was the main subject in the work that statute ?
(Q19180760,P921,c(Q350604))
action filter_type
action find
entity Q19180760
relation P921
type Q350604
['Q19180760', 'P921', {'concept': 'Q350604'}]
SELECT DISTINCT ?y WHERE { resource:Q19180760 property:P921 ?y . ?y rdf:type ontology:Q350604 }
Supreme Manifesto from March, 1st 1881
action filter_type
action find
entity Supreme Manifesto from March, 1st 1881
relation main subject
type armed conflict
['Supreme Manifesto from March, 1st 1881', 'main subject', {'concept': 'armed conflict'}]
SELECT DISTINCT ?y WHERE { resource:Supreme_Manifesto_from_March,_1st_1881 property:main_subject ?y . ?y rdf:type ontology:armed_conflict }
[]
armed conflict
Q159950
SYSTEM
Russo-Japanese War
Q159950
(Q19180760,P921,c(Q350604))
action filter_type
action find
entity Q19180760
relation P921
type Q350604
The main subject in the work that statute was the [ANSWER]
['Q19180760', 'P921', {'concept': 'Q350604'}]
SELECT DISTINCT ?y WHERE { resource:Q19180760 property:P921 ?y . ?y rdf:type ontology:Q350604 }
Russo-Japanese War
The main subject in the work that statute was the Russo-Japanese War
Russo-Japanese War
action filter_type
action find
entity Supreme Manifesto from March, 1st 1881
relation main subject
type armed conflict
['Supreme Manifesto from March, 1st 1881', 'main subject', {'concept': 'armed conflict'}]
SELECT DISTINCT ?y WHERE { resource:Supreme_Manifesto_from_March,_1st_1881 property:main_subject ?y . ?y rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159950 Q1315
P921
Q191067
USER
How many articles have Russo-Japanese War or equinox as their main topic ?
(c(Q191067),P921,Q159950) (c(Q191067),P921,Q1315)
action count
action union
action filter_type
action find_reverse
entity Q159950
relation P921
type Q191067
action filter_type
action find_reverse
entity Q1315
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q159950'] [{'concept': 'Q191067'}, 'P921', 'Q1315']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c property:P921 resource:Q159950 . ?c rdf:type ontology:Q191067 } UNION { ?c property:P921 resource:Q1315 . ?c rdf:type ontology:Q191067 } }
Russo-Japanese War equinox
action count
action union
action filter_type
action find_reverse
entity Russo-Japanese War
relation main subject
type article
action filter_type
action find_reverse
entity equinox
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Russo-Japanese War'] [{'concept': 'article'}, 'main subject', 'equinox']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c property:main_subject resource:Russo-Japanese_War . ?c rdf:type ontology:article } UNION { ?c property:main_subject resource:equinox . ?c rdf:type ontology:article } }
[]
article
SYSTEM
3
Q20653002 Q24472448 Q24732484
(c(Q191067),P921,Q159950) (c(Q191067),P921,Q1315)
action count
action union
action filter_type
action find_reverse
entity Q159950
relation P921
type Q191067
action filter_type
action find_reverse
entity Q1315
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q159950'] [{'concept': 'Q191067'}, 'P921', 'Q1315']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c property:P921 resource:Q159950 . ?c rdf:type ontology:Q191067 } UNION { ?c property:P921 resource:Q1315 . ?c rdf:type ontology:Q191067 } }
EB-11 / Russo-Japanese War equinoxes equinoxes
3
action count
action union
action filter_type
action find_reverse
entity Russo-Japanese War
relation main subject
type article
action filter_type
action find_reverse
entity equinox
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Russo-Japanese War'] [{'concept': 'article'}, 'main subject', 'equinox']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c property:main_subject resource:Russo-Japanese_War . ?c rdf:type ontology:article } UNION { ?c property:main_subject resource:equinox . ?c rdf:type ontology:article } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2408624
P1001
Q1048835 Q852446 Q820655
USER
Which statutes have jurisdiction over less number of political territories or US administrative territories than Canadian Bill of Rights ?
(c(Q820655),P1001,c(Q1048835)|c(Q852446))
action less
action union
action find_tuple_counts
relation P1001
type Q820655
type Q1048835
action find_tuple_counts
relation P1001
type Q820655
type Q852446
action count
action filter_multi_types
action find
entity Q2408624
relation P1001
type Q1048835
type Q852446
[{'concept': 'Q820655'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } . ?l rdf:type ?s } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } . ?m rdf:type ?o } . resource:Q2408624 property:P1001 ?m } } . FILTER ( ?d < ?a ) }
Canadian Bill of Rights
action less
action union
action find_tuple_counts
relation applies to jurisdiction
type statute
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type statute
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Canadian Bill of Rights
relation applies to jurisdiction
type political territorial entity
type administrative territorial entity of the United States
[{'concept': 'statute'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?l rdf:type ?s } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?m rdf:type ?o } . resource:Canadian_Bill_of_Rights property:applies_to_jurisdiction ?m } } . FILTER ( ?d < ?a ) }
[]
political territorial entity administrative territorial entity of the United States statute
Q15079601 Q3217022 Q5283407
SYSTEM
loi n° 2002-5 du 4 janvier 2002 relative aux musées de France, Land Ordinance of 1785, District of Columbia Compensated Emancipation Act
Q15079601 Q5507275 Q5969082 Q7979518 Q3217022 Q20974176 Q280537 Q7507662 Q6806279 Q2996339 Q8034831 Q16257295 Q6269155 Q5065125 Q1073716 Q4693794 Q7741695 Q8034909 Q16931559 Q5287201 Q786008 Q7440330 Q7884188 Q6807083 Q4681323 Q6888299 Q5449353 Q5283407 Q6771057 Q16847576 Q26220814 Q16823844 Q5166307 Q2856099 Q16733962 Q7060864 Q3686324 Q1142156 Q4787547 Q7795915 Q26910843 Q5166296 Q5937410 Q6467375 Q5955811 Q8034737 Q7636522 Q16923837 Q16238237 Q1613068 Q26833112 Q5532988 Q6583108 Q7333622 Q3704583 Q18647563 Q5029569 Q18206191 Q7837012 Q24060084 Q4859844 Q4859847 Q8035032 Q7070253 Q8035031 Q4672695 Q16257299 Q4859499 Q16931744 Q4674781 Q4184937 Q5766344 Q1872810 Q5614120 Q7550806 Q1261905 Q5166287 Q1418478 Q16911691 Q2034215 Q1144837 Q2489283 Q2305282 Q7075790 Q6059452 Q6500 Q6548367 Q3774237 Q4927888 Q16926897 Q7836863 Q6119454 Q399999 Q16257590 Q6786646 Q7137274 Q6044538 Q1329394 Q7837052 Q16983546 Q26833072 Q7994979 Q5090522 Q5169272 Q7398637 Q6383417 Q7837208 Q16257131 Q5374356 Q13559774 Q16733436 Q5937386 Q21187336 Q374130 Q6844340 Q7075787 Q865365 Q7380563 Q231304 Q5146133 Q10547893 Q15991252 Q26833176 Q7837072 Q535519 Q5317512 Q16257403 Q486302 Q5166302 Q1667842 Q2895269 Q727854 Q5166306 Q16976200 Q5097718 Q6048126 Q16972317 Q171322 Q26833062 Q6048121 Q715282 Q210645 Q6500100 Q5374346 Q16933862 Q5374347 Q6168026 Q3660063 Q7836963 Q25631070 Q1938591 Q16733680 Q7498043 Q6844352 Q7112166 Q6467427 Q11122 Q4693788 Q6906418 Q5472921 Q4693785 Q7251355 Q6772820 Q18130374 Q23057819 Q7524742 Q16841253 Q188116 Q19883292 Q5176398 Q16209306 Q7053851 Q23579863 Q4230399 Q5913468 Q5204227 Q39392 Q1414593 Q16733689 Q223560 Q4854173 Q16947232 Q11973520 Q3829735 Q15731961 Q1484269 Q7813861 Q2743374 Q743212 Q16961489 Q6865421 Q2961209 Q3503314 Q4693783 Q7939989 Q18900373 Q4958991 Q5384206 Q7335212 Q4226150 Q6049349 Q1410030 Q5449355 Q7440333 Q16835847 Q19429115 Q16983515 Q6467518 Q6467527 Q869796 Q339207 Q19851007 Q16958641 Q16932002 Q2996226 Q16733389 Q16257909 Q18838226 Q12616 Q1285222 Q4698371 Q16430309 Q7836949 Q18286455 Q7837104 Q2822829 Q6818389 Q7094791 Q6054047 Q5531658 Q16828638 Q7251922 Q16934373 Q7939231 Q11128 Q4693809 Q677681 Q7837329 Q5384207 Q850709 Q6815315 Q8034624 Q6467392 Q6030895 Q7837185 Q5412453 Q24883309 Q7120019 Q4824826 Q6806341 Q299104 Q6844307 Q7863455 Q7863493 Q4969712 Q16257613
(c(Q820655),P1001,c(Q1048835)|c(Q852446))
action less
action union
action find_tuple_counts
relation P1001
type Q820655
type Q1048835
action find_tuple_counts
relation P1001
type Q820655
type Q852446
action count
action filter_multi_types
action find
entity Q2408624
relation P1001
type Q1048835
type Q852446
[ANSWERS] have jurisdiction over less number of political territories or US administrative territories than Canadian Bill of Rights
[{'concept': 'Q820655'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } . ?l rdf:type ?s } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:Q1048835 ) ( ontology:Q852446 ) } . ?m rdf:type ?o } . resource:Q2408624 property:P1001 ?m } } . FILTER ( ?d < ?a ) }
loi n° 2002-5 du 4 janvier 2002 relative aux musées de France Fugitive Slave Clause Treaty of Amity and Commerce Weekly Rest (Industry) Convention, 1921 Land Ordinance of 1785 Conditional Access Convention Northwest Ordinance Sickness Insurance (Industry) Convention, 1927 Medical Care and Sickness Benefits Convention, 1969 Convention for the Conservation of Antarctic Seals Workers with Family Responsibilities Convention, 1981 Customs Convention on Containers Joint Communiqué on the Establishment of Diplomatic Relations Certification of Able Seamen Convention, 1946 Chinese Exclusion Act Agreement between the Allied and Associated Powers with Regard to the Contribution to the Cost of Liberation of the Territories of the Former Austro-Hungarian Monarchy The Income-tax Act, 1961 Working Environment (Air Pollution, Noise and Vibration) Convention, 1977 1994 Oslo Protocol on Further Reduction of Sulphur Emissions Dock Work Convention, 1973 Indian Removal Act Seafarers' Identity Documents Convention, 1958 Unemployment Convention Mediterranean pass Additional Protocol to the Convention on Cybercrime Model Treaty Final Articles Revision Convention, 1961 District of Columbia Compensated Emancipation Act Marking of Weight (Packages Transported by Vessels) Convention, 1929 European Convention on Information on Foreign Law Alberta Human Rights Act Bonn Agreement Convention on the Transfer of Sentenced Persons Aarhus Protocol on Persistent Organic Pollutants Agreement for the Suppression of the Circulation of Obscene Publications Norway and the Soviet Republic of Russia Preliminary Agreement mafia complicity Helms–Burton Act Arctic Search and Rescue Agreement Thomson–Urrutia Treaty Anti-Money Laundering, Anti-Terrorism Financing and Proceeds of Unlawful Activities Act 2001 Convention on the Law of Non-Navigational Uses of International Watercourses Human Rights Act 2003 Labour Administration Convention, 1978 Hygiene (Commerce and Offices) Convention, 1964 Workers' Representatives Convention, 1971 Sulphur Emissions Reduction Protocol Workmen's Compensation (Occupational Diseases) Convention (Revised), 1934 Convention on the Recovery Abroad of Maintenance Volstead Act Fiji–France Maritime Delimitation Agreement Geneva Convention for the Amelioration of the Condition of the Wounded and Sick in Armies in the Field Nitrogen Oxide Protocol Right of Association (Agriculture) Convention Legislative decree n. 79 issued 16 March 1999 Treaty on European Union Canada–European Free Trade Association Free Trade Agreement Convention on the Manipulation of Sports Competitions Treaty of Cession of Tutuila Probate and Legacy Duties Act 1808 Barcelona Convention and Statute on Freedom of Transit Barcelona Convention and Statute on the Regime of Navigable Waterways of International Concern Workmen's Compensation (Occupational Diseases) Convention, 1925 Nursing Personnel Convention, 1977 Workmen's Compensation (Agriculture) Convention, 1921 Accommodation of Crews (Fishermen) Convention, 1966 Convention concerning Customs Facilities for Touring Barbary treaties European Convention on Mutual Assistance in Criminal Matters Acquisition and Cross-Servicing Agreement Russian LGBT propaganda law Hindu Marriage Act Wilderness Act Guarding of Machinery Convention, 1963 Social Security (Minimum Standards) Convention, 1952 Convention against Discrimination in Education Convention on Fishing and Conservation of Living Resources of the High Seas Racketeer Influenced and Corrupt Organizations Act Treaty with Morocco (1836) Convention for the Prevention of Marine Pollution by Dumping from Ships and Aircraft Surname Law Broadcasting Rules States Reorganisation Act Occupational Safety and Health Convention Invalidity, Old-Age and Survivors' Benefits Convention, 1967 Rinderkennzeichnungs- und Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz Lilly Ledbetter Fair Pay Act of 2009 Antiquities Act Blood quantum laws Promotional Framework for Occupational Safety and Health Convention, 2006 Treaties and Other International Acts Series Jacob Wetterling Crimes Against Children and Sexually Violent Offender Registration Act Prohibition in the United States Agreement on the Importation of Educational, Scientific and Cultural Materials Maternity Protection Convention, 2000 Paris Convention on Third Party Liability in the Field of Nuclear Energy Inter-American Convention Against Corruption No Child Left Behind Act Treaty of Fort Clark Hay-Quesada Treaty Dominica–France Maritime Delimitation Agreement White Lead (Painting) Convention, 1921 Chemicals Convention, 1990 Copyright law of Spain Safety and Health in Construction Convention, 1988 Keflavik Agreement Treaty of Relations Brussels Agreement Employment Service Convention, 1948 Heritage Places Protection Act Customs Convention on the Temporary Importation of Private Road Vehicles Human Resources Development Convention, 1975 Treaty of Amity and Commerce Moroccan–American Treaty of Friendship Migration for Employment Convention (Revised), 1949 Occupational Safety and Health (Dock Work) Convention, 1979 Jim Crow laws Rural Workers' Organisations Convention, 1975 Fourth Amendment to the United States Constitution Collective Bargaining Convention Safety and Health in Mines Convention, 1995 Mellon-Berenger Agreement France–Tonga Maritime Delimitation Convention Treaty of Friendship, Commerce and Consular Relations between Germany and the United States of America Fugitive Slave Act of 1850 Dutch–Scandinavian Economic Pact International Convention to Facilitate the Importation of Commercial Samples and Advertising Material Immigration Act of 1903 Convention on the Protection and Use of Transboundary Watercourses and International Lakes International Tropical Timber Agreement, 1994 Fugitive Slave Act of 1793 Missouri Compromise Convention on the Transboundary Effects of Industrial Accidents United States Treaties and Other International Agreements Child Citizenship Act of 2000 International Agreement on the Neutrality of Laos United States–Central America Treaty Stop Online Piracy Act France–Seychelles Maritime Boundary Agreement International Agreement on the Conservation of Polar Bears PROTECT IP Act Second Amendment to the United States Constitution Laurel–Langley Agreement Employment Policy Convention, 1964 Section 123 Agreement Employment Promotion and Protection against Unemployment Convention, 1988 Jay–Gardoqui Treaty Don't Ask, Don't Tell Repeal Act of 2010 Treaty of Amity and Economic Relations Agreement on Port State Measures to Prevent, Deter and Eliminate Illegal, Unreported and Unregulated Fishing Arizona SB 1070 Convention and Statute on the International Régime of Maritime Ports Shipowners' Liability (Sick and Injured Seamen) Convention, 1936 Migratory Bird Treaty Outline Convention on Transfrontier Co-operation Labour Inspection (Agriculture) Convention, 1969 treaties of the European Union Agreement Between Great Britain and Norway Relating to the Suppression of the Capitulations in Egypt Montreux Convention Regarding the Abolition of the Capitulations in Egypt Forty-Hour Week Convention, 1935 Agreed Measures for the Conservation of Antarctic Fauna and Flora Protection of Wages Convention, 1949 Marriage (Same Sex Couples) Act 2013 Convention on the Reduction of Cases of Multiple Nationality and on Military Obligations in Cases of Multiple Nationality Aadhaar (Targeted Delivery of Financial and other Subsidies, benefits and services) Act, 2016 Sino-American Cooperative Organization International Convention on the Harmonization of Frontier Controls of Goods Fourteenth Amendment to the United States Constitution Republic Act No. 7586 Council of Europe Convention on the Prevention of Terrorism International Convention for the Suppression of Counterfeiting Currency North American Radio Broadcasting Agreement DEN/ICE Agreements Holidays with Pay Convention (Revised), 1970 Hours of Work (Commerce and Offices) Convention, 1930 DAFT Compromise of 1850 Patient Protection and Affordable Care Act Joint Convention on the Safety of Spent Fuel Management and on the Safety of Radioactive Waste Management Third Amendment to the United States Constitution Bancroft Treaties Treaty of Cession of Manu'a Multi-effect Protocol Merlin Law Indonesian nationality law G.I. Bill Tokyo Convention Endangered Species Act Taft–Hartley Act Anderson–Gual Treaty Minimum Wage-Fixing Machinery Convention, 1928 Quebec Charter of Human Rights and Freedoms Root–Takahira Agreement Agreed Minute Volatile Organic Compounds Protocol Salt Administration Regulations Brazil–United States Treaty Equality of Treatment (Accident Compensation) Convention, 1925 Rio Grande Compact Merchant Shipping Code of the Russian Federation International Coffee Agreement Glass–Steagall Act Final Articles Revision Convention, 1946 Seafarers' Pensions Convention, 1946 European Convention on the International Validity of Criminal Judgments Treaty for Relinquishment of Extraterritorial Rights in China Hawaiian–American Treaty of Friendship, Commerce and Navigation Labour Relations (Public Service) Convention, 1978 Labour Statistics Convention, 1985 Strafgesetzbuch Geneva Frequency Plan of 1975 Intelligence Act U.S.–UAE 123 Agreement for Peaceful Civilian Nuclear Energy Cooperation Paris Protocol Radiation Protection Convention, 1960 International Convention concerning the Use of Broadcasting in the Cause of Peace Protocol on Mines, Booby-Traps and Other Devices Law of the People's Republic of China on Foreign-Capital Enterprises First Amendment to the United States Constitution The Paris Convention of 1919 Air route authority between the United States and the People's Republic of China Manslaughter Section Treaty for the Limitation of Naval Armament law on organ donation in the Netherlands Treaty of Kalmar Agreement on Agriculture Merchant Shipping (Minimum Standards) Convention, 1976 Ontario Human Rights Code International Tropical Timber Agreement, 2006 General Act for the Pacific Settlement of International Disputes Customs Convention on the Temporary Importation of Commercial Road Vehicles Protocol Bringing under International Control Drugs outside the Scope of the Convention of 13 July 1931 for Limiting the Manufacture and Regulating the Distribution of Narcotic Drugs Officers' Competency Certificates Convention, 1936 Vocational Rehabilitation and Employment (Disabled Persons) Convention, 1983 Treaty on the functioning of the European Union Agreement on the Privileges and Immunities of the International Criminal Court Code pénal Treaty to avoid or prevent Conflicts between the American States Equality of Treatment (Social Security) Convention, 1962 Betäubungsmittelgesetz Memorandum of Understanding on the Conservation and Management of Marine Turtles and their Habitats of the Indian Ocean and South-East Asia Work in Fishing Convention 2007 Labour Clauses (Public Contracts) Convention, 1949 Information Technology Agreement Treaty of Peace, Friendship, Commerce and Navigation European Convention for the Protection of Pet Animals Protocol on Incendiary Weapons POP Air Pollution Protocol Civil Partnership Act 2004 Medical Examination (Fishermen) Convention, 1959 ATP Migrant Workers (Supplementary Provisions) Convention, 1975 U.S. and Japan Mutual Defense Assistance Agreement U.S.–Afghanistan Strategic Partnership Agreement British Columbia Human Rights Code International Agreement for the suppression of the White Slave Traffic
Loi n° 2002-5 du 4 janvier 2002 relative aux musées de France, Land Ordinance of 1785 and District of Columbia Compensated Emancipation Act have jurisdiction over less number of political territories or US administrative territories than Canadian Bill of Rights
loi n° 2002-5 du 4 janvier 2002 relative aux musées de France Land Ordinance of 1785 District of Columbia Compensated Emancipation Act
action less
action union
action find_tuple_counts
relation applies to jurisdiction
type statute
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type statute
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Canadian Bill of Rights
relation applies to jurisdiction
type political territorial entity
type administrative territorial entity of the United States
[{'concept': 'statute'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?l rdf:type ?s } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?m rdf:type ?o } . resource:Canadian_Bill_of_Rights property:applies_to_jurisdiction ?m } } . FILTER ( ?d < ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19083811 Q15079601
P50
Q502895
USER
Which people authored loi n° 2002-5 du 4 janvier 2002 relative aux musées de France or Dixon, John (d.1715) (DNB00) ?
OR((Q15079601,P50,c(Q502895)), (Q19083811,P50,c(Q502895)))
action filter_type
action union
action find
entity Q15079601
relation P50
action find
entity Q19083811
relation P50
type Q502895
{'OR': [['Q15079601', 'P50', {'concept': 'Q502895'}], ['Q19083811', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q15079601 property:P50 ?f } UNION { resource:Q19083811 property:P50 ?f } } . ?f rdf:type ontology:Q502895 }
Dixon, John (d.1715) (DNB00) loi n° 2002-5 du 4 janvier 2002 relative aux musées de France
action filter_type
action union
action find
entity loi n° 2002-5 du 4 janvier 2002 relative aux musées de France
relation author
action find
entity Dixon, John (d.1715) (DNB00)
relation author
type common name
{'OR': [['loi n° 2002-5 du 4 janvier 2002 relative aux musées de France', 'author', {'concept': 'common name'}], ['Dixon, John (d.1715) (DNB00)', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:loi_n°_2002-5_du_4_janvier_2002_relative_aux_musées_de_France property:author ?f } UNION { resource:Dixon,_John_(d.1715)_(DNB00) property:author ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q2942078 Q2105 Q187099 Q4480420 Q1905371 Q681613 Q63275 Q217070
SYSTEM
Catherine Tasca, Jacques Chirac, Lionel Jospin, Louis Alexander Fagan, Daniel Vaillant, Christian Paul, Marylise Lebranchu, Laurent Fabius
Q2942078 Q2105 Q187099 Q4480420 Q1905371 Q681613 Q63275 Q217070
OR((Q15079601,P50,c(Q502895)), (Q19083811,P50,c(Q502895)))
action filter_type
action union
action find
entity Q15079601
relation P50
action find
entity Q19083811
relation P50
type Q502895
[ANSWERS] authored loi n° 2002-5 du 4 janvier 2002 relative aux musées de France or Dixon, John (d.1715) (DNB00)
{'OR': [['Q15079601', 'P50', {'concept': 'Q502895'}], ['Q19083811', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q15079601 property:P50 ?f } UNION { resource:Q19083811 property:P50 ?f } } . ?f rdf:type ontology:Q502895 }
Catherine Tasca Jacques Chirac Lionel Jospin Louis Alexander Fagan Daniel Vaillant Christian Paul Marylise Lebranchu Laurent Fabius
Catherine Tasca, Jacques Chirac, Lionel Jospin, Louis Alexander Fagan, Daniel Vaillant, Christian Paul, Marylise Lebranchu and Laurent Fabius authored loi n° 2002-5 du 4 janvier 2002 relative aux musées de France or Dixon, John (d.1715) (DNB00)
Catherine Tasca Jacques Chirac Lionel Jospin Louis Alexander Fagan Daniel Vaillant Christian Paul Marylise Lebranchu Laurent Fabius
action filter_type
action union
action find
entity loi n° 2002-5 du 4 janvier 2002 relative aux musées de France
relation author
action find
entity Dixon, John (d.1715) (DNB00)
relation author
type common name
{'OR': [['loi n° 2002-5 du 4 janvier 2002 relative aux musées de France', 'author', {'concept': 'common name'}], ['Dixon, John (d.1715) (DNB00)', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:loi_n°_2002-5_du_4_janvier_2002_relative_aux_musées_de_France property:author ?f } UNION { resource:Dixon,_John_(d.1715)_(DNB00) property:author ?f } } . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by atleast 11 people ?
(c(Q15619164),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 11
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?t ) WHERE { ?q rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q502895 . ?q property:P725 ?x } GROUP BY ?q } . FILTER ( ?t >= 11 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 11
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?t ) WHERE { ?q rdf:type ontology:abstract_being . ?x rdf:type ontology:common_name . ?q property:voice_actor ?x } GROUP BY ?q } . FILTER ( ?t >= 11 ) }
[]
common name abstract being
SYSTEM
2
Q5409355 Q20949674
(c(Q15619164),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 11
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?t ) WHERE { ?q rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q502895 . ?q property:P725 ?x } GROUP BY ?q } . FILTER ( ?t >= 11 ) }
Fluttershy General Pepper
2
action count
action atleast
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 11
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?t ) WHERE { ?q rdf:type ontology:abstract_being . ?x rdf:type ontology:common_name . ?q property:voice_actor ?x } GROUP BY ?q } . FILTER ( ?t >= 11 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q350604 Q198 Q350604
USER
Which armed conflicts are a component of approximately 1 armed conflicts and wars ?
(c(Q350604),P361,c(Q350604)|c(Q198))
action approx
action union
action find_tuple_counts
relation P361
type Q350604
type Q350604
action find_tuple_counts
relation P361
type Q350604
type Q198
value 1
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?x ) { ( ontology:Q350604 ) ( ontology:Q198 ) } . ?s rdf:type ?x } GROUP BY ?c } }
action approx
action union
action find_tuple_counts
relation part of
type armed conflict
type armed conflict
action find_tuple_counts
relation part of
type armed conflict
type war
value 1
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'war'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?x ) { ( ontology:armed_conflict ) ( ontology:war ) } . ?s rdf:type ?x } GROUP BY ?c } }
[]
armed conflict war armed conflict
Q154697 Q168442 Q1186260
SYSTEM
French and Indian War, Anglo-Spanish War (1625–1630), Creek War
Q5168559 Q184425 Q3778613 Q68969 Q154940 Q3778618 Q699511 Q5557072 Q190029 Q1968528 Q2259304 Q381375 Q430053 Q122100 Q18920712 Q976827 Q63863 Q4200795 Q17272643 Q260684 Q134949 Q617350 Q4065191 Q249232 Q1186260 Q2060306 Q550172 Q8740 Q21693680 Q181533 Q18586347 Q1418062 Q233663 Q553184 Q23403028 Q617070 Q2602070 Q3540197 Q170314 Q616846 Q1672808 Q690361 Q1362162 Q1355145 Q2471586 Q17324420 Q322607 Q3984895 Q1891008 Q559181 Q617782 Q2915510 Q4122579 Q1429256 Q233702 Q34103 Q5555632 Q189266 Q80330 Q372330 Q372338 Q83085 Q154697 Q5452958 Q431001 Q34145 Q207318 Q120843 Q4207617 Q6744162 Q168442 Q2075775 Q74109 Q329203 Q29269 Q524272 Q936803 Q21900262 Q49100 Q15542964
(c(Q350604),P361,c(Q350604)|c(Q198))
action approx
action union
action find_tuple_counts
relation P361
type Q350604
type Q350604
action find_tuple_counts
relation P361
type Q350604
type Q198
value 1
[ANSWERS] are a component of approximately 1 armed conflicts and wars
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?x ) { ( ontology:Q350604 ) ( ontology:Q198 ) } . ?s rdf:type ?x } GROUP BY ?c } }
Cophen Campaign Pacific War Caroline War Croatian War of Independence Lapland War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Ghost Dance War Kosovo War Operation Black Buck Hundred Years' War Nagorno-Karabakh War Great Sioux War of 1876 Continuation War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great spillover of the Syrian Civil War Alexander's Balkan campaign Winter War Third Anglo-Mysore War Anglo-Spanish War (1796–1808) War of the Third Coalition Creek War Red Cloud's War War of the Breton Succession Vietnam War conflict between Unitarians and Federalists in the Argentine Civil Wars Bosnian War First Soviet-Finnish War Fourth Syrian War (219–217 BCE) Second Anglo-Mysore War Gaza–Israel conflict Hīt offensive First Anglo-Mysore War Colorado War Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Irish Confederate Wars Long War First Carnatic War Italian War of 1494–1498 Pomeranian War 2014 Israel–Gaza conflict War of Attrition Third Messenian War Sand War First Silesian War Fourth Anglo-Mysore War 2009 Sudan airstrikes Arikara War War of the League of Cognac Second Silesian War Second Syrian War (260–253 BCE) First Messenian War Eastern Front English Civil War Fifth Syrian War (202–195 BCE) Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Spanish–Portuguese War Third Syrian War (246–241 BCE) French Revolutionary Wars Second Chechen War Balkan campaign of 1529 Mallian Campaign Anglo-Spanish War (1625–1630) Second Messenian War Albanian resistance during World War II First Boer War First Chechen War South-East Asian theatre of World War II First Syrian War (274–271 BCE) Bombing of Miskolc Yom Kippur War Italian War of 1542–46
French and Indian War, Anglo-Spanish War (1625–1630) and Creek War are a component of approximately 1 armed conflicts and wars
French and Indian War Anglo-Spanish War (1625–1630) Creek War
action approx
action union
action find_tuple_counts
relation part of
type armed conflict
type armed conflict
action find_tuple_counts
relation part of
type armed conflict
type war
value 1
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'war'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?x ) { ( ontology:armed_conflict ) ( ontology:war ) } . ?s rdf:type ?x } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q477973
P361
Q1190554 Q350604
USER
How many events are more number of armed conflicts a part of than Gothic War ?
(c(Q350604),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_type
action find
entity Q477973
relation P361
type Q1190554
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { FILTER ( ?l > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q1190554 . resource:Q477973 property:P361 ?x } } . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P361 ?o . ?j rdf:type ontology:Q350604 . ?o rdf:type ontology:Q1190554 } GROUP BY ?o } }
Gothic War
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_type
action find
entity Gothic War
relation part of
type event
[{'concept': 'armed conflict'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { FILTER ( ?l > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:event . resource:Gothic_War property:part_of ?x } } . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:part_of ?o . ?j rdf:type ontology:armed_conflict . ?o rdf:type ontology:event } GROUP BY ?o } }
[]
event armed conflict
SYSTEM
15
Q19870743 Q19362030 Q654006 Q2067876 Q78994 Q1514908 Q8669 Q51662 Q18817 Q789406 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q350604),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_type
action find
entity Q477973
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { FILTER ( ?l > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q1190554 . resource:Q477973 property:P361 ?x } } . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P361 ?o . ?j rdf:type ontology:Q350604 . ?o rdf:type ontology:Q1190554 } GROUP BY ?o } }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War Polish–Swedish War (1600-29) Napoleonic Wars Cuban War of Independence Arab–Israeli conflict Northern Crusades War of the First Coalition Balkans Campaign French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
15
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_type
action find
entity Gothic War
relation part of
type event
[{'concept': 'armed conflict'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { FILTER ( ?l > ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:event . resource:Gothic_War property:part_of ?x } } . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:part_of ?o . ?j rdf:type ontology:armed_conflict . ?o rdf:type ontology:event } GROUP BY ?o } }
[]