Simple Question (Direct)
Simple Question
Q21123068
P702
Q863908
USER
Which nucleic acid sequence encodes NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12 ?
(Q21123068,P702,c(Q863908))
action filter_type
action find
entity Q21123068
relation P702
type Q863908
['Q21123068', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?t WHERE { resource:Q21123068 property:P702 ?t . ?t rdf:type ontology:Q863908 }
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation encoded by
type nucleic acid sequence
['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?t WHERE { resource:NADH_dehydrogenase_[ubiquinone]_1_alpha_subcomplex_subunit_12 property:encoded_by ?t . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18042184
SYSTEM
NDUFA12
Q18042184
(Q21123068,P702,c(Q863908))
action filter_type
action find
entity Q21123068
relation P702
type Q863908
[ANSWER] encodes NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
['Q21123068', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?t WHERE { resource:Q21123068 property:P702 ?t . ?t rdf:type ontology:Q863908 }
NDUFA12
NDUFA12 encodes NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
NDUFA12
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation encoded by
type nucleic acid sequence
['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?t WHERE { resource:NADH_dehydrogenase_[ubiquinone]_1_alpha_subcomplex_subunit_12 property:encoded_by ?t . ?t rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21123068
P703
Q16521
USER
Where is that nutrient found ?
(Q18042184,P703,c(Q16521))
action filter_type
action find
entity Q21123068
relation P703
type Q16521
['Q18042184', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q21123068 property:P703 ?u . ?u rdf:type ontology:Q16521 }
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation found in taxon
type taxon
['NDUFA12', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:NADH_dehydrogenase_[ubiquinone]_1_alpha_subcomplex_subunit_12 property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18042184,P703,c(Q16521))
action filter_type
action find
entity Q21123068
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q18042184', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q21123068 property:P703 ?u . ?u rdf:type ontology:Q16521 }
Homo sapiens
That nutrient is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation found in taxon
type taxon
['NDUFA12', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:NADH_dehydrogenase_[ubiquinone]_1_alpha_subcomplex_subunit_12 property:found_in_taxon ?u . ?u rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q21123068
P681
Q15989253 Q5058355
USER
How many parts or cellular components are the cell components of NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12 ?
(Q21123068,P681,c(Q15989253)) (Q21123068,P681,c(Q5058355))
action count
action union
action filter_type
action find
entity Q21123068
relation P681
type Q15989253
action filter_type
action find
entity Q21123068
relation P681
type Q5058355
['Q21123068', 'P681', {'concept': 'Q15989253'}] ['Q21123068', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15989253 ) ( ontology:Q5058355 ) } }
NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
action count
action union
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation cell component
type part
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation cell component
type cellular component
['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12', 'cell component', {'concept': 'part'}] ['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:part ) ( ontology:cellular_component ) } }
[]
part cellular component
SYSTEM
3
Q14819352 Q39572 Q14349455
(Q21123068,P681,c(Q15989253)) (Q21123068,P681,c(Q5058355))
action count
action union
action filter_type
action find
entity Q21123068
relation P681
type Q15989253
action filter_type
action find
entity Q21123068
relation P681
type Q5058355
[ANSWER]
['Q21123068', 'P681', {'concept': 'Q15989253'}] ['Q21123068', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15989253 ) ( ontology:Q5058355 ) } }
respiratory chain mitochondrion membrane
3
action count
action union
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation cell component
type part
action filter_type
action find
entity NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12
relation cell component
type cellular component
['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12', 'cell component', {'concept': 'part'}] ['NADH dehydrogenase [ubiquinone] 1 alpha subcomplex subunit 12', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ?m . VALUES ( ?m ) { ( ontology:part ) ( ontology:cellular_component ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3548987
P180
Q16521 Q2342494
USER
How many collectables express less number of taxons than Un roi sans divertissement ?
(c(Q2342494),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q2342494
type Q16521
action count
action filter_type
action find
entity Q3548987
relation P180
type Q16521
[{'concept': 'Q2342494'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?t ) WHERE { ?g property:P180 ?p . ?g rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q16521 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q3548987 property:P180 ?i . ?i rdf:type ontology:Q16521 } } . FILTER ( ?t < ?v ) }
Un roi sans divertissement
action count
action less
action find_tuple_counts
relation depicts
type collectable
type taxon
action count
action filter_type
action find
entity Un roi sans divertissement
relation depicts
type taxon
[{'concept': 'collectable'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?t ) WHERE { ?g property:depicts ?p . ?g rdf:type ontology:collectable . ?p rdf:type ontology:taxon } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Un_roi_sans_divertissement property:depicts ?i . ?i rdf:type ontology:taxon } } . FILTER ( ?t < ?v ) }
[]
taxon collectable
SYSTEM
98
Q15058311 Q15060499 Q15054629 Q4749811 Q15060551 Q22697488 Q15054620 Q5376653 Q15054626 Q15054586 Q15054582 Q15055957 Q15055937 Q19816569 Q15060562 Q15054637 Q1768515 Q22677990 Q5902405 Q896376 Q22226848 Q15058168 Q15057085 Q7425001 Q21944812 Q492500 Q15054642 Q15055871 Q15055879 Q15060482 Q7745155 Q5226593 Q18043082 Q15057119 Q15060505 Q15060469 Q15058284 Q4209290 Q15055907 Q22679671 Q15055868 Q7042002 Q7741234 Q15060596 Q248618 Q15058296 Q18205780 Q977313 Q15055915 Q15054662 Q13416074 Q15055854 Q15058190 Q24004747 Q22815168 Q7776629 Q6090032 Q11325605 Q19816697 Q15065792 Q15054571 Q1200564 Q1213763 Q20991329 Q15055921 Q688996 Q746583 Q15056953 Q4209331 Q15054569 Q15054563 Q15054681 Q22054790 Q5599906 Q15060532 Q7993144 Q3150967 Q14868839 Q22284289 Q338034 Q4209324 Q5480936 Q15054649 Q19101874 Q4840743 Q686208 Q4658447 Q15060543 Q15058155 Q15060548 Q15054614 Q15054618 Q19816534 Q3040363 Q19816576 Q19816573 Q4209319 Q4209312
(c(Q2342494),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q2342494
type Q16521
action count
action filter_type
action find
entity Q3548987
relation P180
type Q16521
[ANSWER]
[{'concept': 'Q2342494'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?t ) WHERE { ?g property:P180 ?p . ?g rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q16521 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q3548987 property:P180 ?i . ?i rdf:type ontology:Q16521 } } . FILTER ( ?t < ?v ) }
Dangerous Liaison Sowing the Wind The World War II Tank Guide An Army at Dawn: The War in North Africa 1942–1943 Rommel's Afrika Korps Les quatre premiers livres des navigations et pérégrinations orientales Spirits in the Sky Endurance: Shackleton's Incredible Voyage Sea Forces of the World Sun Tzu's Art Of War Fleets of World War II Classic Military Biplanes US Air Force Air Power Directory Benjamin Franklin Desert Rats Flying Legends The Voyage of the Beagle The heart of the Antarctic Hortus Bogoriensis Descriptus Cassandra Relatione del reame del Congo Rand McNally Encyclopedia of Military Aircraft Dictionary of Weapons & Military Terms Sasana Vamsa An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales, in His Majesty's Ship Calcutta, in the years 1802-3-4 The Aquariums of Pyongyang Jane's American Fighting Aircraft of the 20th Century Lockheed F-117 Nighthawk Stealth Fighter USAAF fighters of World War Two in action The Day of Battle The Lady Tasting Tea The Technicolor Time Machine Geometria et perspectiva Brassey's Infantry Weapons of the World 1950-1975 A Quick & Dirty Guide to War Weapons of Mass Destruction The Map Catalog Australian twenty-dollar note Panther & Its Variants Itinerario de Ludovico de Verthema Bolognese Israel Air Force Nixon invert The IQ Controversy, the Media and Public Policy US Army Infantry Divisions 1942-43 Zurich 4 and 6 Air Force Combat Units of World War II Description of Africa Mauritius Post Office stamps American Warplanes of World War II Airliners of the World The Sung Dynasty and its Precursors, 907–1279, Part 1 The Encyclopedia of British Military Aircraft World Military Aviation Universal Responsibility and the Good Heart Eine Frau fährt um die Welt The Years of Lyndon Johnson It's Even Worse Than It Looks Noa Noa Washington Stamp World War II Order of Battle The Art of War, the New Translation Description de l'Égypte The Selected Works of T.S. Spivet Le Carceri d'Invenzione US Navy & Marine Corps Air Power Directory Double Geneva Histories Encyclopedia of Modern U. S. Military Weapons Australian five-dollar note US Marine Corps Pacific Theater of Operations 1941-43 US Marine Corps Pacific Theater of Operations 1944-45 The Encyclopedia of Modern Military Weapons Los Mercaderes Great Salad Oil Swindle US Airborne Units in the Mediterranean Theater 1942-44 Where's the Birth Certificate? Ingrid Caven Winsor McCay: His Life and Art Choix des plus belles fleurs et de quelques branches des plus beaux fruits Le Ventre de Paris Australian one hundred-dollar note Observaciones (Pierre Belon) Armed Forces of the World The Voyage of Governor Phillip to Botany Bay Baden-Powell Audrey Hepburn A Natural History of Rape US Airborne Divisions in the ETO 1944-45 Chronicle of Aviation US Armored Divisions General Dynamics F-16 Fighting Falcon Chronicle of 20th Century Conflict Red Rose Du dandysme et de George Brummell Franklin Stamp Washington Stamp Australian fifty-dollar note Australian ten-dollar note
98
action count
action less
action find_tuple_counts
relation depicts
type collectable
type taxon
action count
action filter_type
action find
entity Un roi sans divertissement
relation depicts
type taxon
[{'concept': 'collectable'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?t ) WHERE { ?g property:depicts ?p . ?g rdf:type ontology:collectable . ?p rdf:type ontology:taxon } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Un_roi_sans_divertissement property:depicts ?i . ?i rdf:type ontology:taxon } } . FILTER ( ?t < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q688971
P180
Q16521 Q2342494
USER
And how about Basel Dove?
(c(Q2342494),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q2342494
type Q16521
action count
action filter_type
action find
entity Q688971
relation P180
type Q16521
[{'concept': 'Q2342494'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?v ) WHERE { ?w property:P180 ?r . ?w rdf:type ontology:Q2342494 . ?r rdf:type ontology:Q16521 } GROUP BY ?w } . FILTER ( ?v < ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q688971 property:P180 ?o . ?o rdf:type ontology:Q16521 } } }
Basel Dove
action count
action less
action find_tuple_counts
relation depicts
type collectable
type taxon
action count
action filter_type
action find
entity Basel Dove
relation depicts
type taxon
[{'concept': 'collectable'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?v ) WHERE { ?w property:depicts ?r . ?w rdf:type ontology:collectable . ?r rdf:type ontology:taxon } GROUP BY ?w } . FILTER ( ?v < ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Basel_Dove property:depicts ?o . ?o rdf:type ontology:taxon } } }
[]
taxon collectable
SYSTEM
98
Q15058311 Q15060499 Q15054629 Q4749811 Q15060551 Q22697488 Q15054620 Q5376653 Q15054626 Q15054586 Q15054582 Q15055957 Q15055937 Q19816569 Q15060562 Q15054637 Q1768515 Q22677990 Q5902405 Q896376 Q22226848 Q15058168 Q15057085 Q7425001 Q21944812 Q492500 Q15054642 Q15055871 Q15055879 Q15060482 Q7745155 Q5226593 Q18043082 Q15057119 Q15060505 Q15060469 Q15058284 Q4209290 Q15055907 Q22679671 Q15055868 Q7042002 Q7741234 Q15060596 Q248618 Q15058296 Q18205780 Q977313 Q15055915 Q15054662 Q13416074 Q15055854 Q15058190 Q24004747 Q22815168 Q7776629 Q6090032 Q11325605 Q19816697 Q15065792 Q15054571 Q1200564 Q1213763 Q20991329 Q15055921 Q688996 Q746583 Q15056953 Q4209331 Q15054569 Q15054563 Q15054681 Q22054790 Q5599906 Q15060532 Q7993144 Q3150967 Q14868839 Q22284289 Q338034 Q4209324 Q5480936 Q15054649 Q19101874 Q4840743 Q686208 Q4658447 Q15060543 Q15058155 Q15060548 Q15054614 Q15054618 Q19816534 Q3040363 Q19816576 Q19816573 Q4209319 Q4209312
(c(Q2342494),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q2342494
type Q16521
action count
action filter_type
action find
entity Q688971
relation P180
type Q16521
[ANSWER]
[{'concept': 'Q2342494'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?v ) WHERE { ?w property:P180 ?r . ?w rdf:type ontology:Q2342494 . ?r rdf:type ontology:Q16521 } GROUP BY ?w } . FILTER ( ?v < ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q688971 property:P180 ?o . ?o rdf:type ontology:Q16521 } } }
Dangerous Liaison Sowing the Wind The World War II Tank Guide An Army at Dawn: The War in North Africa 1942–1943 Rommel's Afrika Korps Les quatre premiers livres des navigations et pérégrinations orientales Spirits in the Sky Endurance: Shackleton's Incredible Voyage Sea Forces of the World Sun Tzu's Art Of War Fleets of World War II Classic Military Biplanes US Air Force Air Power Directory Benjamin Franklin Desert Rats Flying Legends The Voyage of the Beagle The heart of the Antarctic Hortus Bogoriensis Descriptus Cassandra Relatione del reame del Congo Rand McNally Encyclopedia of Military Aircraft Dictionary of Weapons & Military Terms Sasana Vamsa An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales, in His Majesty's Ship Calcutta, in the years 1802-3-4 The Aquariums of Pyongyang Jane's American Fighting Aircraft of the 20th Century Lockheed F-117 Nighthawk Stealth Fighter USAAF fighters of World War Two in action The Day of Battle The Lady Tasting Tea The Technicolor Time Machine Geometria et perspectiva Brassey's Infantry Weapons of the World 1950-1975 A Quick & Dirty Guide to War Weapons of Mass Destruction The Map Catalog Australian twenty-dollar note Panther & Its Variants Itinerario de Ludovico de Verthema Bolognese Israel Air Force Nixon invert The IQ Controversy, the Media and Public Policy US Army Infantry Divisions 1942-43 Zurich 4 and 6 Air Force Combat Units of World War II Description of Africa Mauritius Post Office stamps American Warplanes of World War II Airliners of the World The Sung Dynasty and its Precursors, 907–1279, Part 1 The Encyclopedia of British Military Aircraft World Military Aviation Universal Responsibility and the Good Heart Eine Frau fährt um die Welt The Years of Lyndon Johnson It's Even Worse Than It Looks Noa Noa Washington Stamp World War II Order of Battle The Art of War, the New Translation Description de l'Égypte The Selected Works of T.S. Spivet Le Carceri d'Invenzione US Navy & Marine Corps Air Power Directory Double Geneva Histories Encyclopedia of Modern U. S. Military Weapons Australian five-dollar note US Marine Corps Pacific Theater of Operations 1941-43 US Marine Corps Pacific Theater of Operations 1944-45 The Encyclopedia of Modern Military Weapons Los Mercaderes Great Salad Oil Swindle US Airborne Units in the Mediterranean Theater 1942-44 Where's the Birth Certificate? Ingrid Caven Winsor McCay: His Life and Art Choix des plus belles fleurs et de quelques branches des plus beaux fruits Le Ventre de Paris Australian one hundred-dollar note Observaciones (Pierre Belon) Armed Forces of the World The Voyage of Governor Phillip to Botany Bay Baden-Powell Audrey Hepburn A Natural History of Rape US Airborne Divisions in the ETO 1944-45 Chronicle of Aviation US Armored Divisions General Dynamics F-16 Fighting Falcon Chronicle of 20th Century Conflict Red Rose Du dandysme et de George Brummell Franklin Stamp Washington Stamp Australian fifty-dollar note Australian ten-dollar note
98
action count
action less
action find_tuple_counts
relation depicts
type collectable
type taxon
action count
action filter_type
action find
entity Basel Dove
relation depicts
type taxon
[{'concept': 'collectable'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?v ) WHERE { ?w property:depicts ?r . ?w rdf:type ontology:collectable . ?r rdf:type ontology:taxon } GROUP BY ?w } . FILTER ( ?v < ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Basel_Dove property:depicts ?o . ?o rdf:type ontology:taxon } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P566
Q82799 Q16521
USER
Which names are a basionyms of max number of taxons ?
(c(Q16521),P566,Q24006173)
action argmax
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
[{'concept': 'Q16521'}, 'P566', 'Q24006173']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P566 ?z . ?z rdf:type ontology:Q82799 . ?a rdf:type ontology:Q16521 } GROUP BY ?z } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P566 ?o . ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q16521 } GROUP BY ?o } . FILTER ( ?j = ?c ) }
action argmax
action find_reverse_tuple_counts
relation basionym
type name
type taxon
[{'concept': 'taxon'}, 'basionym', 'Convolvulus corymbosus']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:basionym ?z . ?z rdf:type ontology:name . ?a rdf:type ontology:taxon } GROUP BY ?z } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:basionym ?o . ?o rdf:type ontology:name . ?r rdf:type ontology:taxon } GROUP BY ?o } . FILTER ( ?j = ?c ) }
[]
name taxon
Q11079289 Q17244388
SYSTEM
Salsola brachiata, Atriplex portulacoides
Q11079289 Q17244388
(c(Q16521),P566,Q24006173)
action argmax
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
[ANSWERS] are a basionyms of max number of taxons
[{'concept': 'Q16521'}, 'P566', 'Q24006173']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P566 ?z . ?z rdf:type ontology:Q82799 . ?a rdf:type ontology:Q16521 } GROUP BY ?z } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P566 ?o . ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q16521 } GROUP BY ?o } . FILTER ( ?j = ?c ) }
Salsola brachiata Atriplex portulacoides
Salsola brachiata and Atriplex portulacoides are a basionyms of max number of taxons
Salsola brachiata Atriplex portulacoides
action argmax
action find_reverse_tuple_counts
relation basionym
type name
type taxon
[{'concept': 'taxon'}, 'basionym', 'Convolvulus corymbosus']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:basionym ?z . ?z rdf:type ontology:name . ?a rdf:type ontology:taxon } GROUP BY ?z } } . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:basionym ?o . ?o rdf:type ontology:name . ?r rdf:type ontology:taxon } GROUP BY ?o } . FILTER ( ?j = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q27436303
P361
Q8436 Q853614 Q82799
USER
Which names are a component of lesser number of families and identifiers than Gisbert ?
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q27436303
relation P361
type Q8436
type Q853614
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?y ) WHERE { { ?x property:P361 ?e . ?x rdf:type ontology:Q82799 . ?e rdf:type ontology:Q853614 } UNION { ?x property:P361 ?e . ?x rdf:type ontology:Q82799 . ?e rdf:type ontology:Q8436 } } GROUP BY ?x } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { { ?j rdf:type ontology:Q8436 } UNION { ?j rdf:type ontology:Q853614 } } . resource:Q27436303 property:P361 ?j } } }
Gisbert
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Gisbert
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?y ) WHERE { { ?x property:part_of ?e . ?x rdf:type ontology:name . ?e rdf:type ontology:identifier } UNION { ?x property:part_of ?e . ?x rdf:type ontology:name . ?e rdf:type ontology:family } } GROUP BY ?x } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { { ?j rdf:type ontology:family } UNION { ?j rdf:type ontology:identifier } } . resource:Gisbert property:part_of ?j } } }
[]
family identifier name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q16882305 Q1240901 Q24251030 Q1093580 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q382004 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q27436303
relation P361
type Q8436
type Q853614
[ANSWERS] are a component of lesser number of families and identifiers than Gisbert
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?y ) WHERE { { ?x property:P361 ?e . ?x rdf:type ontology:Q82799 . ?e rdf:type ontology:Q853614 } UNION { ?x property:P361 ?e . ?x rdf:type ontology:Q82799 . ?e rdf:type ontology:Q8436 } } GROUP BY ?x } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { { ?j rdf:type ontology:Q8436 } UNION { ?j rdf:type ontology:Q853614 } } . resource:Q27436303 property:P361 ?j } } }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Rostopchin praenomen Barnaby Han surname Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Afa-Negus Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
Hakham, Seon and Sang are a component of lesser number of families and identifiers than Gisbert
hakham Seon Sang
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Gisbert
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?y ) WHERE { { ?x property:part_of ?e . ?x rdf:type ontology:name . ?e rdf:type ontology:identifier } UNION { ?x property:part_of ?e . ?x rdf:type ontology:name . ?e rdf:type ontology:family } } GROUP BY ?x } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { { ?j rdf:type ontology:family } UNION { ?j rdf:type ontology:identifier } } . resource:Gisbert property:part_of ?j } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q23640302
P361
Q8436 Q853614 Q82799
USER
And how about Britt?
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q23640302
relation P361
type Q8436
type Q853614
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { { ?t rdf:type ontology:Q853614 . ?h rdf:type ontology:Q82799 . ?h property:P361 ?t } UNION { ?h property:P361 ?t . ?h rdf:type ontology:Q82799 . ?t rdf:type ontology:Q8436 } } GROUP BY ?h } . FILTER ( ?c < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q23640302 property:P361 ?f . { { ?f rdf:type ontology:Q8436 } UNION { ?f rdf:type ontology:Q853614 } } } } }
Britt
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Britt
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { { ?t rdf:type ontology:identifier . ?h rdf:type ontology:name . ?h property:part_of ?t } UNION { ?h property:part_of ?t . ?h rdf:type ontology:name . ?t rdf:type ontology:family } } GROUP BY ?h } . FILTER ( ?c < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Britt property:part_of ?f . { { ?f rdf:type ontology:family } UNION { ?f rdf:type ontology:identifier } } } } }
[]
family identifier name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q16882305 Q1240901 Q24251030 Q1093580 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q382004 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q23640302
relation P361
type Q8436
type Q853614
[ANSWERS]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { { ?t rdf:type ontology:Q853614 . ?h rdf:type ontology:Q82799 . ?h property:P361 ?t } UNION { ?h property:P361 ?t . ?h rdf:type ontology:Q82799 . ?t rdf:type ontology:Q8436 } } GROUP BY ?h } . FILTER ( ?c < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q23640302 property:P361 ?f . { { ?f rdf:type ontology:Q8436 } UNION { ?f rdf:type ontology:Q853614 } } } } }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Rostopchin praenomen Barnaby Han surname Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Afa-Negus Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
hakham Seon Sang
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Britt
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { { ?t rdf:type ontology:identifier . ?h rdf:type ontology:name . ?h property:part_of ?t } UNION { ?h property:part_of ?t . ?h rdf:type ontology:name . ?t rdf:type ontology:family } } GROUP BY ?h } . FILTER ( ?c < ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Britt property:part_of ?f . { { ?f rdf:type ontology:family } UNION { ?f rdf:type ontology:identifier } } } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q9332 Q82799
USER
How many names are a part of less number of behaviors than that name ?
(c(Q82799),P361,c(Q9332))
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 }
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:behavior }
[]
behavior name
Comparative|Count over More/Less|Single entity type|Clarification
Q1058384
SYSTEM
Did you mean hakham ?
(c(Q82799),P361,c(Q9332))
[ANSWER]
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 }
Did you mean hakham ?
hakham
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:behavior }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Sang. Could you tell me the answer for that?
(c(Q82799),P361,c(Q9332))
Q27350540
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
[]
SYSTEM
318
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q2168099 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q5791319 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q11283653 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q26156283 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q1058384 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q7071783 Q27037165 Q15629245 Q21498452 Q27037169 Q235598 Q1513700 Q18515515 Q18808411 Q21492574 Q16882305 Q1240901 Q19688789 Q24251030 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q1093580 Q742083 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q10145967 Q16161715 Q11878943 Q21506948 Q252216 Q2547055 Q21492983 Q21584287 Q272914 Q23039002 Q27037119 Q19944848 Q2553935 Q18645909 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q15238609 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q25695405 Q20900701 Q24091156 Q26986281 Q26235096 Q26944932 Q20875974 Q15897047 Q27450778 Q3281200 Q27229561 Q26944931 Q23640302 Q26266311 Q3372303 Q10587130 Q17165817 Q15926381 Q26736729 Q21450395 Q19687637 Q27357173 Q27356099 Q1247793 Q21470412 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q21534988 Q21405537 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q26266310 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q12624980 Q1707301 Q26822099 Q2876425 Q27229572 Q24573284 Q27251921 Q5 Q631147 Q26868860 Q27651154 Q20003434 Q26736681 Q27352651 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q15788891 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q4400681 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q12600404 Q19998957 Q17505763 Q18552178 Q21484879 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q24090418 Q26742856 Q26986918 Q1703599 Q19961051 Q12601635 Q5461714 Q27350540 Q12020943 Q1399288 Q12188082 Q20010325 Q26235099 Q23578592 Q2491016 Q1557998 Q27133109 Q19831835 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q27450724 Q15813147 Q15711050 Q12784475 Q26736416 Q21431135 Q26772911 Q21484692 Q26736415 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q26741038 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q1915243 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q263542 Q3701009 Q21484521 Q21484914 Q4835658 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q20064977 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q21538548 Q5034376 Q27131901 Q26741034 Q19582298 Q19688887 Q27450824 Q26220628 Q861966 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q9332))
[ANSWER]
[{'concept': 'Q82799'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie human Rotavirusses Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Tajinaste Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Czech family name Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Whittingstall Hewitt Guibert Matsuo Anania Regan hakham Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle O'Donovan family Abner lizard Kelso Hersey Piso Gerlach Albano Egerton Loui Rostopchin praenomen Achim Barnaby Rowan Sami Yoshihara Han Han Aubrey Han surname Princes of Paliano Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Grand Master of the Teutonic Knights Albin Urban Izumi Árnadóttir Walther Regan Jabez Çubukçubaşı Marshall Melvyn Eraydın Wedekind Abe Redouane Parvin Neil Davern Şentürk Malick Inal Savva nomen Durmuş Fedde Falk Elias Chadi Curtis Nolan Abe Seyfi Lillie Apple Ševela Percy Shigematsu Tent caterpillar Köken Apple Britt Trimnell Mai Moa Warren He Olumide Hillis Rahim Cave Frenk Kinnon Tyrell Eden Rickard Herschel Joby Raimond Yaşar Edward Savin Loudon Mateja Sweeney Florenz Asiedu Robison Ritchard Mordaunt Mynors Prentice Man Blue Joby Hyeon Tyler Ademola Aïssata Aydın Laverne Lamont human infraspecific name Cale Gottlieb Marielle Veit Seon Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Blake Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Russian surname Stuart Hisataka Calvert Barry Máté Hester Sang Paltiel Virgil Alonso Salman Golden Courtney Michel Han Amin Minami Leonard Germann Hara Fabiano Sabra Jordan Izumi Seon Florida black bass Sang Hunter Fearnley James Ganna Lillie Aynsley orthographical variant Gyalwang Drukpa Arnell Qutb Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Freundel Bas Lu Amos Roveda Gill Abbas Neilson Roveda Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Patti Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian McKeown Simon Aynsley Ripley Hester Miwa Griffith Dale Romaine Clay BIFF Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Dong Hamilton Cushman Keill Moumouni magi Biff Caomhánach Tokiwa Patti Melville Tone Savea Arian dung beetles Dale Brady Maury Akpan
318
[{'concept': 'name'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:behavior }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q874405 Q8436 Q82799
USER
Which names are a component of max number of social groups and families ?
(c(Q82799),P361,c(Q874405)|c(Q8436))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q8436 ) } . ?g rdf:type ?n } GROUP BY ?r } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?w ) WHERE { { ?p rdf:type ontology:Q874405 . ?x rdf:type ontology:Q82799 . ?x property:P361 ?p } UNION { ?x property:P361 ?p . ?x rdf:type ontology:Q82799 . ?p rdf:type ontology:Q8436 } } GROUP BY ?x } . FILTER ( ?w = ?i ) }
action argmax
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:family ) } . ?g rdf:type ?n } GROUP BY ?r } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?w ) WHERE { { ?p rdf:type ontology:social_group . ?x rdf:type ontology:name . ?x property:part_of ?p } UNION { ?x property:part_of ?p . ?x rdf:type ontology:name . ?p rdf:type ontology:family } } GROUP BY ?x } . FILTER ( ?w = ?i ) }
[]
social group family name
Q235598 Q742083 Q1557998
SYSTEM
Piso, Princes of Paliano, Gyalwang Drukpa
Q235598 Q742083 Q1557998
(c(Q82799),P361,c(Q874405)|c(Q8436))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
[ANSWERS] are a component of max number of social groups and families
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q8436 ) } . ?g rdf:type ?n } GROUP BY ?r } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?w ) WHERE { { ?p rdf:type ontology:Q874405 . ?x rdf:type ontology:Q82799 . ?x property:P361 ?p } UNION { ?x property:P361 ?p . ?x rdf:type ontology:Q82799 . ?p rdf:type ontology:Q8436 } } GROUP BY ?x } . FILTER ( ?w = ?i ) }
Piso Princes of Paliano Gyalwang Drukpa
Piso, Princes of Paliano and Gyalwang Drukpa are a component of max number of social groups and families
Piso Princes of Paliano Gyalwang Drukpa
action argmax
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:family ) } . ?g rdf:type ?n } GROUP BY ?r } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?w ) WHERE { { ?p rdf:type ontology:social_group . ?x rdf:type ontology:name . ?x property:part_of ?p } UNION { ?x property:part_of ?p . ?x rdf:type ontology:name . ?p rdf:type ontology:family } } GROUP BY ?x } . FILTER ( ?w = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16428618
P138
Q56061 Q12737077 Q82799
USER
Which names have greater number of administrative territories or occupations as their toponym than Súla ?
(c(Q82799),P138,c(Q56061)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q56061
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q16428618
relation P138
type Q56061
type Q12737077
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?l ) WHERE { { ?x property:P138 ?v . ?x rdf:type ontology:Q82799 . ?v rdf:type ontology:Q56061 } UNION { ?x property:P138 ?v . ?x rdf:type ontology:Q82799 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q16428618 property:P138 ?s . { { ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q12737077 } } } } . FILTER ( ?l > ?g ) }
Súla
action greater
action union
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Súla
relation named after
type administrative territorial entity
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?l ) WHERE { { ?x property:named_after ?v . ?x rdf:type ontology:name . ?v rdf:type ontology:administrative_territorial_entity } UNION { ?x property:named_after ?v . ?x rdf:type ontology:name . ?v rdf:type ontology:occupation } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Súla property:named_after ?s . { { ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:occupation } } } } . FILTER ( ?l > ?g ) }
[]
administrative territorial entity occupation name
Q1158446 Q1158882 Q11231408
SYSTEM
Smith, Fisher, Fischer
Q23688105 Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q15785531 Q5352294 Q813701 Q23783070 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q16860286 Q16865812 Q1755217 Q22922124 Q24689291 Q16877784 Q16148136 Q19899706
(c(Q82799),P138,c(Q56061)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q56061
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q16428618
relation P138
type Q56061
type Q12737077
[ANSWERS] have greater number of administrative territories or occupations as their toponym than Súla
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?l ) WHERE { { ?x property:P138 ?v . ?x rdf:type ontology:Q82799 . ?v rdf:type ontology:Q56061 } UNION { ?x property:P138 ?v . ?x rdf:type ontology:Q82799 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q16428618 property:P138 ?s . { { ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q12737077 } } } } . FILTER ( ?l > ?g ) }
de Bragança Bouvier Draper Smith Fisher Fischer Saunier Barber Fisichella Becker Potier Mercier Boulanger Métivier Berger Bergmann MacGowan Boucher Couture Magowan von Mecklenburg-Schwerin Vigneron Napoli Archer Sawyer
Smith, Fisher and Fischer have greater number of administrative territories or occupations as their toponym than Súla
Smith Fisher Fischer
action greater
action union
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Súla
relation named after
type administrative territorial entity
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?l ) WHERE { { ?x property:named_after ?v . ?x rdf:type ontology:name . ?v rdf:type ontology:administrative_territorial_entity } UNION { ?x property:named_after ?v . ?x rdf:type ontology:name . ?v rdf:type ontology:occupation } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Súla property:named_after ?s . { { ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:occupation } } } } . FILTER ( ?l > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q21506697
P138
Q56061 Q12737077 Q82799
USER
And what about Lenormand?
(c(Q82799),P138,c(Q56061)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q56061
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q21506697
relation P138
type Q56061
type Q12737077
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?o WHERE { { ?o property:P138 ?t . ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q12737077 } UNION { ?o property:P138 ?t . ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q56061 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q21506697 property:P138 ?l . { { ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q12737077 } } } } . FILTER ( ?r > ?a ) }
Lenormand
action greater
action union
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Lenormand
relation named after
type administrative territorial entity
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?o WHERE { { ?o property:named_after ?t . ?o rdf:type ontology:name . ?t rdf:type ontology:occupation } UNION { ?o property:named_after ?t . ?o rdf:type ontology:name . ?t rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Lenormand property:named_after ?l . { { ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:occupation } } } } . FILTER ( ?r > ?a ) }
[]
administrative territorial entity occupation name
Q1158446 Q1158882 Q11231408
SYSTEM
Smith, Fisher, Fischer
Q23688105 Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q15785531 Q5352294 Q813701 Q23783070 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q16860286 Q16865812 Q1755217 Q22922124 Q24689291 Q16877784 Q16148136 Q19899706
(c(Q82799),P138,c(Q56061)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q56061
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q21506697
relation P138
type Q56061
type Q12737077
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?o WHERE { { ?o property:P138 ?t . ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q12737077 } UNION { ?o property:P138 ?t . ?o rdf:type ontology:Q82799 . ?t rdf:type ontology:Q56061 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q21506697 property:P138 ?l . { { ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q12737077 } } } } . FILTER ( ?r > ?a ) }
de Bragança Bouvier Draper Smith Fisher Fischer Saunier Barber Fisichella Becker Potier Mercier Boulanger Métivier Berger Bergmann MacGowan Boucher Couture Magowan von Mecklenburg-Schwerin Vigneron Napoli Archer Sawyer
Smith Fisher Fischer
action greater
action union
action find_tuple_counts
relation named after
type name
type administrative territorial entity
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Lenormand
relation named after
type administrative territorial entity
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?o WHERE { { ?o property:named_after ?t . ?o rdf:type ontology:name . ?t rdf:type ontology:occupation } UNION { ?o property:named_after ?t . ?o rdf:type ontology:name . ?t rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Lenormand property:named_after ?l . { { ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:occupation } } } } . FILTER ( ?r > ?a ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1158446 Q1158882 Q11231408
P138
Q12737077
USER
Which occupations are the etymology of Smith, Fisher and Fischer ?
(Q1158446,P138,c(Q12737077)) (Q1158882,P138,c(Q12737077)) (Q11231408,P138,c(Q12737077))
action union
action filter_type
action find
entity Q1158446
relation P138
type Q12737077
action filter_type
action find
entity Q1158882
relation P138
type Q12737077
action filter_type
action find
entity Q11231408
relation P138
type Q12737077
['Q1158446', 'P138', {'concept': 'Q12737077'}] ['Q1158882', 'P138', {'concept': 'Q12737077'}] ['Q11231408', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { resource:Q1158446 property:P138 ?a . ?a rdf:type ontology:Q12737077 } UNION { resource:Q1158882 property:P138 ?a . ?a rdf:type ontology:Q12737077 } }
Smith Fisher Fischer
action union
action filter_type
action find
entity Smith
relation named after
type occupation
action filter_type
action find
entity Fisher
relation named after
type occupation
action filter_type
action find
entity Fischer
relation named after
type occupation
['Smith', 'named after', {'concept': 'occupation'}] ['Fisher', 'named after', {'concept': 'occupation'}] ['Fischer', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { resource:Smith property:named_after ?a . ?a rdf:type ontology:occupation } UNION { resource:Fisher property:named_after ?a . ?a rdf:type ontology:occupation } }
[]
occupation
Q1639825 Q331432 Q331432
SYSTEM
fisherman for 2nd, 3rd, blacksmith for 1st
Q1639825 Q331432 Q331432
(Q1158446,P138,c(Q12737077)) (Q1158882,P138,c(Q12737077)) (Q11231408,P138,c(Q12737077))
action union
action filter_type
action find
entity Q1158446
relation P138
type Q12737077
action filter_type
action find
entity Q1158882
relation P138
type Q12737077
action filter_type
action find
entity Q11231408
relation P138
type Q12737077
[ANSWERS]
['Q1158446', 'P138', {'concept': 'Q12737077'}] ['Q1158882', 'P138', {'concept': 'Q12737077'}] ['Q11231408', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { resource:Q1158446 property:P138 ?a . ?a rdf:type ontology:Q12737077 } UNION { resource:Q1158882 property:P138 ?a . ?a rdf:type ontology:Q12737077 } }
blacksmith fisherman fisherman
Blacksmith, fisherman and fisherman are the etymology of Smith, Fisher and Fischer
blacksmith fisherman fisherman
action union
action filter_type
action find
entity Smith
relation named after
type occupation
action filter_type
action find
entity Fisher
relation named after
type occupation
action filter_type
action find
entity Fischer
relation named after
type occupation
['Smith', 'named after', {'concept': 'occupation'}] ['Fisher', 'named after', {'concept': 'occupation'}] ['Fischer', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { resource:Smith property:named_after ?a . ?a rdf:type ontology:occupation } UNION { resource:Fisher property:named_after ?a . ?a rdf:type ontology:occupation } }
[]