Simple Question (Direct)
Simple Question
Q6211627
P39
Q12737077
USER
Which occupations were the positions for which Joe Oliver were appointed ?
(Q6211627,P39,c(Q12737077))
action filter_type
action find
entity Q6211627
relation P39
type Q12737077
['Q6211627', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6211627 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Joe Oliver
action filter_type
action find
entity Joe Oliver
relation position held
type occupation
['Joe Oliver', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Joe_Oliver property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q3251824 Q3251818 Q15964890
SYSTEM
Minister of Natural Resources, Minister of Finance, member of the House of Commons of Canada
Q3251824 Q3251818 Q15964890
(Q6211627,P39,c(Q12737077))
action filter_type
action find
entity Q6211627
relation P39
type Q12737077
[ANSWERS] were the positions for which Joe Oliver were appointed
['Q6211627', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6211627 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Minister of Natural Resources Minister of Finance member of the House of Commons of Canada
Minister of Natural Resources, Minister of Finance and member of the House of Commons of Canada were the positions for which Joe Oliver were appointed
Minister of Natural Resources Minister of Finance member of the House of Commons of Canada
action filter_type
action find
entity Joe Oliver
relation position held
type occupation
['Joe Oliver', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Joe_Oliver property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15964890
P361
Q375928
USER
What is that occupation a part of ?
(Q15964890,P361,c(Q375928))
action filter_type
action find
entity Q15964890
relation P361
type Q375928
['Q15964890', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?v WHERE { resource:Q15964890 property:P361 ?v . ?v rdf:type ontology:Q375928 }
member of the House of Commons of Canada
action filter_type
action find
entity member of the House of Commons of Canada
relation part of
type lower house
['member of the House of Commons of Canada', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?v WHERE { resource:member_of_the_House_of_Commons_of_Canada property:part_of ?v . ?v rdf:type ontology:lower_house }
[]
lower house
Clarification for simple ques.
Q15964890
SYSTEM
Did you mean member of the House of Commons of Canada ?
Q3251824 Q3251818 Q15964890
(Q3251824,P361,c(Q375928)) (Q3251818,P361,c(Q375928)) (Q15964890,P361,c(Q375928))
[ANSWER]
['Q3251824', 'P361', {'concept': 'Q375928'}] ['Q3251818', 'P361', {'concept': 'Q375928'}] ['Q15964890', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?v WHERE { resource:Q15964890 property:P361 ?v . ?v rdf:type ontology:Q375928 }
Minister of Natural Resources Minister of Finance member of the House of Commons of Canada
Did you mean member of the House of Commons of Canada ?
member of the House of Commons of Canada
['Minister of Natural Resources', 'part of', {'concept': 'lower house'}] ['Minister of Finance', 'part of', {'concept': 'lower house'}] ['member of the House of Commons of Canada', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?v WHERE { resource:member_of_the_House_of_Commons_of_Canada property:part_of ?v . ?v rdf:type ontology:lower_house }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15964890,P361,c(Q375928))
['Q15964890', 'P361', {'concept': 'Q375928'}]
['member of the House of Commons of Canada', 'part of', {'concept': 'lower house'}]
[]
Q383590
SYSTEM
House of Commons
Q383590
(Q15964890,P361,c(Q375928))
action filter_type
action find
entity Q15964890
relation P361
type Q375928
That occupation a part of is the [ANSWER]
['Q15964890', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?v WHERE { resource:Q15964890 property:P361 ?v . ?v rdf:type ontology:Q375928 }
House of Commons
That occupation a part of is the House of Commons
House of Commons
action filter_type
action find
entity member of the House of Commons of Canada
relation part of
type lower house
['member of the House of Commons of Canada', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?v WHERE { resource:member_of_the_House_of_Commons_of_Canada property:part_of ?v . ?v rdf:type ontology:lower_house }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15964890
P17
Q1048835
USER
Which political territory is member of the House of Commons of Canada present in ?
(Q15964890,P17,c(Q1048835))
action filter_type
action find
entity Q15964890
relation P17
type Q1048835
['Q15964890', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q15964890 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
member of the House of Commons of Canada
action filter_type
action find
entity member of the House of Commons of Canada
relation country
type political territorial entity
['member of the House of Commons of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:member_of_the_House_of_Commons_of_Canada property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q15964890,P17,c(Q1048835))
action filter_type
action find
entity Q15964890
relation P17
type Q1048835
[ANSWER] is member of the House of Commons of [ANSWER] present in
['Q15964890', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q15964890 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Canada
Canada is member of the House of Commons of Canada present in
Canada
action filter_type
action find
entity member of the House of Commons of Canada
relation country
type political territorial entity
['member of the House of Commons of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:member_of_the_House_of_Commons_of_Canada property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P37
Q34770
USER
What is considered to be the official language of that political territory ?
(Q16,P37,c(Q34770))
action filter_type
action find
entity Q16
relation P37
type Q34770
['Q16', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P37 ?s . ?s rdf:type ontology:Q34770 }
Canada
action filter_type
action find
entity Canada
relation official language
type language
['Canada', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:official_language ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16,P37,c(Q34770))
action filter_type
action find
entity Q16
relation P37
type Q34770
[ANSWER] is considered to be the official language of that political territory
['Q16', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P37 ?s . ?s rdf:type ontology:Q34770 }
English
English is considered to be the official language of that political territory
English
action filter_type
action find
entity Canada
relation official language
type language
['Canada', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:official_language ?s . ?s rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
Which notations are used as the scripts for exactly 1 language ?
(c(Q34770),P282,c(Q2001982))
action equal
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?g rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?d = 1 ) }
action equal
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:writing_system ?p . ?p rdf:type ontology:notation . ?g rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?d = 1 ) }
[]
notation language
Q82772 Q790681 Q1771716
SYSTEM
kanji, Avestan alphabet, Pahlavi scripts
Q82772 Q1771716 Q3322653 Q790681
(c(Q34770),P282,c(Q2001982))
action equal
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[ANSWERS] are used as the scripts for exactly 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?g rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?d = 1 ) }
kanji Pahlavi scripts Southwest Paleohispanic script Avestan alphabet
Kanji, Avestan alphabet and Pahlavi scripts are used as the scripts for exactly 1 language
kanji Avestan alphabet Pahlavi scripts
action equal
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:writing_system ?p . ?p rdf:type ontology:notation . ?g rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?d = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q33879
P282
Q2001982 Q8192 Q34770
USER
Which languages are approximately the same number of notations and writing systems the writing system of as Pangasinan language ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q33879
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { { ?m property:P282 ?v . ?m rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 } UNION { ?m rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 . ?m property:P282 ?v } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q33879 property:P282 ?t . { VALUES ( ?b ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?t rdf:type ?b } } } . FILTER ( ?k = ?w ) }
Pangasinan language
action approx
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
action count
action filter_multi_types
action find
entity Pangasinan language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { { ?m property:writing_system ?v . ?m rdf:type ontology:language . ?v rdf:type ontology:writing_system } UNION { ?m rdf:type ontology:language . ?v rdf:type ontology:notation . ?m property:writing_system ?v } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Pangasinan_language property:writing_system ?t . { VALUES ( ?b ) { ( ontology:notation ) ( ontology:writing_system ) } . ?t rdf:type ?b } } } . FILTER ( ?k = ?w ) }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q33879
relation P282
type Q2001982
type Q8192
The [ANSWERS] are approximately the same number of notations and writing systems the writing system of as Pangasinan language
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { { ?m property:P282 ?v . ?m rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 } UNION { ?m rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 . ?m property:P282 ?v } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q33879 property:P282 ?t . { VALUES ( ?b ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?t rdf:type ?b } } } . FILTER ( ?k = ?w ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian 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 Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
The English, Old Egyptian and Norn are approximately the same number of notations and writing systems the writing system of as Pangasinan language
English Old Egyptian Norn
action approx
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
action count
action filter_multi_types
action find
entity Pangasinan language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { { ?m property:writing_system ?v . ?m rdf:type ontology:language . ?v rdf:type ontology:writing_system } UNION { ?m rdf:type ontology:language . ?v rdf:type ontology:notation . ?m property:writing_system ?v } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Pangasinan_language property:writing_system ?t . { VALUES ( ?b ) { ( ontology:notation ) ( ontology:writing_system ) } . ?t rdf:type ?b } } } . FILTER ( ?k = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q11732220
P282
Q2001982 Q8192 Q34770
USER
And also tell me about Archaic Greek?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q11732220
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?y property:P282 ?n . ?y rdf:type ontology:Q34770 . ?n rdf:type ontology:Q2001982 } UNION { ?y property:P282 ?n . ?y rdf:type ontology:Q34770 . ?n rdf:type ontology:Q8192 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { { ?k rdf:type ontology:Q2001982 } UNION { ?k rdf:type ontology:Q8192 } } . resource:Q11732220 property:P282 ?k } } . FILTER ( ?c = ?h ) }
Archaic Greek
action approx
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
action count
action filter_multi_types
action find
entity Archaic Greek
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?y property:writing_system ?n . ?y rdf:type ontology:language . ?n rdf:type ontology:notation } UNION { ?y property:writing_system ?n . ?y rdf:type ontology:language . ?n rdf:type ontology:writing_system } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { { ?k rdf:type ontology:notation } UNION { ?k rdf:type ontology:writing_system } } . resource:Archaic_Greek property:writing_system ?k } } . FILTER ( ?c = ?h ) }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q11732220
relation P282
type Q2001982
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?y property:P282 ?n . ?y rdf:type ontology:Q34770 . ?n rdf:type ontology:Q2001982 } UNION { ?y property:P282 ?n . ?y rdf:type ontology:Q34770 . ?n rdf:type ontology:Q8192 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { { ?k rdf:type ontology:Q2001982 } UNION { ?k rdf:type ontology:Q8192 } } . resource:Q11732220 property:P282 ?k } } . FILTER ( ?c = ?h ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian 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 Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English Old Egyptian Norn
action approx
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
action count
action filter_multi_types
action find
entity Archaic Greek
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?y property:writing_system ?n . ?y rdf:type ontology:language . ?n rdf:type ontology:notation } UNION { ?y property:writing_system ?n . ?y rdf:type ontology:language . ?n rdf:type ontology:writing_system } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { { ?k rdf:type ontology:notation } UNION { ?k rdf:type ontology:writing_system } } . resource:Archaic_Greek property:writing_system ?k } } . FILTER ( ?c = ?h ) }
[]