Simple Question (Direct)
Simple Question
Q1419067
P19
Q56061
USER
Which administrative territory was Gerrie Eijlers born at ?
(Q1419067,P19,c(Q56061))
action filter_type
action find
entity Q1419067
relation P19
type Q56061
['Q1419067', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1419067 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Gerrie Eijlers
action filter_type
action find
entity Gerrie Eijlers
relation place of birth
type administrative territorial entity
['Gerrie Eijlers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Gerrie_Eijlers property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q1419067,P19,c(Q56061))
action filter_type
action find
entity Q1419067
relation P19
type Q56061
Gerrie Eijlers was born in [ANSWER]
['Q1419067', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1419067 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Amsterdam
Gerrie Eijlers was born in Amsterdam
Amsterdam
action filter_type
action find
entity Gerrie Eijlers
relation place of birth
type administrative territorial entity
['Gerrie Eijlers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Gerrie_Eijlers property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q727
P291
Q571
USER
Which books have that administrative territory as their release location ?
(c(Q571),P291,Q727)
action filter_type
action find_reverse
entity Q727
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q727']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q727 . ?q rdf:type ontology:Q571 }
Amsterdam
action filter_type
action find_reverse
entity Amsterdam
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Amsterdam']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Amsterdam . ?q rdf:type ontology:book }
[]
book
Q22327060 Q14624856 Q17280428
SYSTEM
Computational Methods in Number Theory, Het achterhuis, J.-B. de la Faille: The works of Vincent van Gogh: His Paintings and Drawings (revised, augmented and annotated edition)
Q23926099 Q14624856 Q22327060 Q17280428 Q23730374
(c(Q571),P291,Q727)
action filter_type
action find_reverse
entity Q727
relation P291
type Q571
[ANSWERS]
[{'concept': 'Q571'}, 'P291', 'Q727']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q727 . ?q rdf:type ontology:Q571 }
De Americaensche Zee-Roovers Het achterhuis Computational Methods in Number Theory J.-B. de la Faille: The works of Vincent van Gogh: His Paintings and Drawings (revised, augmented and annotated edition) Grote Winkler Prins
Computational Methods in Number Theory, Het achterhuis and J.-B. de la Faille: The works of Vincent van Gogh: His Paintings and Drawings (revised, augmented and annotated edition) have that administrative territory as their release location
Computational Methods in Number Theory Het achterhuis J.-B. de la Faille: The works of Vincent van Gogh: His Paintings and Drawings (revised, augmented and annotated edition)
action filter_type
action find_reverse
entity Amsterdam
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Amsterdam']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Amsterdam . ?q rdf:type ontology:book }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22327060
P407
Q34770
USER
Which language is that book in ?
(Q22327060,P407,c(Q34770))
action filter_type
action find
entity Q22327060
relation P407
type Q34770
['Q22327060', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q22327060 property:P407 ?i . ?i rdf:type ontology:Q34770 }
Computational Methods in Number Theory
action filter_type
action find
entity Computational Methods in Number Theory
relation language of work or name
type language
['Computational Methods in Number Theory', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Computational_Methods_in_Number_Theory property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q14624856
SYSTEM
Did you mean Het achterhuis ?
Q22327060 Q14624856 Q17280428
(Q22327060,P407,c(Q34770)) (Q14624856,P407,c(Q34770)) (Q17280428,P407,c(Q34770))
[ANSWER]
['Q22327060', 'P407', {'concept': 'Q34770'}] ['Q14624856', 'P407', {'concept': 'Q34770'}] ['Q17280428', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q22327060 property:P407 ?i . ?i rdf:type ontology:Q34770 }
Computational Methods in Number Theory Het achterhuis J.-B. de la Faille: The works of Vincent van Gogh: His Paintings and Drawings (revised, augmented and annotated edition)
Did you mean Het achterhuis ?
Het achterhuis
['Computational Methods in Number Theory', 'language of work or name', {'concept': 'language'}] ['Het achterhuis', 'language of work or name', {'concept': 'language'}] ['J.-B. de la Faille: The works of Vincent van Gogh: His Paintings and Drawings (revised, augmented and annotated edition)', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Computational_Methods_in_Number_Theory property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant Computational Methods in Number Theory. Could you tell me the answer for that?
(Q22327060,P407,c(Q34770))
Q22327060
['Q22327060', 'P407', {'concept': 'Q34770'}]
['Computational Methods in Number Theory', 'language of work or name', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q22327060,P407,c(Q34770))
action filter_type
action find
entity Q22327060
relation P407
type Q34770
Which language is that book in
['Q22327060', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q22327060 property:P407 ?i . ?i rdf:type ontology:Q34770 }
English
Which language is that book in
English
action filter_type
action find
entity Computational Methods in Number Theory
relation language of work or name
type language
['Computational Methods in Number Theory', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Computational_Methods_in_Number_Theory property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1860
P282
Q2001982 Q9779 Q34770
USER
Which languages utilizes greater number of notations and alphabets as the writing system than English ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?b WHERE { VALUES ( ?c ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?w rdf:type ?c } GROUP BY ?b } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1860 property:P282 ?g . { { ?g rdf:type ontology:Q2001982 } UNION { ?g rdf:type ontology:Q9779 } } } } }
English
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity English
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?b WHERE { VALUES ( ?c ) { ( ontology:notation ) ( ontology:alphabet ) } . ?w rdf:type ?c } GROUP BY ?b } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:English property:writing_system ?g . { { ?g rdf:type ontology:notation } UNION { ?g rdf:type ontology:alphabet } } } } }
[]
notation alphabet language
Q29572 Q182695 Q35499
SYSTEM
Avestan, Late Old Japanese, Old Church Slavonic
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q2001982
type Q9779
[ANSWERS] utilize greater number of notations and alphabets as the writing system than English
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?b WHERE { VALUES ( ?c ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?w rdf:type ?c } GROUP BY ?b } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1860 property:P282 ?g . { { ?g rdf:type ontology:Q2001982 } UNION { ?g rdf:type ontology:Q9779 } } } } }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
Avestan, Late Old Japanese and Old Church Slavonic utilize greater number of notations and alphabets as the writing system than English
Avestan Late Old Japanese Old Church Slavonic
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity English
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?b WHERE { VALUES ( ?c ) { ( ontology:notation ) ( ontology:alphabet ) } . ?w rdf:type ?c } GROUP BY ?b } . FILTER ( ?u > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:English property:writing_system ?g . { { ?g rdf:type ontology:notation } UNION { ?g rdf:type ontology:alphabet } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1669994
P282
Q2001982 Q9779 Q34770
USER
And also tell me about Minoan language?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1669994
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?l rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { ?c rdf:type ?t . VALUES ( ?t ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } . resource:Q1669994 property:P282 ?c } } . FILTER ( ?h > ?v ) }
Minoan language
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Minoan language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:notation ) ( ontology:alphabet ) } . ?l rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { ?c rdf:type ?t . VALUES ( ?t ) { ( ontology:alphabet ) ( ontology:notation ) } } . resource:Minoan_language property:writing_system ?c } } . FILTER ( ?h > ?v ) }
[]
notation alphabet language
Q29572 Q182695 Q35499
SYSTEM
Avestan, Late Old Japanese, Old Church Slavonic
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1669994
relation P282
type Q2001982
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?l rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { ?c rdf:type ?t . VALUES ( ?t ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } . resource:Q1669994 property:P282 ?c } } . FILTER ( ?h > ?v ) }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
Avestan Late Old Japanese Old Church Slavonic
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Minoan language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:notation ) ( ontology:alphabet ) } . ?l rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { ?c rdf:type ?t . VALUES ( ?t ) { ( ontology:alphabet ) ( ontology:notation ) } } . resource:Minoan_language property:writing_system ?c } } . FILTER ( ?h > ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q15619164 Q6619679 Q571
USER
Which books have the character atleast 4 abstract beings or fictional humanoids ?
(c(Q571),P674,c(Q15619164)|c(Q6619679))
action atleast
action union
action find_tuple_counts
relation P674
type Q571
type Q15619164
action find_tuple_counts
relation P674
type Q571
type Q6619679
value 4
[{'concept': 'Q571'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { { ?b rdf:type ontology:Q571 . ?t rdf:type ontology:Q15619164 . ?b property:P674 ?t } UNION { ?b property:P674 ?t . ?b rdf:type ontology:Q571 . ?t rdf:type ontology:Q6619679 } } GROUP BY ?b } . FILTER ( ?o >= 4 ) }
action atleast
action union
action find_tuple_counts
relation characters
type book
type abstract being
action find_tuple_counts
relation characters
type book
type fictional humanoid
value 4
[{'concept': 'book'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { { ?b rdf:type ontology:book . ?t rdf:type ontology:abstract_being . ?b property:characters ?t } UNION { ?b property:characters ?t . ?b rdf:type ontology:book . ?t rdf:type ontology:fictional_humanoid } } GROUP BY ?b } . FILTER ( ?o >= 4 ) }
[]
abstract being fictional humanoid book
Q1168335 Q676258
SYSTEM
Asterix and Caesar's Gift, Asterix and the Chieftain's Shield
Q1168335 Q676258
(c(Q571),P674,c(Q15619164)|c(Q6619679))
action atleast
action union
action find_tuple_counts
relation P674
type Q571
type Q15619164
action find_tuple_counts
relation P674
type Q571
type Q6619679
value 4
[ANSWERS] have the character atleast 4 abstract beings or fictional humanoids
[{'concept': 'Q571'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { { ?b rdf:type ontology:Q571 . ?t rdf:type ontology:Q15619164 . ?b property:P674 ?t } UNION { ?b property:P674 ?t . ?b rdf:type ontology:Q571 . ?t rdf:type ontology:Q6619679 } } GROUP BY ?b } . FILTER ( ?o >= 4 ) }
Asterix and Caesar's Gift Asterix and the Chieftain's Shield
Asterix and Caesar's Gift and Asterix and the Chieftain's Shield have the character atleast 4 abstract beings or fictional humanoids
Asterix and Caesar's Gift Asterix and the Chieftain's Shield
action atleast
action union
action find_tuple_counts
relation characters
type book
type abstract being
action find_tuple_counts
relation characters
type book
type fictional humanoid
value 4
[{'concept': 'book'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { { ?b rdf:type ontology:book . ?t rdf:type ontology:abstract_being . ?b property:characters ?t } UNION { ?b property:characters ?t . ?b rdf:type ontology:book . ?t rdf:type ontology:fictional_humanoid } } GROUP BY ?b } . FILTER ( ?o >= 4 ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q33138 Q29572
P282
Q2001982
USER
Which notations are used as the alphabet set for Avestan but not Khwarezmian language ?
AND((Q29572,P282,c(Q2001982)), NOT((Q33138,P282,c(Q2001982))))
action filter_type
action difference
action find
entity Q29572
relation P282
action find
entity Q33138
relation P282
type Q2001982
{'AND': [['Q29572', 'P282', {'concept': 'Q2001982'}], {'NOT': [['Q33138', 'P282', {'concept': 'Q2001982'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q29572 property:P282 ?a . FILTER NOT EXISTS { resource:Q33138 property:P282 ?a } . ?a rdf:type ontology:Q2001982 }
Khwarezmian language Avestan
action filter_type
action difference
action find
entity Avestan
relation writing system
action find
entity Khwarezmian language
relation writing system
type notation
{'AND': [['Avestan', 'writing system', {'concept': 'notation'}], {'NOT': [['Khwarezmian language', 'writing system', {'concept': 'notation'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Avestan property:writing_system ?a . FILTER NOT EXISTS { resource:Khwarezmian_language property:writing_system ?a } . ?a rdf:type ontology:notation }
[]
notation
Q790681
SYSTEM
Avestan alphabet
Q790681
AND((Q29572,P282,c(Q2001982)), NOT((Q33138,P282,c(Q2001982))))
action filter_type
action difference
action find
entity Q29572
relation P282
action find
entity Q33138
relation P282
type Q2001982
[ANSWER] is used as the alphabet set for Avestan but not Khwarezmian language
{'AND': [['Q29572', 'P282', {'concept': 'Q2001982'}], {'NOT': [['Q33138', 'P282', {'concept': 'Q2001982'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q29572 property:P282 ?a . FILTER NOT EXISTS { resource:Q33138 property:P282 ?a } . ?a rdf:type ontology:Q2001982 }
Avestan alphabet
Avestan alphabet is used as the alphabet set for Avestan but not Khwarezmian language
Avestan alphabet
action filter_type
action difference
action find
entity Avestan
relation writing system
action find
entity Khwarezmian language
relation writing system
type notation
{'AND': [['Avestan', 'writing system', {'concept': 'notation'}], {'NOT': [['Khwarezmian language', 'writing system', {'concept': 'notation'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Avestan property:writing_system ?a . FILTER NOT EXISTS { resource:Khwarezmian_language property:writing_system ?a } . ?a rdf:type ontology:notation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q652
P37
Q34770 Q7275 Q56061
USER
Which languages are the official languages of greater number of states or administrative territories than Italian ?
(c(Q7275)|c(Q56061),P37,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q7275
type Q56061
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } . ?q rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P37 resource:Q652 . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } } } } . FILTER ( ?j > ?f ) }
Italian
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type state
type administrative territorial entity
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } . ?q rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:official_language resource:Italian . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?j > ?f ) }
[]
language state administrative territorial entity
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q7275)|c(Q56061),P37,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q7275
type Q56061
[ANSWERS] are the official languages of greater number of states or administrative territories than Italian
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:Q56061 ) ( ontology:Q7275 ) } . ?q rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P37 resource:Q652 . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } } } } . FILTER ( ?j > ?f ) }
English Spanish
English and Spanish are the official languages of greater number of states or administrative territories than Italian
English Spanish
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type state
type administrative territorial entity
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:administrative_territorial_entity ) ( ontology:state ) } . ?q rdf:type ?c } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:official_language resource:Italian . { ?e rdf:type ?t . VALUES ( ?t ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?j > ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1168335
P50
Q502895
USER
Who wrote Asterix and Caesar's Gift ?
(Q1168335,P50,c(Q502895))
action filter_type
action find
entity Q1168335
relation P50
type Q502895
['Q1168335', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1168335 property:P50 ?a . ?a rdf:type ontology:Q502895 }
Asterix and Caesar's Gift
action filter_type
action find
entity Asterix and Caesar's Gift
relation author
type common name
["Asterix and Caesar's Gift", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Asterix_and_Caesar's_Gift property:author ?a . ?a rdf:type ontology:common_name }
[]
common name
Q206685 Q192214
SYSTEM
Albert Uderzo, René Goscinny
Q206685 Q192214
(Q1168335,P50,c(Q502895))
action filter_type
action find
entity Q1168335
relation P50
type Q502895
[ANSWERS] wrote Asterix and Caesar's Gift
['Q1168335', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1168335 property:P50 ?a . ?a rdf:type ontology:Q502895 }
Albert Uderzo René Goscinny
Albert Uderzo and René Goscinny wrote Asterix and Caesar's Gift
Albert Uderzo René Goscinny
action filter_type
action find
entity Asterix and Caesar's Gift
relation author
type common name
["Asterix and Caesar's Gift", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Asterix_and_Caesar's_Gift property:author ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22122503
Q502895
USER
And also tell me about The genome sequence of Bacillus anthracis Ames and comparison to closely related bacteria?
(Q22122503,P50,c(Q502895))
action filter_type
action find
entity Q22122503
relation P50
type Q502895
['Q22122503', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q22122503 property:P50 ?q . ?q rdf:type ontology:Q502895 }
The genome sequence of Bacillus anthracis Ames and comparison to closely related bacteria
action filter_type
action find
entity The genome sequence of Bacillus anthracis Ames and comparison to closely related bacteria
relation author
type common name
['The genome sequence of Bacillus anthracis Ames and comparison to closely related bacteria', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_genome_sequence_of_Bacillus_anthracis_Ames_and_comparison_to_closely_related_bacteria property:author ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3678978 Q16908853 Q2000017
SYSTEM
Claire M. Fraser, Anne-Brit Kolstø, Jonathan Eisen
Q3678978 Q16908853 Q2000017
(Q22122503,P50,c(Q502895))
action filter_type
action find
entity Q22122503
relation P50
type Q502895
[ANSWERS]
['Q22122503', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q22122503 property:P50 ?q . ?q rdf:type ontology:Q502895 }
Claire M. Fraser Anne-Brit Kolstø Jonathan Eisen
Claire M. Fraser Anne-Brit Kolstø Jonathan Eisen
action filter_type
action find
entity The genome sequence of Bacillus anthracis Ames and comparison to closely related bacteria
relation author
type common name
['The genome sequence of Bacillus anthracis Ames and comparison to closely related bacteria', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_genome_sequence_of_Bacillus_anthracis_Ames_and_comparison_to_closely_related_bacteria property:author ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3678978 Q16908853 Q2000017
P106
Q12737077
USER
What are the professions of Claire M. Fraser, Anne-Brit Kolstø and Jonathan Eisen ?
(Q3678978,P106,c(Q12737077)) (Q16908853,P106,c(Q12737077)) (Q2000017,P106,c(Q12737077))
action union
action filter_type
action find
entity Q3678978
relation P106
type Q12737077
action filter_type
action find
entity Q16908853
relation P106
type Q12737077
action filter_type
action find
entity Q2000017
relation P106
type Q12737077
['Q3678978', 'P106', {'concept': 'Q12737077'}] ['Q16908853', 'P106', {'concept': 'Q12737077'}] ['Q2000017', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { resource:Q16908853 property:P106 ?z . ?z rdf:type ontology:Q12737077 } UNION { resource:Q3678978 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
Claire M. Fraser Anne-Brit Kolstø Jonathan Eisen
action union
action filter_type
action find
entity Claire M. Fraser
relation occupation
type occupation
action filter_type
action find
entity Anne-Brit Kolstø
relation occupation
type occupation
action filter_type
action find
entity Jonathan Eisen
relation occupation
type occupation
['Claire M. Fraser', 'occupation', {'concept': 'occupation'}] ['Anne-Brit Kolstø', 'occupation', {'concept': 'occupation'}] ['Jonathan Eisen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { resource:Anne-Brit_Kolstø property:occupation ?z . ?z rdf:type ontology:occupation } UNION { resource:Claire_M._Fraser property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
occupation
Q1622272 Q864503 Q864503
SYSTEM
biologist for 2nd, 3rd, university teacher for 1st
Q864503 Q864503 Q15956275 Q864503 Q16063497 Q1622272
(Q3678978,P106,c(Q12737077)) (Q16908853,P106,c(Q12737077)) (Q2000017,P106,c(Q12737077))
action union
action filter_type
action find
entity Q3678978
relation P106
type Q12737077
action filter_type
action find
entity Q16908853
relation P106
type Q12737077
action filter_type
action find
entity Q2000017
relation P106
type Q12737077
[ANSWERS]
['Q3678978', 'P106', {'concept': 'Q12737077'}] ['Q16908853', 'P106', {'concept': 'Q12737077'}] ['Q2000017', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { resource:Q16908853 property:P106 ?z . ?z rdf:type ontology:Q12737077 } UNION { resource:Q3678978 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
biologist biologist bioinformatician biologist evolutionary biologist university teacher
The professions of Claire M. Fraser , Anne-Brit Kolstø and Jonathan Eisen are a university teacher, biologist and biologist
university teacher biologist biologist
action union
action filter_type
action find
entity Claire M. Fraser
relation occupation
type occupation
action filter_type
action find
entity Anne-Brit Kolstø
relation occupation
type occupation
action filter_type
action find
entity Jonathan Eisen
relation occupation
type occupation
['Claire M. Fraser', 'occupation', {'concept': 'occupation'}] ['Anne-Brit Kolstø', 'occupation', {'concept': 'occupation'}] ['Jonathan Eisen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { resource:Anne-Brit_Kolstø property:occupation ?z . ?z rdf:type ontology:occupation } UNION { resource:Claire_M._Fraser property:occupation ?z . ?z rdf:type ontology:occupation } }
[]