Simple Question (Direct)
Simple Question
Q1355714
P19
Q56061
USER
Which administrative territory is the birthplace of Gaetano Latilla ?
(Q1355714,P19,c(Q56061))
action filter_type
action find
entity Q1355714
relation P19
type Q56061
['Q1355714', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1355714 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Gaetano Latilla
action filter_type
action find
entity Gaetano Latilla
relation place of birth
type administrative territorial entity
['Gaetano Latilla', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Gaetano_Latilla property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3519
SYSTEM
Bari
Q3519
(Q1355714,P19,c(Q56061))
action filter_type
action find
entity Q1355714
relation P19
type Q56061
[ANSWER] is the birthplace of Gaetano Latilla
['Q1355714', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1355714 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Bari
Bari is the birthplace of Gaetano Latilla
Bari
action filter_type
action find
entity Gaetano Latilla
relation place of birth
type administrative territorial entity
['Gaetano Latilla', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Gaetano_Latilla property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1355714
P1412
Q34770
USER
Which language can Gaetano Latilla read ?
(Q1355714,P1412,c(Q34770))
action filter_type
action find
entity Q1355714
relation P1412
type Q34770
['Q1355714', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q1355714 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Gaetano Latilla
action filter_type
action find
entity Gaetano Latilla
relation languages spoken, written or signed
type language
['Gaetano Latilla', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Gaetano_Latilla property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1355714,P1412,c(Q34770))
action filter_type
action find
entity Q1355714
relation P1412
type Q34770
Gaetano Latilla can read in [ANSWER]
['Q1355714', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q1355714 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Italian
Gaetano Latilla can read in Italian
Italian
action filter_type
action find
entity Gaetano Latilla
relation languages spoken, written or signed
type language
['Gaetano Latilla', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Gaetano_Latilla property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q786720
Q34770
USER
And what about Richard Bright?
(Q786720,P1412,c(Q34770))
action filter_type
action find
entity Q786720
relation P1412
type Q34770
['Q786720', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q786720 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Richard Bright
action filter_type
action find
entity Richard Bright
relation languages spoken, written or signed
type language
['Richard Bright', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Richard_Bright property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q786720,P1412,c(Q34770))
action filter_type
action find
entity Q786720
relation P1412
type Q34770
[ANSWER]
['Q786720', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q786720 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Richard Bright
relation languages spoken, written or signed
type language
['Richard Bright', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Richard_Bright property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages utilizes atleast 1 notations or writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?e WHERE { { ?e property:P282 ?j . ?e rdf:type ontology:Q34770 . ?j rdf:type ontology:Q8192 } UNION { ?j rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 . ?e property:P282 ?j } } GROUP BY ?e } . FILTER ( ?l >= 1 ) }
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?e WHERE { { ?e property:writing_system ?j . ?e rdf:type ontology:language . ?j rdf:type ontology:writing_system } UNION { ?j rdf:type ontology:notation . ?e rdf:type ontology:language . ?e property:writing_system ?j } } GROUP BY ?e } . FILTER ( ?l >= 1 ) }
[]
notation writing system language
Q29572 Q182695 Q1669994
SYSTEM
Avestan, Late Old Japanese, Minoan language
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] utilize atleast 1 notations or writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?e WHERE { { ?e property:P282 ?j . ?e rdf:type ontology:Q34770 . ?j rdf:type ontology:Q8192 } UNION { ?j rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 . ?e property:P282 ?j } } GROUP BY ?e } . FILTER ( ?l >= 1 ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
Avestan, Late Old Japanese and Minoan language utilize atleast 1 notations or writing systems as the writing system
Avestan Late Old Japanese Minoan language
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?e WHERE { { ?e property:writing_system ?j . ?e rdf:type ontology:language . ?j rdf:type ontology:writing_system } UNION { ?j rdf:type ontology:notation . ?e rdf:type ontology:language . ?e property:writing_system ?j } } GROUP BY ?e } . FILTER ( ?l >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are the writing systems used for approximately 1 language ?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P282 ?c . ?c rdf:type ontology:Q8192 . ?j rdf:type ontology:Q34770 } GROUP BY ?c } . FILTER ( ?l = 1 ) }
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:writing_system ?c . ?c rdf:type ontology:writing_system . ?j rdf:type ontology:language } GROUP BY ?c } . FILTER ( ?l = 1 ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS] are the writing systems used for approximately 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P282 ?c . ?c rdf:type ontology:Q8192 . ?j rdf:type ontology:Q34770 } GROUP BY ?c } . FILTER ( ?l = 1 ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are the writing systems used for approximately 1 language
katakana Linear A hiragana
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:writing_system ?c . ?c rdf:type ontology:writing_system . ?j rdf:type ontology:language } GROUP BY ?c } . FILTER ( ?l = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2439
Q25295 Q8192
USER
Which language families are associated with atmost 1 writing system ?
(c(Q8192),P2439,c(Q25295))
action atmost
action find_reverse_tuple_counts
relation P2439
type Q25295
type Q8192
value 1
[{'concept': 'Q8192'}, 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P2439 ?x . ?x rdf:type ontology:Q25295 . ?n rdf:type ontology:Q8192 } GROUP BY ?x } . FILTER ( ?d <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation language
type language family
type writing system
value 1
[{'concept': 'writing system'}, 'language', {'concept': 'language family'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:language ?x . ?x rdf:type ontology:language_family . ?n rdf:type ontology:writing_system } GROUP BY ?x } . FILTER ( ?d <= 1 ) }
[]
language family writing system
Q565110 Q33491 Q28244
SYSTEM
Northern Thai, Haitian Creole, Amharic
Q9288 Q565110 Q35518 Q33491 Q28244
(c(Q8192),P2439,c(Q25295))
action atmost
action find_reverse_tuple_counts
relation P2439
type Q25295
type Q8192
value 1
[ANSWERS] are associated with atmost 1 writing system
[{'concept': 'Q8192'}, 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P2439 ?x . ?x rdf:type ontology:Q25295 . ?n rdf:type ontology:Q8192 } GROUP BY ?x } . FILTER ( ?d <= 1 ) }
Hebrew Northern Thai Akkadian Haitian Creole Amharic
Northern Thai, Haitian Creole and Amharic are associated with atmost 1 writing system
Northern Thai Haitian Creole Amharic
action atmost
action find_reverse_tuple_counts
relation language
type language family
type writing system
value 1
[{'concept': 'writing system'}, 'language', {'concept': 'language family'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:language ?x . ?x rdf:type ontology:language_family . ?n rdf:type ontology:writing_system } GROUP BY ?x } . FILTER ( ?d <= 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1412
Q502895
USER
How many people write that language family ?
(c(Q502895),P1412,Q28244)
[{'concept': 'Q502895'}, 'P1412', 'Q28244']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1412 resource:Q28244 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Amharic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:languages_spoken,_written_or_signed resource:Amharic . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q565110
SYSTEM
Did you mean Northern Thai ?
(c(Q502895),P1412,Q565110) (c(Q502895),P1412,Q33491) (c(Q502895),P1412,Q28244)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q565110'] [{'concept': 'Q502895'}, 'P1412', 'Q33491'] [{'concept': 'Q502895'}, 'P1412', 'Q28244']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1412 resource:Q28244 . ?z rdf:type ontology:Q502895 }
Did you mean Northern Thai ?
Northern Thai
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Northern Thai'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Haitian Creole'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Amharic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:languages_spoken,_written_or_signed resource:Amharic . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Amharic. Could you tell me the answer for that?
(c(Q502895),P1412,Q28244)
Q28244
[{'concept': 'Q502895'}, 'P1412', 'Q28244']
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Amharic']
[]
SYSTEM
18
Q143095 Q3285027 Q335732 Q3663047 Q737191 Q2910139 Q3513711 Q2994996 Q1445784 Q6839075 Q982661 Q3126297 Q2919803 Q117763 Q2919162 Q5614623 Q3058057 Q3701624
(c(Q502895),P1412,Q28244)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q28244']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1412 resource:Q28244 . ?z rdf:type ontology:Q502895 }
Ali Birra Mammo Wudneh Tsegaye Gabre-Medhin Pnina Tamano-Shata Sebhat Gebre-Egziabher Adisu Massala Taddasa Liban Constantin Kaïtéris Jacques Faitlovitch Avraham Neguise Haddis Alemayehu Hama Tuma Mazor Bahaina Giuseppe Caspar Mezzofanti Shlomo Molla Gudina Tumsa Eskinder Nega Shimon Solomon
18
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Amharic']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:languages_spoken,_written_or_signed resource:Amharic . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q33413 Q565110
P282
Q8192
USER
What are the writing systems of Northern Thai or Malvi language known as ?
OR((Q565110,P282,c(Q8192)), (Q33413,P282,c(Q8192)))
action filter_type
action union
action find
entity Q565110
relation P282
action find
entity Q33413
relation P282
type Q8192
{'OR': [['Q565110', 'P282', {'concept': 'Q8192'}], ['Q33413', 'P282', {'concept': 'Q8192'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q565110 property:P282 ?b } UNION { resource:Q33413 property:P282 ?b } } . ?b rdf:type ontology:Q8192 }
Malvi language Northern Thai
action filter_type
action union
action find
entity Northern Thai
relation writing system
action find
entity Malvi language
relation writing system
type writing system
{'OR': [['Northern Thai', 'writing system', {'concept': 'writing system'}], ['Malvi language', 'writing system', {'concept': 'writing system'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Northern_Thai property:writing_system ?b } UNION { resource:Malvi_language property:writing_system ?b } } . ?b rdf:type ontology:writing_system }
[]
writing system
Q1314503 Q38592
SYSTEM
Tai Tham alphabet, Devanagari
Q1314503 Q38592
OR((Q565110,P282,c(Q8192)), (Q33413,P282,c(Q8192)))
action filter_type
action union
action find
entity Q565110
relation P282
action find
entity Q33413
relation P282
type Q8192
The writing systems of Northern are the [ANSWERS]
{'OR': [['Q565110', 'P282', {'concept': 'Q8192'}], ['Q33413', 'P282', {'concept': 'Q8192'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q565110 property:P282 ?b } UNION { resource:Q33413 property:P282 ?b } } . ?b rdf:type ontology:Q8192 }
Tai Tham alphabet Devanagari
The writing systems of Northern are the Tai Tham alphabet and Devanagari
Tai Tham alphabet Devanagari
action filter_type
action union
action find
entity Northern Thai
relation writing system
action find
entity Malvi language
relation writing system
type writing system
{'OR': [['Northern Thai', 'writing system', {'concept': 'writing system'}], ['Malvi language', 'writing system', {'concept': 'writing system'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Northern_Thai property:writing_system ?b } UNION { resource:Malvi_language property:writing_system ?b } } . ?b rdf:type ontology:writing_system }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages are around 1 writing systems and notations the writing system of ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?d rdf:type ?l } GROUP BY ?q } }
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:writing_system ) ( ontology:notation ) } . ?d rdf:type ?l } GROUP BY ?q } }
[]
writing system notation language
Q1669994 Q35470 Q2705672
SYSTEM
Minoan language, Elamite language, Paeonian language
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[ANSWERS] are around 1 writing systems and notations the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?d rdf:type ?l } GROUP BY ?q } }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
Minoan language, Elamite language and Paeonian language are around 1 writing systems and notations the writing system of
Minoan language Elamite language Paeonian language
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:writing_system ) ( ontology:notation ) } . ?d rdf:type ?l } GROUP BY ?q } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages are less number of writing systems the writing system of than that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q2705672
SYSTEM
Did you mean Paeonian language ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Paeonian language ?
Paeonian language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Minoan language. Could you tell me the answer for that?
(c(Q34770),P282,c(Q8192))
Q1669994
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
0
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
0
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19238574 Q1355714
P138 P20
Q56061
USER
Which administrative territories are the places of death of Gaetano Latilla or are Haarlemmermeerpolder named after ?
OR((Q1355714,P20,c(Q56061)), (Q19238574,P138,c(Q56061)))
action filter_type
action union
action find
entity Q1355714
relation P20
action find
entity Q19238574
relation P138
type Q56061
{'OR': [['Q1355714', 'P20', {'concept': 'Q56061'}], ['Q19238574', 'P138', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1355714 property:P20 ?y } UNION { resource:Q19238574 property:P138 ?y } } . ?y rdf:type ontology:Q56061 }
Haarlemmermeerpolder Gaetano Latilla
action filter_type
action union
action find
entity Gaetano Latilla
relation place of death
action find
entity Haarlemmermeerpolder
relation named after
type administrative territorial entity
{'OR': [['Gaetano Latilla', 'place of death', {'concept': 'administrative territorial entity'}], ['Haarlemmermeerpolder', 'named after', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Gaetano_Latilla property:place_of_death ?y } UNION { resource:Haarlemmermeerpolder property:named_after ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9920 Q2634
SYSTEM
Haarlem, Naples
Q9920 Q2634
OR((Q1355714,P20,c(Q56061)), (Q19238574,P138,c(Q56061)))
action filter_type
action union
action find
entity Q1355714
relation P20
action find
entity Q19238574
relation P138
type Q56061
[ANSWERS] are the places of death of Gaetano Latilla or are Haarlemmermeerpolder named after
{'OR': [['Q1355714', 'P20', {'concept': 'Q56061'}], ['Q19238574', 'P138', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1355714 property:P20 ?y } UNION { resource:Q19238574 property:P138 ?y } } . ?y rdf:type ontology:Q56061 }
Haarlem Naples
Haarlem and Naples are the places of death of Gaetano Latilla or are Haarlemmermeerpolder named after
Haarlem Naples
action filter_type
action union
action find
entity Gaetano Latilla
relation place of death
action find
entity Haarlemmermeerpolder
relation named after
type administrative territorial entity
{'OR': [['Gaetano Latilla', 'place of death', {'concept': 'administrative territorial entity'}], ['Haarlemmermeerpolder', 'named after', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Gaetano_Latilla property:place_of_death ?y } UNION { resource:Haarlemmermeerpolder property:named_after ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9920 Q2634
P1376
Q15617994
USER
Which administrative territories have Haarlem and Naples have their center of administration ?
(Q9920,P1376,c(Q15617994)) (Q2634,P1376,c(Q15617994))
action union
action filter_type
action find
entity Q9920
relation P1376
type Q15617994
action filter_type
action find
entity Q2634
relation P1376
type Q15617994
['Q9920', 'P1376', {'concept': 'Q15617994'}] ['Q2634', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?y property:P1376 ?r . VALUES ( ?y ) { ( resource:Q9920 ) ( resource:Q2634 ) } }
Haarlem Naples
action union
action filter_type
action find
entity Haarlem
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Naples
relation capital of
type designation for an administrative territorial entity
['Haarlem', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Naples', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?y property:capital_of ?r . VALUES ( ?y ) { ( resource:Haarlem ) ( resource:Naples ) } }
[]
designation for an administrative territorial entity
Q701 Q1438
SYSTEM
North Holland, Campania
Q701 Q1438
(Q9920,P1376,c(Q15617994)) (Q2634,P1376,c(Q15617994))
action union
action filter_type
action find
entity Q9920
relation P1376
type Q15617994
action filter_type
action find
entity Q2634
relation P1376
type Q15617994
[ANSWERS] have Haarlem and Naples have their center of administration
['Q9920', 'P1376', {'concept': 'Q15617994'}] ['Q2634', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?y property:P1376 ?r . VALUES ( ?y ) { ( resource:Q9920 ) ( resource:Q2634 ) } }
North Holland Campania
North Holland and Campania have Haarlem and Naples have their center of administration
North Holland Campania
action union
action filter_type
action find
entity Haarlem
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Naples
relation capital of
type designation for an administrative territorial entity
['Haarlem', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Naples', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?y property:capital_of ?r . VALUES ( ?y ) { ( resource:Haarlem ) ( resource:Naples ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9920
P237
Q17335294
USER
Which coat of arms serves as the ensign for Haarlem ?
(Q9920,P237,c(Q17335294))
action filter_type
action find
entity Q9920
relation P237
type Q17335294
['Q9920', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?i WHERE { resource:Q9920 property:P237 ?i . ?i rdf:type ontology:Q17335294 }
Haarlem
action filter_type
action find
entity Haarlem
relation coat of arms
type flag or coat of arms
['Haarlem', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?i WHERE { resource:Haarlem property:coat_of_arms ?i . ?i rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2014433
SYSTEM
Coat of arms of Haarlem
Q2014433
(Q9920,P237,c(Q17335294))
action filter_type
action find
entity Q9920
relation P237
type Q17335294
[ANSWER] serves as the ensign for Haarlem
['Q9920', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?i WHERE { resource:Q9920 property:P237 ?i . ?i rdf:type ontology:Q17335294 }
Coat of arms of Haarlem
Coat of arms of Haarlem serves as the ensign for Haarlem
Coat of arms of Haarlem
action filter_type
action find
entity Haarlem
relation coat of arms
type flag or coat of arms
['Haarlem', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?i WHERE { resource:Haarlem property:coat_of_arms ?i . ?i rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9920
P921
Q1792379
USER
Which art genre has Haarlem as its main topic ?
(c(Q1792379),P921,Q9920)
action filter_type
action find_reverse
entity Q9920
relation P921
type Q1792379
[{'concept': 'Q1792379'}, 'P921', 'Q9920']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q9920 . ?k rdf:type ontology:Q1792379 }
Haarlem
action filter_type
action find_reverse
entity Haarlem
relation main subject
type art genre
[{'concept': 'art genre'}, 'main subject', 'Haarlem']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Haarlem . ?k rdf:type ontology:art_genre }
[]
art genre
Q21088117
SYSTEM
Haerlempjes
Q21088117
(c(Q1792379),P921,Q9920)
action filter_type
action find_reverse
entity Q9920
relation P921
type Q1792379
[ANSWER] has Haarlem as its main topic
[{'concept': 'Q1792379'}, 'P921', 'Q9920']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q9920 . ?k rdf:type ontology:Q1792379 }
Haerlempjes
Haerlempjes has Haarlem as its main topic
Haerlempjes
action filter_type
action find_reverse
entity Haarlem
relation main subject
type art genre
[{'concept': 'art genre'}, 'main subject', 'Haarlem']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Haarlem . ?k rdf:type ontology:art_genre }
[]