Simple Question (Direct)
Simple Question
Q569615
P735
Q82799
USER
What is the firstname of Anselm, Duke of Friuli ?
(Q569615,P735,c(Q82799))
action filter_type
action find
entity Q569615
relation P735
type Q82799
['Q569615', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q569615 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Anselm, Duke of Friuli
action filter_type
action find
entity Anselm, Duke of Friuli
relation given name
type name
['Anselm, Duke of Friuli', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Anselm,_Duke_of_Friuli property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q2857900
SYSTEM
Anzelm
Q2857900
(Q569615,P735,c(Q82799))
action filter_type
action find
entity Q569615
relation P735
type Q82799
[ANSWER]
['Q569615', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q569615 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Anzelm
Anzelm
action filter_type
action find
entity Anselm, Duke of Friuli
relation given name
type name
['Anselm, Duke of Friuli', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Anselm,_Duke_of_Friuli property:given_name ?j . ?j rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10431249 Q569615
P20 P17
Q15617994
USER
Which administrative territories are the places of death of Anselm, Duke of Friuli or are Blekingetrafiken present in ?
OR((Q569615,P20,c(Q15617994)), (Q10431249,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q569615
relation P20
action find
entity Q10431249
relation P17
type Q15617994
{'OR': [['Q569615', 'P20', {'concept': 'Q15617994'}], ['Q10431249', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q569615 property:P20 ?i } UNION { resource:Q10431249 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Blekingetrafiken Anselm, Duke of Friuli
action filter_type
action union
action find
entity Anselm, Duke of Friuli
relation place of death
action find
entity Blekingetrafiken
relation country
type designation for an administrative territorial entity
{'OR': [['Anselm, Duke of Friuli', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Blekingetrafiken', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Anselm,_Duke_of_Friuli property:place_of_death ?i } UNION { resource:Blekingetrafiken property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q100080 Q34
SYSTEM
Nonantola, Sweden
Q100080 Q34
OR((Q569615,P20,c(Q15617994)), (Q10431249,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q569615
relation P20
action find
entity Q10431249
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q569615', 'P20', {'concept': 'Q15617994'}], ['Q10431249', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q569615 property:P20 ?i } UNION { resource:Q10431249 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Nonantola Sweden
Nonantola Sweden
action filter_type
action union
action find
entity Anselm, Duke of Friuli
relation place of death
action find
entity Blekingetrafiken
relation country
type designation for an administrative territorial entity
{'OR': [['Anselm, Duke of Friuli', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Blekingetrafiken', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Anselm,_Duke_of_Friuli property:place_of_death ?i } UNION { resource:Blekingetrafiken property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q100080 Q34
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(Q100080,P47,c(Q15617994)) (Q34,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q100080', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?e property:P47 ?s . ?s rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q100080 ) ( resource:Q34 ) } }
Nonantola Sweden
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Nonantola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?e property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Nonantola ) ( resource:Sweden ) } }
[]
designation for an administrative territorial entity
Q20 Q33 Q100043
SYSTEM
Norway, Finland, Castelfranco Emilia
Q100089 Q100043 Q94801 Q94996 Q100038 Q33 Q20
(Q100080,P47,c(Q15617994)) (Q34,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
['Q100080', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?e property:P47 ?s . ?s rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q100080 ) ( resource:Q34 ) } }
Ravarino Castelfranco Emilia Crevalcore Sant'Agata Bolognese Bomporto Finland Norway
Norway Finland Castelfranco Emilia
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Nonantola', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?e property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Nonantola ) ( resource:Sweden ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20
P740
Q2088357
USER
What are the musical ensembles that were formed at that administrative territory ?
(c(Q2088357),P740,Q20)
action filter_type
action find_reverse
entity Q20
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q20']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q20 . ?v rdf:type ontology:Q2088357 }
Norway
action filter_type
action find_reverse
entity Norway
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Norway']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Norway . ?v rdf:type ontology:musical_ensemble }
[]
musical ensemble
Clarification for simple ques.
Q20
SYSTEM
Did you mean Norway ?
Q20 Q33 Q100043
(c(Q2088357),P740,Q20) (c(Q2088357),P740,Q33) (c(Q2088357),P740,Q100043)
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q20'] [{'concept': 'Q2088357'}, 'P740', 'Q33'] [{'concept': 'Q2088357'}, 'P740', 'Q100043']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q20 . ?v rdf:type ontology:Q2088357 }
Norway Finland Castelfranco Emilia
Did you mean Norway ?
Norway
[{'concept': 'musical ensemble'}, 'location of formation', 'Norway'] [{'concept': 'musical ensemble'}, 'location of formation', 'Finland'] [{'concept': 'musical ensemble'}, 'location of formation', 'Castelfranco Emilia']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Norway . ?v rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2088357),P740,Q20)
[{'concept': 'Q2088357'}, 'P740', 'Q20']
[{'concept': 'musical ensemble'}, 'location of formation', 'Norway']
[]
Q5757815 Q1542643 Q193172
SYSTEM
Highasakite, Paperboys, Burzum
Q193172 Q5492450 Q1783900 Q7754472 Q1164216 Q1542643 Q16839908 Q4583992 Q262385 Q653022 Q3043504 Q5438290 Q3003716 Q187576 Q625324 Q10429044 Q7539336 Q1022385 Q500578 Q7935903 Q4575784 Q5757815 Q1140449 Q374868
(c(Q2088357),P740,Q20)
action filter_type
action find_reverse
entity Q20
relation P740
type Q2088357
[ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q20']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q20 . ?v rdf:type ontology:Q2088357 }
Burzum Frantic Bleep Adjágas The Nude Pube Banglers Triosphere Paperboys Grand General Elektrisk Regn Hot Club de Norvège Sturmgeist Ov Hell Faustcoven Cronian Secret Garden Trucks Bettan & Jan Werner Slavia Koldbrann Manes Visekongene My Midnight Creeps Highasakite Scum Myrkskog
Highasakite Paperboys Burzum
action filter_type
action find_reverse
entity Norway
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Norway']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Norway . ?v rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24883151
P737
Q2088357 Q215380
USER
Which bands did around the same number of musical ensembles have an influence on as Dynamic Rockers ?
(c(Q215380),P737,c(Q2088357))
action approx
action find_tuple_counts
relation P737
type Q215380
type Q2088357
action count
action filter_type
action find
entity Q24883151
relation P737
type Q215380
[{'concept': 'Q215380'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?j property:P737 ?v . ?v rdf:type ontology:Q2088357 . ?j rdf:type ontology:Q215380 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:Q215380 . resource:Q24883151 property:P737 ?m } } . FILTER ( ?f = ?t ) }
Dynamic Rockers
action approx
action find_tuple_counts
relation influenced by
type band
type musical ensemble
action count
action filter_type
action find
entity Dynamic Rockers
relation influenced by
type band
[{'concept': 'band'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?j property:influenced_by ?v . ?v rdf:type ontology:musical_ensemble . ?j rdf:type ontology:band } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:band . resource:Dynamic_Rockers property:influenced_by ?m } } . FILTER ( ?f = ?t ) }
[]
musical ensemble band
Q142701 Q15862 Q1002101
SYSTEM
Pearl Jam, Queen, Buffalo Tom
Q24883151 Q959100 Q1002101 Q826255 Q21468763 Q472595 Q3051556 Q16800947 Q1066813 Q1027492 Q5807252 Q15862 Q15136158 Q484839 Q142701 Q217360
(c(Q215380),P737,c(Q2088357))
action approx
action find_tuple_counts
relation P737
type Q215380
type Q2088357
action count
action filter_type
action find
entity Q24883151
relation P737
type Q215380
[ANSWERS]
[{'concept': 'Q215380'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?j property:P737 ?v . ?v rdf:type ontology:Q2088357 . ?j rdf:type ontology:Q215380 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:Q215380 . resource:Q24883151 property:P737 ?m } } . FILTER ( ?f = ?t ) }
Dynamic Rockers Sham 69 Buffalo Tom Suede Tűzkerék xT Outkast Elmer Food Beat Ibeyi Cheech & Chong The Dø Dimitri Vegas & Like Mike Queen A Great Big World Placebo Pearl Jam Florence and the Machine
Pearl Jam Queen Buffalo Tom
action approx
action find_tuple_counts
relation influenced by
type band
type musical ensemble
action count
action filter_type
action find
entity Dynamic Rockers
relation influenced by
type band
[{'concept': 'band'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?f ) WHERE { ?j property:influenced_by ?v . ?v rdf:type ontology:musical_ensemble . ?j rdf:type ontology:band } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ontology:band . resource:Dynamic_Rockers property:influenced_by ?m } } . FILTER ( ?f = ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q2342494 Q838948
USER
Which administrative territories are exactly 3 collectables and works of art set in ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 3
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) ?l WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?u rdf:type ?e } GROUP BY ?l } . FILTER ( ?q = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 3
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) ?l WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?u rdf:type ?e } GROUP BY ?l } . FILTER ( ?q = 3 ) }
[]
designation for an administrative territorial entity collectable work of art
Q159 Q858 Q27
SYSTEM
Russia, Syria, Ireland
Q399 Q159 Q858 Q27 Q1014
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 3
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) ?l WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?u rdf:type ?e } GROUP BY ?l } . FILTER ( ?q = 3 ) }
Armenia Russia Syria Ireland Liberia
Russia Syria Ireland
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 3
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) ?l WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?u rdf:type ?e } GROUP BY ?l } . FILTER ( ?q = 3 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q858
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q858,P163,c(Q14660))
action filter_type
action find
entity Q858
relation P163
type Q14660
['Q858', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q14660 . resource:Q858 property:P163 ?e }
Syria
action filter_type
action find
entity Syria
relation flag
type flag
['Syria', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:flag . resource:Syria property:flag ?e }
[]
flag
Clarification for simple ques.
Q858
SYSTEM
Did you mean Syria ?
Q159 Q858 Q27
(Q159,P163,c(Q14660)) (Q858,P163,c(Q14660)) (Q27,P163,c(Q14660))
[ANSWER]
['Q159', 'P163', {'concept': 'Q14660'}] ['Q858', 'P163', {'concept': 'Q14660'}] ['Q27', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q14660 . resource:Q858 property:P163 ?e }
Russia Syria Ireland
Did you mean Syria ?
Syria
['Russia', 'flag', {'concept': 'flag'}] ['Syria', 'flag', {'concept': 'flag'}] ['Ireland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:flag . resource:Syria property:flag ?e }
[]
Simple Question (Coreferenced)
USER
Yes
(Q858,P163,c(Q14660))
['Q858', 'P163', {'concept': 'Q14660'}]
['Syria', 'flag', {'concept': 'flag'}]
[]
Q45136
SYSTEM
Flag of Syria
Q45136
(Q858,P163,c(Q14660))
action filter_type
action find
entity Q858
relation P163
type Q14660
[ANSWER]
['Q858', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q14660 . resource:Q858 property:P163 ?e }
Flag of Syria
Flag of Syria
action filter_type
action find
entity Syria
relation flag
type flag
['Syria', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:flag . resource:Syria property:flag ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q858
P530
Q183366 Q15617994
USER
How many territories and administrative territories have diplomatic relations with Syria ?
(Q858,P530,c(Q183366)) (Q858,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q858
relation P530
type Q183366
action filter_type
action find
entity Q858
relation P530
type Q15617994
['Q858', 'P530', {'concept': 'Q183366'}] ['Q858', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:Q183366 . resource:Q858 property:P530 ?j } UNION { resource:Q858 property:P530 ?j . ?j rdf:type ontology:Q15617994 } }
Syria
action count
action union
action filter_type
action find
entity Syria
relation diplomatic relation
type territory
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
['Syria', 'diplomatic relation', {'concept': 'territory'}] ['Syria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:territory . resource:Syria property:diplomatic_relation ?j } UNION { resource:Syria property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
territory designation for an administrative territorial entity
SYSTEM
1 territories and 14 administrative territories
Q805 Q810 Q399 Q801 Q41 Q851 Q148 Q846 Q796 Q17 Q30 Q79 Q423 Q159 Q822
(Q858,P530,c(Q183366)) (Q858,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q858
relation P530
type Q183366
action filter_type
action find
entity Q858
relation P530
type Q15617994
[ANSWER]
['Q858', 'P530', {'concept': 'Q183366'}] ['Q858', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:Q183366 . resource:Q858 property:P530 ?j } UNION { resource:Q858 property:P530 ?j . ?j rdf:type ontology:Q15617994 } }
Yemen Jordan Armenia Israel Greece Saudi Arabia People's Republic of China Qatar Iraq Japan United States of America Egypt North Korea Russia Lebanon
1 territories and 14 administrative territories
action count
action union
action filter_type
action find
entity Syria
relation diplomatic relation
type territory
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
['Syria', 'diplomatic relation', {'concept': 'territory'}] ['Syria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { ?j rdf:type ontology:territory . resource:Syria property:diplomatic_relation ?j } UNION { resource:Syria property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21161805
P138
Q79529 Q502895 Q82799
USER
Which names are named after lesser number of chemical substances and people than Cain ?
(c(Q82799),P138,c(Q79529)|c(Q502895))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q21161805
relation P138
type Q79529
type Q502895
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q21161805 property:P138 ?v . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q79529 } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:Q79529 ) ( ontology:Q502895 ) } . ?x rdf:type ?e } GROUP BY ?n } }
Cain
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Cain
relation named after
type chemical substance
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Cain property:named_after ?v . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:chemical_substance } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:chemical_substance ) ( ontology:common_name ) } . ?x rdf:type ?e } GROUP BY ?n } }
[]
chemical substance common name name
Q318363 Q1069827 Q26247962
SYSTEM
Abel, Rosario, Master of The Hours of Henri II
Q18335877 Q25212228 Q6501864 Q27022433 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1812295 Q25343999 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q79529)|c(Q502895))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q21161805
relation P138
type Q79529
type Q502895
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Q21161805 property:P138 ?v . { { ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q79529 } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:Q79529 ) ( ontology:Q502895 ) } . ?x rdf:type ?e } GROUP BY ?n } }
Prévot Émile-Louis Kaplan Danziger Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Louarn Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Van Leemput Grenier Lebreton Potier Ramos Mouton Boissel Rameau Ahrens Mercier Dumoulin Boulanger Peleg Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel Rosario Master of The Hours of Henri II
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Cain
relation named after
type chemical substance
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { resource:Cain property:named_after ?v . { { ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:chemical_substance } } } } . FILTER ( ?r < ?u ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?r ) WHERE { VALUES ( ?e ) { ( ontology:chemical_substance ) ( ontology:common_name ) } . ?x rdf:type ?e } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q807882
P138
Q79529 Q502895 Q82799
USER
And what about Barbus Müller?
(c(Q82799),P138,c(Q79529)|c(Q502895))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q807882
relation P138
type Q79529
type Q502895
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?k WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q79529 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q807882 property:P138 ?b . { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q79529 ) ( ontology:Q502895 ) } } } } . FILTER ( ?l < ?a ) }
Barbus Müller
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Barbus Müller
relation named after
type chemical substance
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'common name'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?k WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:chemical_substance ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Barbus_Müller property:named_after ?b . { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:chemical_substance ) ( ontology:common_name ) } } } } . FILTER ( ?l < ?a ) }
[]
chemical substance common name name
Q318363 Q1069827 Q26247962
SYSTEM
Abel, Rosario, Master of The Hours of Henri II
Q18335877 Q25212228 Q6501864 Q27022433 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1812295 Q25343999 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q79529)|c(Q502895))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q807882
relation P138
type Q79529
type Q502895
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?k WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q79529 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q807882 property:P138 ?b . { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:Q79529 ) ( ontology:Q502895 ) } } } } . FILTER ( ?l < ?a ) }
Prévot Émile-Louis Kaplan Danziger Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Louarn Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Van Leemput Grenier Lebreton Potier Ramos Mouton Boissel Rameau Ahrens Mercier Dumoulin Boulanger Peleg Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel Rosario Master of The Hours of Henri II
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Barbus Müller
relation named after
type chemical substance
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'common name'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?k WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:chemical_substance ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Barbus_Müller property:named_after ?b . { ?b rdf:type ?t . VALUES ( ?t ) { ( ontology:chemical_substance ) ( ontology:common_name ) } } } } . FILTER ( ?l < ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are approximately 81 names in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 81
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P407 ?t . ?t rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?t } . FILTER ( ?i = 81 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 81
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:language_of_work_or_name ?t . ?t rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?t } . FILTER ( ?i = 81 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 81
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P407 ?t . ?t rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?t } . FILTER ( ?i = 81 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 81
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:language_of_work_or_name ?t . ?t rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?t } . FILTER ( ?i = 81 ) }
[]