Simple Question (Direct)
Simple Question
Q62478
P108
Q163740
USER
Which nonprofit organization is the employer of Juan José Linz ?
(Q62478,P108,c(Q163740))
action filter_type
action find
entity Q62478
relation P108
type Q163740
['Q62478', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q62478 property:P108 ?k . ?k rdf:type ontology:Q163740 }
Juan José Linz
action filter_type
action find
entity Juan José Linz
relation employer
type nonprofit organization
['Juan José Linz', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Juan_José_Linz property:employer ?k . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q62478,P108,c(Q163740))
action filter_type
action find
entity Q62478
relation P108
type Q163740
Linz [ANSWER] is the employer of Juan José Linz
['Q62478', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q62478 property:P108 ?k . ?k rdf:type ontology:Q163740 }
Yale University
Linz Yale University is the employer of Juan José Linz
Yale University
action filter_type
action find
entity Juan José Linz
relation employer
type nonprofit organization
['Juan José Linz', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Juan_José_Linz property:employer ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62478
P1412
Q34770
USER
Which language is Juan José Linz capable of writing ?
(Q62478,P1412,c(Q34770))
action filter_type
action find
entity Q62478
relation P1412
type Q34770
['Q62478', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q62478 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Juan José Linz
action filter_type
action find
entity Juan José Linz
relation languages spoken, written or signed
type language
['Juan José Linz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Juan_José_Linz property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q62478,P1412,c(Q34770))
action filter_type
action find
entity Q62478
relation P1412
type Q34770
[ANSWER] is Juan José Linz capable of writing
['Q62478', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q62478 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Spanish is Juan José Linz capable of writing
Spanish
action filter_type
action find
entity Juan José Linz
relation languages spoken, written or signed
type language
['Juan José Linz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Juan_José_Linz property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7707164 Q62478
P1412
Q34770
USER
Or Tevita Kuridrani?
OR((Q62478,P1412,c(Q34770)), (Q7707164,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q62478
relation P1412
action find
entity Q7707164
relation P1412
type Q34770
{'OR': [['Q62478', 'P1412', {'concept': 'Q34770'}], ['Q7707164', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7707164 property:P1412 ?o } UNION { resource:Q62478 property:P1412 ?o } } . ?o rdf:type ontology:Q34770 }
Tevita Kuridrani Juan José Linz
action filter_type
action union
action find
entity Juan José Linz
relation languages spoken, written or signed
action find
entity Tevita Kuridrani
relation languages spoken, written or signed
type language
{'OR': [['Juan José Linz', 'languages spoken, written or signed', {'concept': 'language'}], ['Tevita Kuridrani', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Tevita_Kuridrani property:languages_spoken,_written_or_signed ?o } UNION { resource:Juan_José_Linz property:languages_spoken,_written_or_signed ?o } } . ?o rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q62478,P1412,c(Q34770)), (Q7707164,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q62478
relation P1412
action find
entity Q7707164
relation P1412
type Q34770
[ANSWERS]
{'OR': [['Q62478', 'P1412', {'concept': 'Q34770'}], ['Q7707164', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7707164 property:P1412 ?o } UNION { resource:Q62478 property:P1412 ?o } } . ?o rdf:type ontology:Q34770 }
English Spanish
English Spanish
action filter_type
action union
action find
entity Juan José Linz
relation languages spoken, written or signed
action find
entity Tevita Kuridrani
relation languages spoken, written or signed
type language
{'OR': [['Juan José Linz', 'languages spoken, written or signed', {'concept': 'language'}], ['Tevita Kuridrani', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Tevita_Kuridrani property:languages_spoken,_written_or_signed ?o } UNION { resource:Juan_José_Linz property:languages_spoken,_written_or_signed ?o } } . ?o rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7269822
P1412
Q502895
USER
Does Marek Blahuš speak those languages ?
(Q7269822,P1412,Q1860) (Q7269822,P1412,Q1321)
action is_in
entity prev_answer
action find
entity Q7269822
relation P1412
['Q7269822', 'P1412', 'Q1860'] ['Q7269822', 'P1412', 'Q1321']
ASK WHERE { resource:Q7269822 property:P1412 ?d . VALUES ( ?d ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Marek Blahuš
action is_in
entity prev_answer
action find
entity Marek Blahuš
relation languages spoken, written or signed
['Marek Blahuš', 'languages spoken, written or signed', 'English'] ['Marek Blahuš', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Marek_Blahuš property:languages_spoken,_written_or_signed ?d . VALUES ( ?d ) { ( resource:English ) ( resource:Spanish ) } }
[]
common name
SYSTEM
YES
(Q7269822,P1412,Q1860) (Q7269822,P1412,Q1321)
action is_in
entity prev_answer
action find
entity Q7269822
relation P1412
[ANSWER]
['Q7269822', 'P1412', 'Q1860'] ['Q7269822', 'P1412', 'Q1321']
ASK WHERE { resource:Q7269822 property:P1412 ?d . VALUES ( ?d ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Yes
action is_in
entity prev_answer
action find
entity Marek Blahuš
relation languages spoken, written or signed
['Marek Blahuš', 'languages spoken, written or signed', 'English'] ['Marek Blahuš', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Marek_Blahuš property:languages_spoken,_written_or_signed ?d . VALUES ( ?d ) { ( resource:English ) ( resource:Spanish ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35499
P282
Q9779 Q2001982 Q34770
USER
How many languages adopt less number of alphabets or notations as the writing system than Old Church Slavonic ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q35499
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?w WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q35499 property:P282 ?c . { VALUES ( ?y ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?c rdf:type ?y } } } . FILTER ( ?n < ?a ) }
Old Church Slavonic
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Old Church Slavonic
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?w WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Old_Church_Slavonic property:writing_system ?c . { VALUES ( ?y ) { ( ontology:alphabet ) ( ontology:notation ) } . ?c rdf:type ?y } } } . FILTER ( ?n < ?a ) }
[]
alphabet notation language
SYSTEM
43
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q35499
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?w WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q35499 property:P282 ?c . { VALUES ( ?y ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?c rdf:type ?y } } } . FILTER ( ?n < ?a ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
43
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Old Church Slavonic
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?w WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Old_Church_Slavonic property:writing_system ?c . { VALUES ( ?y ) { ( ontology:alphabet ) ( ontology:notation ) } . ?c rdf:type ?y } } } . FILTER ( ?n < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q182695
P282
Q9779 Q2001982 Q34770
USER
And what about Late Old Japanese?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?h WHERE { VALUES ( ?u ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?s rdf:type ?u } GROUP BY ?h } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q182695 property:P282 ?g . { { ?g rdf:type ontology:Q9779 } UNION { ?g rdf:type ontology:Q2001982 } } } } }
Late Old Japanese
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?h WHERE { VALUES ( ?u ) { ( ontology:notation ) ( ontology:alphabet ) } . ?s rdf:type ?u } GROUP BY ?h } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Late_Old_Japanese property:writing_system ?g . { { ?g rdf:type ontology:alphabet } UNION { ?g rdf:type ontology:notation } } } } }
[]
alphabet notation language
SYSTEM
43
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?h WHERE { VALUES ( ?u ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?s rdf:type ?u } GROUP BY ?h } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q182695 property:P282 ?g . { { ?g rdf:type ontology:Q9779 } UNION { ?g rdf:type ontology:Q2001982 } } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
43
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?h WHERE { VALUES ( ?u ) { ( ontology:notation ) ( ontology:alphabet ) } . ?s rdf:type ?u } GROUP BY ?h } . FILTER ( ?c < ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Late_Old_Japanese property:writing_system ?g . { { ?g rdf:type ontology:alphabet } UNION { ?g rdf:type ontology:notation } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49112
P710
Q46857
USER
What event did Yale University particiate in ?
(c(Q46857),P710,Q49112)
action filter_type
action find_reverse
entity Q49112
relation P710
type Q46857
[{'concept': 'Q46857'}, 'P710', 'Q49112']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q49112 . ?e rdf:type ontology:Q46857 }
Yale University
action filter_type
action find_reverse
entity Yale University
relation participant
type scientific method
[{'concept': 'scientific method'}, 'participant', 'Yale University']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:Yale_University . ?e rdf:type ontology:scientific_method }
[]
scientific method
Q19845375
SYSTEM
Mu2e
Q19845375
(c(Q46857),P710,Q49112)
action filter_type
action find_reverse
entity Q49112
relation P710
type Q46857
Yale University particiated with [ANSWER]
[{'concept': 'Q46857'}, 'P710', 'Q49112']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q49112 . ?e rdf:type ontology:Q46857 }
Mu2e
Yale University particiated with Mu2e
Mu2e
action filter_type
action find_reverse
entity Yale University
relation participant
type scientific method
[{'concept': 'scientific method'}, 'participant', 'Yale University']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:Yale_University . ?e rdf:type ontology:scientific_method }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49112
P127
Q811979
USER
Which architectural structures are under posessision of that nonprofit organization ?
(c(Q811979),P127,Q19845375)
action filter_type
action find_reverse
entity Q49112
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q19845375']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q49112 . ?p rdf:type ontology:Q811979 }
Yale University
action filter_type
action find_reverse
entity Yale University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Mu2e']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Yale_University . ?p rdf:type ontology:architectural_structure }
[]
architectural structure
Q1585431 Q16864780
SYSTEM
Harkness Tower, Betts House
Q1585431 Q16864780
(c(Q811979),P127,Q19845375)
action filter_type
action find_reverse
entity Q49112
relation P127
type Q811979
[ANSWERS] are under posessision of that nonprofit organization
[{'concept': 'Q811979'}, 'P127', 'Q19845375']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q49112 . ?p rdf:type ontology:Q811979 }
Harkness Tower Betts House
Harkness Tower and Betts House are under posessision of that nonprofit organization
Harkness Tower Betts House
action filter_type
action find_reverse
entity Yale University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Mu2e']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Yale_University . ?p rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q652
P407
Q34770 Q234460 Q14795564
USER
How many languages are lesser number of texts or determinators for date of periodic occurrence in than Italian ?
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q652
relation P407
type Q234460
type Q14795564
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?m WHERE { VALUES ( ?t ) { ( ontology:Q234460 ) ( ontology:Q14795564 ) } . ?g rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P407 resource:Q652 . { { ?o rdf:type ontology:Q14795564 } UNION { ?o rdf:type ontology:Q234460 } } } } . FILTER ( ?l < ?s ) }
Italian
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Italian
relation language of work or name
type text
type determinator for date of periodic occurrence
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?m WHERE { VALUES ( ?t ) { ( ontology:text ) ( ontology:determinator_for_date_of_periodic_occurrence ) } . ?g rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:language_of_work_or_name resource:Italian . { { ?o rdf:type ontology:determinator_for_date_of_periodic_occurrence } UNION { ?o rdf:type ontology:text } } } } . FILTER ( ?l < ?s ) }
[]
language text determinator for date of periodic occurrence
SYSTEM
25
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q9056 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q652
relation P407
type Q234460
type Q14795564
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?m WHERE { VALUES ( ?t ) { ( ontology:Q234460 ) ( ontology:Q14795564 ) } . ?g rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P407 resource:Q652 . { { ?o rdf:type ontology:Q14795564 } UNION { ?o rdf:type ontology:Q234460 } } } } . FILTER ( ?l < ?s ) }
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 Czech Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
25
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Italian
relation language of work or name
type text
type determinator for date of periodic occurrence
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?m WHERE { VALUES ( ?t ) { ( ontology:text ) ( ontology:determinator_for_date_of_periodic_occurrence ) } . ?g rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:language_of_work_or_name resource:Italian . { { ?o rdf:type ontology:determinator_for_date_of_periodic_occurrence } UNION { ?o rdf:type ontology:text } } } } . FILTER ( ?l < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q397
P407
Q34770 Q234460 Q14795564
USER
And also tell me about Latin?
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q234460
type Q14795564
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?c WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q234460 ) ( ontology:Q14795564 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P407 resource:Q397 . { { ?i rdf:type ontology:Q234460 } UNION { ?i rdf:type ontology:Q14795564 } } } } . FILTER ( ?b < ?z ) }
Latin
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type text
type determinator for date of periodic occurrence
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?c WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:text ) ( ontology:determinator_for_date_of_periodic_occurrence ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:language_of_work_or_name resource:Latin . { { ?i rdf:type ontology:text } UNION { ?i rdf:type ontology:determinator_for_date_of_periodic_occurrence } } } } . FILTER ( ?b < ?z ) }
[]
language text determinator for date of periodic occurrence
SYSTEM
27
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q234460
type Q14795564
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?c WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q234460 ) ( ontology:Q14795564 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P407 resource:Q397 . { { ?i rdf:type ontology:Q234460 } UNION { ?i rdf:type ontology:Q14795564 } } } } . FILTER ( ?b < ?z ) }
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 Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
27
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type text
type determinator for date of periodic occurrence
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?c WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:text ) ( ontology:determinator_for_date_of_periodic_occurrence ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:language_of_work_or_name resource:Latin . { { ?i rdf:type ontology:text } UNION { ?i rdf:type ontology:determinator_for_date_of_periodic_occurrence } } } } . FILTER ( ?b < ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P669
Q811979 Q18783400 Q55488
USER
Which architectural structures are exactly 1 genres of sculpture and railway stations located ?
(c(Q18783400)|c(Q55488),P669,c(Q811979))
action equal
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q18783400
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
value 1
[[{'concept': 'Q18783400'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P669 ?v . ?v rdf:type ontology:Q811979 . ?b rdf:type ontology:Q18783400 } UNION { ?b rdf:type ontology:Q55488 . ?v rdf:type ontology:Q811979 . ?b property:P669 ?v } } GROUP BY ?v } . FILTER ( ?u = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type genre of sculpture
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:located_on_street ?v . ?v rdf:type ontology:architectural_structure . ?b rdf:type ontology:genre_of_sculpture } UNION { ?b rdf:type ontology:railway_station . ?v rdf:type ontology:architectural_structure . ?b property:located_on_street ?v } } GROUP BY ?v } . FILTER ( ?u = 1 ) }
[]
architectural structure genre of sculpture railway station
Q1362670 Q3390162 Q3390598
SYSTEM
place des Victoires, place Victor-Hugo, place du Colonel-Fabien
Q2071624 Q1068262 Q3390247 Q3390657 Q3389976 Q2550495 Q51108 Q12012935 Q3390686 Q3390541 Q5765413 Q3389946 Q3390487 Q3390162 Q2894411 Q885408 Q3390598 Q1362670 Q2783781 Q3902479 Q3783111 Q1966521 Q1579642 Q1375505
(c(Q18783400)|c(Q55488),P669,c(Q811979))
action equal
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q18783400
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
value 1
[ANSWERS] are exactly 1 genres of sculpture and railway stations located
[[{'concept': 'Q18783400'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P669 ?v . ?v rdf:type ontology:Q811979 . ?b rdf:type ontology:Q18783400 } UNION { ?b rdf:type ontology:Q55488 . ?v rdf:type ontology:Q811979 . ?b property:P669 ?v } } GROUP BY ?v } . FILTER ( ?u = 1 ) }
Piazza Cordusio Carlton House Terrace place de Jaude place du Palais-Royal place Martin-Nadaud Washingtonplatz piazza del Duomo Jonas Daniël Meijerplein place du Pont-Neuf place des Ternes Victoria Square place Louis-Lépine place des Abbesses place Victor-Hugo Belgrave Square Bloomsbury Square place du Colonel-Fabien place des Victoires Piazza San Babila Piazzale Cadorna Hanover Square place d'Italie Rembrandtplein Europaplatz
Place des Victoires, place Victor-Hugo and place du Colonel-Fabien are exactly 1 genres of sculpture and railway stations located
place des Victoires place Victor-Hugo place du Colonel-Fabien
action equal
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type genre of sculpture
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:located_on_street ?v . ?v rdf:type ontology:architectural_structure . ?b rdf:type ontology:genre_of_sculpture } UNION { ?b rdf:type ontology:railway_station . ?v rdf:type ontology:architectural_structure . ?b property:located_on_street ?v } } GROUP BY ?v } . FILTER ( ?u = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3390598
P47
Q34442
USER
Which roads are bordered by that architectural structure ?
(Q3390598,P47,c(Q34442))
action filter_type
action find
entity Q3390598
relation P47
type Q34442
['Q3390598', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { resource:Q3390598 property:P47 ?o . ?o rdf:type ontology:Q34442 }
place du Colonel-Fabien
action filter_type
action find
entity place du Colonel-Fabien
relation shares border with
type road
['place du Colonel-Fabien', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { resource:place_du_Colonel-Fabien property:shares_border_with ?o . ?o rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q3390162
SYSTEM
Did you mean place Victor-Hugo ?
Q1362670 Q3390162 Q3390598
(Q1362670,P47,c(Q34442)) (Q3390162,P47,c(Q34442)) (Q3390598,P47,c(Q34442))
[ANSWER]
['Q1362670', 'P47', {'concept': 'Q34442'}] ['Q3390162', 'P47', {'concept': 'Q34442'}] ['Q3390598', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { resource:Q3390598 property:P47 ?o . ?o rdf:type ontology:Q34442 }
place des Victoires place Victor-Hugo place du Colonel-Fabien
Did you mean place Victor-Hugo ?
place Victor-Hugo
['place des Victoires', 'shares border with', {'concept': 'road'}] ['place Victor-Hugo', 'shares border with', {'concept': 'road'}] ['place du Colonel-Fabien', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { resource:place_du_Colonel-Fabien property:shares_border_with ?o . ?o rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
No, I meant place du Colonel-Fabien. Could you tell me the answer for that?
(Q3390598,P47,c(Q34442))
Q3390598
['Q3390598', 'P47', {'concept': 'Q34442'}]
['place du Colonel-Fabien', 'shares border with', {'concept': 'road'}]
[]
Q3448893 Q3451446 Q3450873
SYSTEM
rue Louis-Blanc, rue de la Grange-aux-Belles, rue de Meaux
Q3451446 Q3448893 Q3446862 Q3450873
(Q3390598,P47,c(Q34442))
action filter_type
action find
entity Q3390598
relation P47
type Q34442
[ANSWERS] are bordered by that architectural structure
['Q3390598', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { resource:Q3390598 property:P47 ?o . ?o rdf:type ontology:Q34442 }
rue de la Grange-aux-Belles rue Louis-Blanc rue Albert-Camus rue de Meaux
Rue Louis-Blanc, rue de la Grange-aux-Belles and rue de Meaux are bordered by that architectural structure
rue Louis-Blanc rue de la Grange-aux-Belles rue de Meaux
action filter_type
action find
entity place du Colonel-Fabien
relation shares border with
type road
['place du Colonel-Fabien', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { resource:place_du_Colonel-Fabien property:shares_border_with ?o . ?o rdf:type ontology:road }
[]