Simple Question (Direct)
Simple Question
Q3641301
P27
Q15617994
USER
Which administrative territory is the native country of Bob Harris ?
(Q3641301,P27,c(Q15617994))
action filter_type
action find
entity Q3641301
relation P27
type Q15617994
['Q3641301', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3641301 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Bob Harris
action filter_type
action find
entity Bob Harris
relation country of citizenship
type designation for an administrative territorial entity
['Bob Harris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Bob_Harris property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3641301,P27,c(Q15617994))
action filter_type
action find
entity Q3641301
relation P27
type Q15617994
The [ANSWER] is the native country of Bob Harris
['Q3641301', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3641301 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Bob Harris
United States of America
action filter_type
action find
entity Bob Harris
relation country of citizenship
type designation for an administrative territorial entity
['Bob Harris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Bob_Harris property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3641301
P734
Q82799
USER
Who has the surname Bob Harris ?
(Q3641301,P734,c(Q82799))
action filter_type
action find
entity Q3641301
relation P734
type Q82799
['Q3641301', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q3641301 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Bob Harris
action filter_type
action find
entity Bob Harris
relation family name
type name
['Bob Harris', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Harris property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q10859343
SYSTEM
Harris
Q10859343
(Q3641301,P734,c(Q82799))
action filter_type
action find
entity Q3641301
relation P734
type Q82799
[ANSWER] has the surname Bob [ANSWER]
['Q3641301', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q3641301 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Harris
Harris has the surname Bob Harris
Harris
action filter_type
action find
entity Bob Harris
relation family name
type name
['Bob Harris', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Harris property:family_name ?b . ?b rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10859343 Q713894
P407
Q34770
USER
Is Arts & Architecture the language of work for Harris ?
(Q10859343,P407,Q713894)
action is_in
entity Q713894
action find
entity Q10859343
relation P407
['Q10859343', 'P407', 'Q713894']
ASK WHERE { resource:Q10859343 property:P407 resource:Q713894 }
Harris Arts & Architecture
action is_in
entity Arts & Architecture
action find
entity Harris
relation language of work or name
['Harris', 'language of work or name', 'Arts & Architecture']
ASK WHERE { resource:Harris property:language_of_work_or_name resource:Arts_&_Architecture }
[]
language
SYSTEM
NO
(Q10859343,P407,Q713894)
action is_in
entity Q713894
action find
entity Q10859343
relation P407
[ANSWER]
['Q10859343', 'P407', 'Q713894']
ASK WHERE { resource:Q10859343 property:P407 resource:Q713894 }
No
action is_in
entity Arts & Architecture
action find
entity Harris
relation language of work or name
['Harris', 'language of work or name', 'Arts & Architecture']
ASK WHERE { resource:Harris property:language_of_work_or_name resource:Arts_&_Architecture }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are atmost 34 names in ?
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 34
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P407 ?g . ?g rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 } GROUP BY ?g } . FILTER ( ?p <= 34 ) }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 34
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:language_of_work_or_name ?g . ?g rdf:type ontology:language . ?a rdf:type ontology:name } GROUP BY ?g } . FILTER ( ?p <= 34 ) }
[]
language name
SYSTEM
26
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 34
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P407 ?g . ?g rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 } GROUP BY ?g } . FILTER ( ?p <= 34 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
26
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 34
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:language_of_work_or_name ?g . ?g rdf:type ontology:language . ?a rdf:type ontology:name } GROUP BY ?g } . FILTER ( ?p <= 34 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17658825 Q10859343
P407
Q34770
USER
Which languages are Harris and The White Stripes to tour 'Great White North' in ?
AND((Q10859343,P407,c(Q34770)), (Q17658825,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q10859343
relation P407
action find
entity Q17658825
relation P407
type Q34770
{'AND': [['Q10859343', 'P407', {'concept': 'Q34770'}], ['Q17658825', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { resource:Q10859343 property:P407 ?o . resource:Q17658825 property:P407 ?o . ?o rdf:type ontology:Q34770 }
The White Stripes to tour 'Great White North' Harris
action filter_type
action intersection
action find
entity Harris
relation language of work or name
action find
entity The White Stripes to tour 'Great White North'
relation language of work or name
type language
{'AND': [['Harris', 'language of work or name', {'concept': 'language'}], ["The White Stripes to tour 'Great White North'", 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { resource:Harris property:language_of_work_or_name ?o . resource:The_White_Stripes_to_tour_'Great_White_North' property:language_of_work_or_name ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q10859343,P407,c(Q34770)), (Q17658825,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q10859343
relation P407
action find
entity Q17658825
relation P407
type Q34770
[ANSWER] is Harris and The White Stripes to tour 'Great White North' in
{'AND': [['Q10859343', 'P407', {'concept': 'Q34770'}], ['Q17658825', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { resource:Q10859343 property:P407 ?o . resource:Q17658825 property:P407 ?o . ?o rdf:type ontology:Q34770 }
English
English is Harris and The White Stripes to tour 'Great White North' in
English
action filter_type
action intersection
action find
entity Harris
relation language of work or name
action find
entity The White Stripes to tour 'Great White North'
relation language of work or name
type language
{'AND': [['Harris', 'language of work or name', {'concept': 'language'}], ["The White Stripes to tour 'Great White North'", 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { resource:Harris property:language_of_work_or_name ?o . resource:The_White_Stripes_to_tour_'Great_White_North' property:language_of_work_or_name ?o . ?o rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages utilizes atleast 2 notations or writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n property:P282 ?t . ?n rdf:type ontology:Q34770 . ?t rdf:type ontology:Q2001982 } UNION { ?n rdf:type ontology:Q34770 . ?t rdf:type ontology:Q8192 . ?n property:P282 ?t } } GROUP BY ?n } . FILTER ( ?o >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n property:writing_system ?t . ?n rdf:type ontology:language . ?t rdf:type ontology:notation } UNION { ?n rdf:type ontology:language . ?t rdf:type ontology:writing_system . ?n property:writing_system ?t } } GROUP BY ?n } . FILTER ( ?o >= 2 ) }
[]
notation writing system language
SYSTEM
2
Q182695 Q29572
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n property:P282 ?t . ?n rdf:type ontology:Q34770 . ?t rdf:type ontology:Q2001982 } UNION { ?n rdf:type ontology:Q34770 . ?t rdf:type ontology:Q8192 . ?n property:P282 ?t } } GROUP BY ?n } . FILTER ( ?o >= 2 ) }
Late Old Japanese Avestan
2
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n property:writing_system ?t . ?n rdf:type ontology:language . ?t rdf:type ontology:notation } UNION { ?n rdf:type ontology:language . ?t rdf:type ontology:writing_system . ?n property:writing_system ?t } } GROUP BY ?n } . FILTER ( ?o >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
Which political territories are atmost 1 language the official language of ?
(c(Q1048835),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { ?z property:P37 ?r . ?z rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?e <= 1 ) }
action atmost
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { ?z property:official_language ?r . ?z rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?e <= 1 ) }
[]
language political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q13116 Q127167 Q1000 Q2012050 Q193714 Q49657 Q4540 Q691 Q89959 Q686790 Q785 Q193619 Q769 Q49662 Q49663 Q49660 Q49661 Q240 Q763 Q917883 Q35086 Q766 Q49655 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q300608 Q1771153 Q4395303 Q5705 Q181633 Q13786 Q16 Q5785 Q35 Q171852 Q624511 Q641138 Q4421880 Q15601 Q1628531 Q649612 Q789334 Q685 Q42780 Q778 Q183 Q25228 Q4474 Q408 Q49659 Q1631311 Q1444150 Q9648 Q643919 Q49654 Q49651 Q231 Q234 Q90027 Q40 Q4218003 Q9331 Q3899 Q1644430 Q9337 Q4410386 Q23635 Q171965 Q18257 Q781 Q1907203 Q4325072 Q1769772
(c(Q1048835),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[ANSWERS] are atmost 1 language the official language of
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { ?z property:P37 ?r . ?z rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?e <= 1 ) }
Benelux Western Cape Gabon Donetsk Oblast Mandatory Palestine Schaan Eschen Papua New Guinea French Community of Belgium Mediona Jersey Union of South Africa Grenada Gamprin Balzers Planken Mauren Brussels Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Schellenberg Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia A Ver-o-Mar Albuixech Rivne Catalonia Mykolaiv Oblast Cebu Canada Cayman Islands Denmark Odessa Oblast Aracena Duchy of Cleves Skypche Corbera de Llobregat Quintanar de la Orden Coca, Segovia Balažer Solomon Islands Ningbo The Bahamas Germany Anguilla Ortuella Australia Ruggell Cuéllar Alboloduy Falkland Islands Torfaen County Borough Triesen Triesenberg Walloon Region Flemish Region German-speaking Community of Belgium Austria Kachkarivka Flemish Community Kalimantan Timur Monreal del Campo Flemish Region Svitlohirske Bermuda Luhansk Oblast Abella de la Conca Antigua and Barbuda San Miguel del Arroyo Zoriane Bierge
Germany, Australia and Denmark are atmost 1 language the official language of
Germany Australia Denmark
action atmost
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { ?z property:official_language ?r . ?z rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?e <= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17617281 Q10859343
P407
Q34770
USER
Which languages are Harris and Apple releases program to limit iPod volume in ?
AND((Q10859343,P407,c(Q34770)), (Q17617281,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q10859343
relation P407
action find
entity Q17617281
relation P407
type Q34770
{'AND': [['Q10859343', 'P407', {'concept': 'Q34770'}], ['Q17617281', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { resource:Q17617281 property:P407 ?q . resource:Q10859343 property:P407 ?q . ?q rdf:type ontology:Q34770 }
Apple releases program to limit iPod volume Harris
action filter_type
action intersection
action find
entity Harris
relation language of work or name
action find
entity Apple releases program to limit iPod volume
relation language of work or name
type language
{'AND': [['Harris', 'language of work or name', {'concept': 'language'}], ['Apple releases program to limit iPod volume', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { resource:Apple_releases_program_to_limit_iPod_volume property:language_of_work_or_name ?q . resource:Harris property:language_of_work_or_name ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q10859343,P407,c(Q34770)), (Q17617281,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q10859343
relation P407
action find
entity Q17617281
relation P407
type Q34770
[ANSWER] is Harris and Apple releases program to limit iPod volume in
{'AND': [['Q10859343', 'P407', {'concept': 'Q34770'}], ['Q17617281', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { resource:Q17617281 property:P407 ?q . resource:Q10859343 property:P407 ?q . ?q rdf:type ontology:Q34770 }
English
English is Harris and Apple releases program to limit iPod volume in
English
action filter_type
action intersection
action find
entity Harris
relation language of work or name
action find
entity Apple releases program to limit iPod volume
relation language of work or name
type language
{'AND': [['Harris', 'language of work or name', {'concept': 'language'}], ['Apple releases program to limit iPod volume', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { resource:Apple_releases_program_to_limit_iPod_volume property:language_of_work_or_name ?q . resource:Harris property:language_of_work_or_name ?q . ?q rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P282
Q8192 Q2001982 Q34770
USER
Which languages have writing system as around the same number of writing systems or notations as that language ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = ?l ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q1860 property:P282 ?u . { VALUES ( ?x ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?u rdf:type ?x } } } . { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w property:P282 ?g . ?w rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } UNION { ?w property:P282 ?g . ?w rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2001982 } } GROUP BY ?w } }
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = ?l ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:English property:writing_system ?u . { VALUES ( ?x ) { ( ontology:writing_system ) ( ontology:notation ) } . ?u rdf:type ?x } } } . { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w property:writing_system ?g . ?w rdf:type ontology:language . ?g rdf:type ontology:writing_system } UNION { ?w property:writing_system ?g . ?w rdf:type ontology:language . ?g rdf:type ontology:notation } } GROUP BY ?w } }
[]
writing system notation language
SYSTEM
7
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = ?l ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q1860 property:P282 ?u . { VALUES ( ?x ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?u rdf:type ?x } } } . { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w property:P282 ?g . ?w rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } UNION { ?w property:P282 ?g . ?w rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2001982 } } GROUP BY ?w } }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
7
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = ?l ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:English property:writing_system ?u . { VALUES ( ?x ) { ( ontology:writing_system ) ( ontology:notation ) } . ?u rdf:type ?x } } } . { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w property:writing_system ?g . ?w rdf:type ontology:language . ?g rdf:type ontology:writing_system } UNION { ?w property:writing_system ?g . ?w rdf:type ontology:language . ?g rdf:type ontology:notation } } GROUP BY ?w } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2472587 Q79529 Q82799
USER
Which names have atmost 1 peoples or chemical substances as their toponym ?
(c(Q82799),P138,c(Q2472587)|c(Q79529))
action atmost
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q79529
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?j ) { ( ontology:Q2472587 ) ( ontology:Q79529 ) } . ?a rdf:type ?j } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
action atmost
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type chemical substance
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?j ) { ( ontology:people ) ( ontology:chemical_substance ) } . ?a rdf:type ?j } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
[]
people chemical substance name
Q318363 Q1069827 Q1746111
SYSTEM
Abel, Rosario, Michael Gregorio
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q13553585 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 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 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q2472587)|c(Q79529))
action atmost
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q79529
value 1
[ANSWERS] have atmost 1 peoples or chemical substances as their toponym
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?j ) { ( ontology:Q2472587 ) ( ontology:Q79529 ) } . ?a rdf:type ?j } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Pseudo-Lucian 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 Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Mouton Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Gold 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 Arminia 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 Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel, Rosario and Michael Gregorio have atmost 1 peoples or chemical substances as their toponym
Abel Rosario Michael Gregorio
action atmost
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type chemical substance
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { VALUES ( ?j ) { ( ontology:people ) ( ontology:chemical_substance ) } . ?a rdf:type ?j } GROUP BY ?l } . FILTER ( ?d <= 1 ) }
[]