Simple Question (Direct)
Simple Question
Q16146916
P54
Q1194951
USER
What is Francisco Jovel Álvarez a member of ?
(Q16146916,P54,c(Q1194951))
action filter_type
action find
entity Q16146916
relation P54
type Q1194951
['Q16146916', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1194951 . resource:Q16146916 property:P54 ?d }
Francisco Jovel Álvarez
action filter_type
action find
entity Francisco Jovel Álvarez
relation member of sports team
type national sports team
['Francisco Jovel Álvarez', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:national_sports_team . resource:Francisco_Jovel_Álvarez property:member_of_sports_team ?d }
[]
national sports team
Q188228
SYSTEM
El Salvador national football team
Q188228
(Q16146916,P54,c(Q1194951))
action filter_type
action find
entity Q16146916
relation P54
type Q1194951
Francisco Jovel Álvarez is a member of the [ANSWER]
['Q16146916', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1194951 . resource:Q16146916 property:P54 ?d }
El Salvador national football team
Francisco Jovel Álvarez is a member of the El Salvador national football team
El Salvador national football team
action filter_type
action find
entity Francisco Jovel Álvarez
relation member of sports team
type national sports team
['Francisco Jovel Álvarez', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:national_sports_team . resource:Francisco_Jovel_Álvarez property:member_of_sports_team ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16146916
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Francisco Jovel Álvarez ?
(Q16146916,P27,c(Q15617994))
action filter_type
action find
entity Q16146916
relation P27
type Q15617994
['Q16146916', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16146916 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Francisco Jovel Álvarez
action filter_type
action find
entity Francisco Jovel Álvarez
relation country of citizenship
type designation for an administrative territorial entity
['Francisco Jovel Álvarez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Francisco_Jovel_Álvarez property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q792
SYSTEM
El Salvador
Q792
(Q16146916,P27,c(Q15617994))
action filter_type
action find
entity Q16146916
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Francisco Jovel Álvarez
['Q16146916', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16146916 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
El Salvador
El Salvador is the country of citizenship of Francisco Jovel Álvarez
El Salvador
action filter_type
action find
entity Francisco Jovel Álvarez
relation country of citizenship
type designation for an administrative territorial entity
['Francisco Jovel Álvarez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Francisco_Jovel_Álvarez property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16146916
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q792,P1412,c(Q34770))
action filter_type
action find
entity Q16146916
relation P1412
type Q34770
['Q792', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q16146916 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Francisco Jovel Álvarez
action filter_type
action find
entity Francisco Jovel Álvarez
relation languages spoken, written or signed
type language
['El Salvador', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Francisco_Jovel_Álvarez property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q792,P1412,c(Q34770))
action filter_type
action find
entity Q16146916
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q792', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q16146916 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Francisco Jovel Álvarez
relation languages spoken, written or signed
type language
['El Salvador', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Francisco_Jovel_Álvarez property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages have writing system as more number of writing systems than that language ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?i ) WHERE { ?c property:P282 ?q . ?c rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?h } } . FILTER ( ?i > ?n ) }
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?i ) WHERE { ?c property:writing_system ?q . ?c rdf:type ontology:language . ?q rdf:type ontology:writing_system } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ontology:language . resource:Spanish property:writing_system ?h } } . FILTER ( ?i > ?n ) }
[]
writing system language
SYSTEM
2
Q182695 Q1669994
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?i ) WHERE { ?c property:P282 ?q . ?c rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?h } } . FILTER ( ?i > ?n ) }
Late Old Japanese Minoan language
2
action count
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?i ) WHERE { ?c property:writing_system ?q . ?c rdf:type ontology:language . ?q rdf:type ontology:writing_system } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h rdf:type ontology:language . resource:Spanish property:writing_system ?h } } . FILTER ( ?i > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8216
P282
Q2001982 Q34770
USER
Which notations are the writing systems used for lesser number of languages than Greek alphabet ?
(c(Q34770),P282,c(Q2001982))
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q8216
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P282 ?e . ?e rdf:type ontology:Q2001982 . ?t rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P282 resource:Q8216 . ?s rdf:type ontology:Q34770 } } . FILTER ( ?y < ?m ) }
Greek alphabet
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Greek alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:writing_system ?e . ?e rdf:type ontology:notation . ?t rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:writing_system resource:Greek_alphabet . ?s rdf:type ontology:language } } . FILTER ( ?y < ?m ) }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q401 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q8216
relation P282
type Q34770
[ANSWERS] are the writing systems used for lesser number of languages than Greek alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P282 ?e . ?e rdf:type ontology:Q2001982 . ?t rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P282 resource:Q8216 . ?s rdf:type ontology:Q34770 } } . FILTER ( ?y < ?m ) }
Manichaean alphabet kanji Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Pahlavi scripts Aramaic alphabet Southwest Paleohispanic script Sarati Avestan alphabet Sui script Brahmi script cuneiform Bamum script Canadian Aboriginal syllabics
Cirth, Tengwar and Sarati are the writing systems used for lesser number of languages than Greek alphabet
Cirth Tengwar Sarati
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Greek alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:writing_system ?e . ?e rdf:type ontology:notation . ?t rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:writing_system resource:Greek_alphabet . ?s rdf:type ontology:language } } . FILTER ( ?y < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1771716
P282
Q2001982 Q34770
USER
And how about Pahlavi scripts?
(c(Q34770),P282,c(Q2001982))
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q1771716
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q34770 . ?d rdf:type ontology:Q2001982 . ?a property:P282 ?d } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P282 resource:Q1771716 . ?r rdf:type ontology:Q34770 } } }
Pahlavi scripts
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Pahlavi scripts
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:language . ?d rdf:type ontology:notation . ?a property:writing_system ?d } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:writing_system resource:Pahlavi_scripts . ?r rdf:type ontology:language } } }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q1771716
relation P282
type Q34770
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q34770 . ?d rdf:type ontology:Q2001982 . ?a property:P282 ?d } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P282 resource:Q1771716 . ?r rdf:type ontology:Q34770 } } }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth Tengwar Sarati
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Pahlavi scripts
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:language . ?d rdf:type ontology:notation . ?a property:writing_system ?d } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:writing_system resource:Pahlavi_scripts . ?r rdf:type ontology:language } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q792
P463
Q484652 Q43229
USER
How many international organizations or organizations were El Salvador a member of ?
(Q792,P463,c(Q484652)) (Q792,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q792
relation P463
type Q484652
action filter_type
action find
entity Q792
relation P463
type Q43229
['Q792', 'P463', {'concept': 'Q484652'}] ['Q792', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?a . VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q484652 ) } }
El Salvador
action count
action union
action filter_type
action find
entity El Salvador
relation member of
type international organization
action filter_type
action find
entity El Salvador
relation member of
type organization
['El Salvador', 'member of', {'concept': 'international organization'}] ['El Salvador', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?a . VALUES ( ?a ) { ( ontology:organization ) ( ontology:international_organization ) } }
[]
international organization organization
SYSTEM
9
Q190008 Q190019 Q191384 Q899770 Q1065 Q656801 Q7825 Q827525 Q1043527
(Q792,P463,c(Q484652)) (Q792,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q792
relation P463
type Q484652
action filter_type
action find
entity Q792
relation P463
type Q43229
[ANSWER]
['Q792', 'P463', {'concept': 'Q484652'}] ['Q792', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?a . VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q484652 ) } }
Central American Bank for Economic Integration Central American Common Market International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes United Nations International Finance Corporation World Trade Organization International Development Association Multilateral Investment Guarantee Agency
9
action count
action union
action filter_type
action find
entity El Salvador
relation member of
type international organization
action filter_type
action find
entity El Salvador
relation member of
type organization
['El Salvador', 'member of', {'concept': 'international organization'}] ['El Salvador', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r rdf:type ?a . VALUES ( ?a ) { ( ontology:organization ) ( ontology:international_organization ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35518
P282
Q2001982 Q25295
USER
Which language families adopt less number of notations as the writing system than Akkadian ?
(c(Q25295),P282,c(Q2001982))
action less
action find_tuple_counts
relation P282
type Q25295
type Q2001982
action count
action filter_type
action find
entity Q35518
relation P282
type Q2001982
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:P282 ?b . ?b rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q25295 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q35518 property:P282 ?r . ?r rdf:type ontology:Q2001982 } } . FILTER ( ?c < ?f ) }
Akkadian
action less
action find_tuple_counts
relation writing system
type language family
type notation
action count
action filter_type
action find
entity Akkadian
relation writing system
type notation
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:writing_system ?b . ?b rdf:type ontology:notation . ?x rdf:type ontology:language_family } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Akkadian property:writing_system ?r . ?r rdf:type ontology:notation } } . FILTER ( ?c < ?f ) }
[]
notation language family
Q34016 Q33864 Q3915511
SYSTEM
Sandawe, Oromo, Mexican Sign Language
Q34016 Q33617 Q33779 Q9288 Q33864 Q3915511 Q36385 Q3450749 Q35602 Q35744 Q33655 Q1363055 Q28244 Q13275 Q33454 Q33578 Q35452 Q35541 Q9205 Q34124 Q33856 Q35963 Q50868 Q7853191 Q34311 Q33661 Q13198 Q33491 Q28026 Q10179 Q1363072 Q33339 Q1185127 Q33281 Q2511476 Q34159 Q565110 Q13244 Q34015 Q34834 Q36699 Q35939
(c(Q25295),P282,c(Q2001982))
action less
action find_tuple_counts
relation P282
type Q25295
type Q2001982
action count
action filter_type
action find
entity Q35518
relation P282
type Q2001982
[ANSWERS] adopt less number of notations as the writing system than Akkadian
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:P282 ?b . ?b rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q25295 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q35518 property:P282 ?r . ?r rdf:type ontology:Q2001982 } } . FILTER ( ?c < ?f ) }
Sandawe Hiri Motu Saramaccan language Hebrew Oromo Mexican Sign Language Moabite Arakanese language Hawaiian Pidgin Krio language Nigerian Pidgin Belizean Kriol language Amharic Somali Fula language Igbo language Bislama Cameroonian Pidgin English Khmer Tigrinya Papiamento Cape Verdean creole Egyptian Tunisian Sign Language Yoruba Mauritian Creole Réunion Creole Haitian Creole Akan Zulu French Guianese Creole Guinea-Bissau Creole Louisiana Creole French Chavacano Tày Tok Pisin Northern Thai Unserdeutsch language Seychellois Creole Old Georgian language Pijin language Jamaican Patois
Sandawe, Oromo and Mexican Sign Language adopt less number of notations as the writing system than Akkadian
Sandawe Oromo Mexican Sign Language
action less
action find_tuple_counts
relation writing system
type language family
type notation
action count
action filter_type
action find
entity Akkadian
relation writing system
type notation
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:writing_system ?b . ?b rdf:type ontology:notation . ?x rdf:type ontology:language_family } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Akkadian property:writing_system ?r . ?r rdf:type ontology:notation } } . FILTER ( ?c < ?f ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P282
Q2001982 Q25295
USER
Which language families use approximately the same number of notations as the writing system as that language family ?
(c(Q25295),P282,c(Q2001982))
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q25295 . ?y rdf:type ontology:Q2001982 }
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language_family . ?y rdf:type ontology:notation }
[]
notation language family
Comparative|More/Less|Single entity type|Clarification
Q33864
SYSTEM
Did you mean Oromo ?
(c(Q25295),P282,c(Q2001982))
[ANSWER]
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q25295 . ?y rdf:type ontology:Q2001982 }
Did you mean Oromo ?
Oromo
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language_family . ?y rdf:type ontology:notation }
[]
Comparative Reasoning (All)
USER
No, I meant Mexican Sign Language. Could you tell me the answer for that?
(c(Q25295),P282,c(Q2001982))
Q3915511
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
[]
Q35518
SYSTEM
Akkadian
Q35518
(c(Q25295),P282,c(Q2001982))
[ANSWER] use approximately the same number of notations as the writing system as that language family
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q25295 . ?y rdf:type ontology:Q2001982 }
Akkadian
Akkadian use approximately the same number of notations as the writing system as that language family
Akkadian
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language_family . ?y rdf:type ontology:notation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P282
Q2001982 Q25295
USER
Which language families are around the same number of notations the writing system of as that language family ?
(c(Q25295),P282,c(Q2001982))
action approx
action find_tuple_counts
relation P282
type Q25295
type Q2001982
action count
action filter_type
action find
entity Q35518
relation P282
type Q25295
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:P282 ?i . ?c rdf:type ontology:Q25295 . ?i rdf:type ontology:Q2001982 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q35518 property:P282 ?p . ?p rdf:type ontology:Q25295 } } . FILTER ( ?z = ?r ) }
action approx
action find_tuple_counts
relation writing system
type language family
type notation
action count
action filter_type
action find
entity Akkadian
relation writing system
type language family
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:writing_system ?i . ?c rdf:type ontology:language_family . ?i rdf:type ontology:notation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Akkadian property:writing_system ?p . ?p rdf:type ontology:language_family } } . FILTER ( ?z = ?r ) }
[]
notation language family
Q34016 Q33864 Q3915511
SYSTEM
Sandawe, Oromo, Mexican Sign Language
Q34016 Q33617 Q33779 Q9288 Q33864 Q3915511 Q36385 Q3450749 Q35602 Q35744 Q33655 Q1363055 Q28244 Q13275 Q33454 Q33578 Q35452 Q35541 Q9205 Q34124 Q33856 Q35963 Q50868 Q7853191 Q34311 Q33661 Q13198 Q33491 Q28026 Q10179 Q1363072 Q33339 Q1185127 Q33281 Q2511476 Q34159 Q565110 Q13244 Q34015 Q34834 Q36699 Q35939
(c(Q25295),P282,c(Q2001982))
action approx
action find_tuple_counts
relation P282
type Q25295
type Q2001982
action count
action filter_type
action find
entity Q35518
relation P282
type Q25295
[ANSWERS] are around the same number of notations the writing system of as that language family
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:P282 ?i . ?c rdf:type ontology:Q25295 . ?i rdf:type ontology:Q2001982 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q35518 property:P282 ?p . ?p rdf:type ontology:Q25295 } } . FILTER ( ?z = ?r ) }
Sandawe Hiri Motu Saramaccan language Hebrew Oromo Mexican Sign Language Moabite Arakanese language Hawaiian Pidgin Krio language Nigerian Pidgin Belizean Kriol language Amharic Somali Fula language Igbo language Bislama Cameroonian Pidgin English Khmer Tigrinya Papiamento Cape Verdean creole Egyptian Tunisian Sign Language Yoruba Mauritian Creole Réunion Creole Haitian Creole Akan Zulu French Guianese Creole Guinea-Bissau Creole Louisiana Creole French Chavacano Tày Tok Pisin Northern Thai Unserdeutsch language Seychellois Creole Old Georgian language Pijin language Jamaican Patois
Sandawe, Oromo and Mexican Sign Language are around the same number of notations the writing system of as that language family
Sandawe Oromo Mexican Sign Language
action approx
action find_tuple_counts
relation writing system
type language family
type notation
action count
action filter_type
action find
entity Akkadian
relation writing system
type language family
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?z ) WHERE { ?c property:writing_system ?i . ?c rdf:type ontology:language_family . ?i rdf:type ontology:notation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Akkadian property:writing_system ?p . ?p rdf:type ontology:language_family } } . FILTER ( ?z = ?r ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q183 Q35518
P27 P1412
Q502895
USER
Which people speaks Akkadian and do n't have nationality of Germany ?
AND((c(Q502895),P1412,Q35518), NOT((c(Q502895),P27,Q183)))
action filter_type
action difference
action find_reverse
entity Q35518
relation P1412
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q35518'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q183']]}]}
SELECT DISTINCT ?r WHERE { ?r property:P1412 resource:Q35518 . MINUS { ?r property:P27 resource:Q183 } . ?r rdf:type ontology:Q502895 }
Germany Akkadian
action filter_type
action difference
action find_reverse
entity Akkadian
relation languages spoken, written or signed
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Akkadian'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'Germany']]}]}
SELECT DISTINCT ?r WHERE { ?r property:languages_spoken,_written_or_signed resource:Akkadian . MINUS { ?r property:country_of_citizenship resource:Germany } . ?r rdf:type ontology:common_name }
[]
common name
Q26742858 Q4507011 Q81794 Q23016853 Q36359 Q12411491 Q1703552 Q1327855 Q297506
SYSTEM
Betina Faist, Mikayel Chamchian, Akhenaten, Daniel E. Fleming, Hammurabi, Sh. Shifra, Joost Hazenbos, Elena Cassin, Naram-Sin of Akkad
Q26742858 Q4507011 Q81794 Q23016853 Q36359 Q12411491 Q1703552 Q1327855 Q297506
AND((c(Q502895),P1412,Q35518), NOT((c(Q502895),P27,Q183)))
action filter_type
action difference
action find_reverse
entity Q35518
relation P1412
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] speak Akkadian and do n't have nationality of Germany
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q35518'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q183']]}]}
SELECT DISTINCT ?r WHERE { ?r property:P1412 resource:Q35518 . MINUS { ?r property:P27 resource:Q183 } . ?r rdf:type ontology:Q502895 }
Betina Faist Mikayel Chamchian Akhenaten Daniel E. Fleming Hammurabi Sh. Shifra Joost Hazenbos Elena Cassin Naram-Sin of Akkad
Betina Faist, Mikayel Chamchian, Akhenaten, Daniel E. Fleming, Hammurabi, Sh. Shifra, Joost Hazenbos, Elena Cassin and Naram-Sin of Akkad speak Akkadian and do n't have nationality of Germany
Betina Faist Mikayel Chamchian Akhenaten Daniel E. Fleming Hammurabi Sh. Shifra Joost Hazenbos Elena Cassin Naram-Sin of Akkad
action filter_type
action difference
action find_reverse
entity Akkadian
relation languages spoken, written or signed
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Akkadian'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'Germany']]}]}
SELECT DISTINCT ?r WHERE { ?r property:languages_spoken,_written_or_signed resource:Akkadian . MINUS { ?r property:country_of_citizenship resource:Germany } . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q792
P463
Q43229
USER
How many organizations were El Salvador a member of ?
(Q792,P463,c(Q43229))
action count
action filter_type
action find
entity Q792
relation P463
type Q43229
['Q792', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q792 property:P463 ?c . ?c rdf:type ontology:Q43229 }
El Salvador
action count
action filter_type
action find
entity El Salvador
relation member of
type organization
['El Salvador', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:El_Salvador property:member_of ?c . ?c rdf:type ontology:organization }
[]
organization
SYSTEM
6
Q190019 Q191384 Q899770 Q656801 Q7825 Q827525
(Q792,P463,c(Q43229))
action count
action filter_type
action find
entity Q792
relation P463
type Q43229
[ANSWER]
['Q792', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q792 property:P463 ?c . ?c rdf:type ontology:Q43229 }
Central American Common Market International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association
6
action count
action filter_type
action find
entity El Salvador
relation member of
type organization
['El Salvador', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:El_Salvador property:member_of ?c . ?c rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5549541
P463
Q43229
USER
And how about Gerald Rosselot?
(Q5549541,P463,c(Q43229))
action count
action filter_type
action find
entity Q5549541
relation P463
type Q43229
['Q5549541', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q5549541 property:P463 ?o . ?o rdf:type ontology:Q43229 }
Gerald Rosselot
action count
action filter_type
action find
entity Gerald Rosselot
relation member of
type organization
['Gerald Rosselot', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Gerald_Rosselot property:member_of ?o . ?o rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q131566
(Q5549541,P463,c(Q43229))
action count
action filter_type
action find
entity Q5549541
relation P463
type Q43229
[ANSWER]
['Q5549541', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q5549541 property:P463 ?o . ?o rdf:type ontology:Q43229 }
Institute of Electrical and Electronics Engineers
1
action count
action filter_type
action find
entity Gerald Rosselot
relation member of
type organization
['Gerald Rosselot', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Gerald_Rosselot property:member_of ?o . ?o rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1666720
Q43229
USER
And also tell me about Peter Suschitzky?
(Q1666720,P463,c(Q43229))
action count
action filter_type
action find
entity Q1666720
relation P463
type Q43229
['Q1666720', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q1666720 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Peter Suschitzky
action count
action filter_type
action find
entity Peter Suschitzky
relation member of
type organization
['Peter Suschitzky', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Peter_Suschitzky property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
SYSTEM
1
(Q1666720,P463,c(Q43229))
action count
action filter_type
action find
entity Q1666720
relation P463
type Q43229
[ANSWER]
['Q1666720', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q1666720 property:P463 ?f . ?f rdf:type ontology:Q43229 }
1
action count
action filter_type
action find
entity Peter Suschitzky
relation member of
type organization
['Peter Suschitzky', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Peter_Suschitzky property:member_of ?f . ?f rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2375431 Q1703552
P27
Q15617994
USER
Which administrative territories do Joost Hazenbos or Colea Vâlcov belong to ?
OR((Q1703552,P27,c(Q15617994)), (Q2375431,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1703552
relation P27
action find
entity Q2375431
relation P27
type Q15617994
{'OR': [['Q1703552', 'P27', {'concept': 'Q15617994'}], ['Q2375431', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Q1703552 ) ( resource:Q2375431 ) } . ?h property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Colea Vâlcov Joost Hazenbos
action filter_type
action union
action find
entity Joost Hazenbos
relation country of citizenship
action find
entity Colea Vâlcov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Joost Hazenbos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Colea Vâlcov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Joost_Hazenbos ) ( resource:Colea_Vâlcov ) } . ?h property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q29999
SYSTEM
Romania, Kingdom of the Netherlands
Q218 Q29999
OR((Q1703552,P27,c(Q15617994)), (Q2375431,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1703552
relation P27
action find
entity Q2375431
relation P27
type Q15617994
Joost Hazenbos or Colea Vâlcov belong to [ANSWERS]
{'OR': [['Q1703552', 'P27', {'concept': 'Q15617994'}], ['Q2375431', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Q1703552 ) ( resource:Q2375431 ) } . ?h property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Romania Kingdom of the Netherlands
Joost Hazenbos or Colea Vâlcov belong to Romania and Kingdom of the Netherlands
Romania Kingdom of the Netherlands
action filter_type
action union
action find
entity Joost Hazenbos
relation country of citizenship
action find
entity Colea Vâlcov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Joost Hazenbos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Colea Vâlcov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Joost_Hazenbos ) ( resource:Colea_Vâlcov ) } . ?h property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q218 Q29999
P17
Q12737077
USER
Which occupations are located in Romania and Kingdom of the Netherlands ?
(c(Q12737077),P17,Q218) (c(Q12737077),P17,Q29999)
action union
action filter_type
action find_reverse
entity Q218
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q29999
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q218'] [{'concept': 'Q12737077'}, 'P17', 'Q29999']
SELECT DISTINCT ?c WHERE { { ?c property:P17 resource:Q218 . ?c rdf:type ontology:Q12737077 } UNION { ?c rdf:type ontology:Q12737077 . ?c property:P17 resource:Q29999 } }
Romania Kingdom of the Netherlands
action union
action filter_type
action find_reverse
entity Romania
relation country
type occupation
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Romania'] [{'concept': 'occupation'}, 'country', 'Kingdom of the Netherlands']
SELECT DISTINCT ?c WHERE { { ?c property:country resource:Romania . ?c rdf:type ontology:occupation } UNION { ?c rdf:type ontology:occupation . ?c property:country resource:Kingdom_of_the_Netherlands } }
[]
occupation
Q21389881 Q839139 Q15304810
SYSTEM
Minister of Education, President of Romania, Prime Minister of Romania
Q17556530 Q21503673 Q19938957 Q839139 Q21389881 Q7241368 Q6797678 Q17278763 Q7241307 Q17278764 Q4294873 Q15304810 Q1923858 Q19305384 Q26250880 Q2045066 Q18887908
(c(Q12737077),P17,Q218) (c(Q12737077),P17,Q29999)
action union
action filter_type
action find_reverse
entity Q218
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q29999
relation P17
type Q12737077
[ANSWERS] are located in Romania and Kingdom of the Netherlands
[{'concept': 'Q12737077'}, 'P17', 'Q218'] [{'concept': 'Q12737077'}, 'P17', 'Q29999']
SELECT DISTINCT ?c WHERE { { ?c property:P17 resource:Q218 . ?c rdf:type ontology:Q12737077 } UNION { ?c rdf:type ontology:Q12737077 . ?c property:P17 resource:Q29999 } }
Member of the Chamber of Deputies of Romania Minister of Foreign Affairs of Romania member of the Senate of Romania President of Romania Minister of Education President of the Senate of Romania Mayor of Bucharest Leader of the Social Democratic Party President of the Chamber of Deputies of Romania Minister of Relations with the Parliament Ministry of Justice Prime Minister of Romania Minister Plenipotentiary of the Netherlands Antilles member of the Senate of the Netherlands president of the Supreme Court of the Netherlands Monarch of the Netherlands member of the House of Representatives of the Netherlands
Minister of Education, President of Romania and Prime Minister of Romania are located in Romania and Kingdom of the Netherlands
Minister of Education President of Romania Prime Minister of Romania
action union
action filter_type
action find_reverse
entity Romania
relation country
type occupation
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Romania'] [{'concept': 'occupation'}, 'country', 'Kingdom of the Netherlands']
SELECT DISTINCT ?c WHERE { { ?c property:country resource:Romania . ?c rdf:type ontology:occupation } UNION { ?c rdf:type ontology:occupation . ?c property:country resource:Kingdom_of_the_Netherlands } }
[]