Simple Question (Direct)
Simple Question
Q528802
P27
Q15617994
USER
Which administrative territory is Henry More an inhabitant of ?
(Q528802,P27,c(Q15617994))
action filter_type
action find
entity Q528802
relation P27
type Q15617994
['Q528802', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q528802 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Henry More
action filter_type
action find
entity Henry More
relation country of citizenship
type designation for an administrative territorial entity
['Henry More', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Henry_More property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q528802,P27,c(Q15617994))
action filter_type
action find
entity Q528802
relation P27
type Q15617994
The [ANSWER] is Henry More an inhabitant of
['Q528802', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q528802 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Henry More an inhabitant of
United Kingdom
action filter_type
action find
entity Henry More
relation country of citizenship
type designation for an administrative territorial entity
['Henry More', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Henry_More property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q528802
P1412
Q34770
USER
Which language can that person understand ?
(Q145,P1412,c(Q34770))
action filter_type
action find
entity Q528802
relation P1412
type Q34770
['Q145', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q528802 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Henry More
action filter_type
action find
entity Henry More
relation languages spoken, written or signed
type language
['United Kingdom', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Henry_More property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q145,P1412,c(Q34770))
action filter_type
action find
entity Q528802
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q145', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q528802 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Henry More
relation languages spoken, written or signed
type language
['United Kingdom', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Henry_More property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q3835817
P364
Q2342494
USER
Is Servant of the Bones known to be originally created in that one language ?
(Q3835817,P364,Q1860)
action is_in
entity Q1860
action find
entity Q3835817
relation P364
['Q3835817', 'P364', 'Q1860']
ASK WHERE { resource:Q3835817 property:P364 resource:Q1860 }
English Servant of the Bones
action is_in
entity English
action find
entity Servant of the Bones
relation original language of work
['Servant of the Bones', 'original language of work', 'English']
ASK WHERE { resource:Servant_of_the_Bones property:original_language_of_work resource:English }
[]
collectable
SYSTEM
YES
(Q3835817,P364,Q1860)
action is_in
entity Q1860
action find
entity Q3835817
relation P364
[ANSWER]
['Q3835817', 'P364', 'Q1860']
ASK WHERE { resource:Q3835817 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Servant of the Bones
relation original language of work
['Servant of the Bones', 'original language of work', 'English']
ASK WHERE { resource:Servant_of_the_Bones property:original_language_of_work resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528802
P734
Q82799
USER
Who is associated with Henry More ?
(Q528802,P734,c(Q82799))
action filter_type
action find
entity Q528802
relation P734
type Q82799
['Q528802', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q528802 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Henry More
action filter_type
action find
entity Henry More
relation family name
type name
['Henry More', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Henry_More property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q14012110
SYSTEM
More
Q14012110
(Q528802,P734,c(Q82799))
action filter_type
action find
entity Q528802
relation P734
type Q82799
[ANSWER] is associated with Henry [ANSWER]
['Q528802', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q528802 property:P734 ?g . ?g rdf:type ontology:Q82799 }
More
More is associated with Henry More
More
action filter_type
action find
entity Henry More
relation family name
type name
['Henry More', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Henry_More property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1732167
Q82799
USER
And how about Karl Linke?
(Q1732167,P734,c(Q82799))
action filter_type
action find
entity Q1732167
relation P734
type Q82799
['Q1732167', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q1732167 property:P734 ?h }
Karl Linke
action filter_type
action find
entity Karl Linke
relation family name
type name
['Karl Linke', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Karl_Linke property:family_name ?h }
[]
name
Q21513180
SYSTEM
Linke
Q21513180
(Q1732167,P734,c(Q82799))
action filter_type
action find
entity Q1732167
relation P734
type Q82799
[ANSWER]
['Q1732167', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q1732167 property:P734 ?h }
Linke
Linke
action filter_type
action find
entity Karl Linke
relation family name
type name
['Karl Linke', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Karl_Linke property:family_name ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1732167
P19
Q486972
USER
Which human settlement was that person born in ?
(Q21513180,P19,c(Q486972))
action filter_type
action find
entity Q1732167
relation P19
type Q486972
['Q21513180', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q1732167 property:P19 ?d . ?d rdf:type ontology:Q486972 }
Karl Linke
action filter_type
action find
entity Karl Linke
relation place of birth
type human settlement
['Linke', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Karl_Linke property:place_of_birth ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q695574
SYSTEM
Bennungen
Q695574
(Q21513180,P19,c(Q486972))
action filter_type
action find
entity Q1732167
relation P19
type Q486972
That person was born in [ANSWER]
['Q21513180', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q1732167 property:P19 ?d . ?d rdf:type ontology:Q486972 }
Bennungen
That person was born in Bennungen
Bennungen
action filter_type
action find
entity Karl Linke
relation place of birth
type human settlement
['Linke', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Karl_Linke property:place_of_birth ?d . ?d rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q13220204
USER
Which administrative country subdivisions are sister town of approximately 1 human settlement ?
(c(Q13220204),P190,c(Q486972))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 1
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { ?b property:P190 ?u . ?b rdf:type ontology:Q13220204 . ?u rdf:type ontology:Q486972 } GROUP BY ?b } . FILTER ( ?t = 1 ) }
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 1
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { ?b property:sister_city ?u . ?b rdf:type ontology:second-level_administrative_country_subdivision . ?u rdf:type ontology:human_settlement } GROUP BY ?b } . FILTER ( ?t = 1 ) }
[]
human settlement second-level administrative country subdivision
Q9772 Q101918 Q1435
SYSTEM
Meerssen, Apeldoorn, Zagreb
Q67348 Q729447 Q161144 Q69203 Q192606 Q7903 Q147739 Q5420 Q64077 Q9772 Q9777 Q68986 Q450625 Q48278 Q156719 Q156711 Q157440 Q208499 Q51111 Q189419 Q744247 Q69819 Q66132 Q66433 Q648489 Q1442335 Q156724 Q951897 Q538953 Q101918 Q64865 Q157055 Q157053 Q2933 Q65512 Q1435 Q67705 Q9932 Q43048 Q750594 Q66633
(c(Q13220204),P190,c(Q486972))
action approx
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 1
[ANSWERS] are sister town of approximately 1 human settlement
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { ?b property:P190 ?u . ?b rdf:type ontology:Q13220204 . ?u rdf:type ontology:Q486972 } GROUP BY ?b } . FILTER ( ?t = 1 ) }
Gansingen Dobele Alchevsk Erlenbach Leskovac Casablanca Izmail Varaždin Wil Meerssen Venlo St. Moritz Alytus Antioquia - Medellín Kamianske Uzhhorod Truskavets Uman Pereira Zemun Saldus Dürrenroth Erlenbach im Simmental Eiken Loznica Manzanares Kremenchuk Chiquinquirá La Vega Apeldoorn Bischofszell Cherkasy Chernihiv Asunción Oberembrach Zagreb Schmitten Heiloo Rhodes Guarda Kilchberg
Meerssen, Apeldoorn and Zagreb are sister town of approximately 1 human settlement
Meerssen Apeldoorn Zagreb
action approx
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 1
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { ?b property:sister_city ?u . ?b rdf:type ontology:second-level_administrative_country_subdivision . ?u rdf:type ontology:human_settlement } GROUP BY ?b } . FILTER ( ?t = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21941462 Q695574
P17
Q1048835
USER
Which political territories are Bennungen or Mount Nicker present in ?
OR((Q695574,P17,c(Q1048835)), (Q21941462,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q695574
relation P17
action find
entity Q21941462
relation P17
type Q1048835
{'OR': [['Q695574', 'P17', {'concept': 'Q1048835'}], ['Q21941462', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q21941462 property:P17 ?e } UNION { resource:Q695574 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Mount Nicker Bennungen
action filter_type
action union
action find
entity Bennungen
relation country
action find
entity Mount Nicker
relation country
type political territorial entity
{'OR': [['Bennungen', 'country', {'concept': 'political territorial entity'}], ['Mount Nicker', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mount_Nicker property:country ?e } UNION { resource:Bennungen property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q695574,P17,c(Q1048835)), (Q21941462,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q695574
relation P17
action find
entity Q21941462
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q695574', 'P17', {'concept': 'Q1048835'}], ['Q21941462', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q21941462 property:P17 ?e } UNION { resource:Q695574 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Australia Germany
Which political territories are Bennungen or Mount Nicker present in
Australia Germany
action filter_type
action union
action find
entity Bennungen
relation country
action find
entity Mount Nicker
relation country
type political territorial entity
{'OR': [['Bennungen', 'country', {'concept': 'political territorial entity'}], ['Mount Nicker', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mount_Nicker property:country ?e } UNION { resource:Bennungen property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q1048835 Q15324 Q1048835
USER
How many political territories are located in atleast 1 political territories and bodies of water ?
(c(Q1048835),P706,c(Q1048835)|c(Q15324))
action count
action atleast
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q15324
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?t ) WHERE { { ?b property:P706 ?h . ?b rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } UNION { ?b property:P706 ?h . ?b rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?t >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?t ) WHERE { { ?b property:located_on_terrain_feature ?h . ?b rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } UNION { ?b property:located_on_terrain_feature ?h . ?b rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?t >= 1 ) }
[]
political territorial entity body of water political territorial entity
SYSTEM
3
Q9676 Q168159 Q9337
(c(Q1048835),P706,c(Q1048835)|c(Q15324))
action count
action atleast
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q15324
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?t ) WHERE { { ?b property:P706 ?h . ?b rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } UNION { ?b property:P706 ?h . ?b rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?t >= 1 ) }
Isle of Man Anglesey Flemish Region
3
action count
action atleast
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?t ) WHERE { { ?b property:located_on_terrain_feature ?h . ?b rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } UNION { ?b property:located_on_terrain_feature ?h . ?b rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?t >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20972034
P282
Q2001982 Q8192 Q34770
USER
Which languages use lesser number of notations and writing systems as the writing system than Classic Greek ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
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 Q20972034
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?k WHERE { { ?k property:P282 ?s . ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q2001982 } UNION { ?k property:P282 ?s . ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q8192 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q20972034 property:P282 ?v } } . FILTER ( ?i < ?a ) }
Classic Greek
action less
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 Classic Greek
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?k WHERE { { ?k property:writing_system ?s . ?k rdf:type ontology:language . ?s rdf:type ontology:notation } UNION { ?k property:writing_system ?s . ?k rdf:type ontology:language . ?s rdf:type ontology:writing_system } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Classic_Greek property:writing_system ?v } } . FILTER ( ?i < ?a ) }
[]
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 less
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 Q20972034
relation P282
type Q2001982
type Q8192
[ANSWERS] use lesser number of notations and writing systems as the writing system than Classic Greek
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?k WHERE { { ?k property:P282 ?s . ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q2001982 } UNION { ?k property:P282 ?s . ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q8192 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q20972034 property:P282 ?v } } . FILTER ( ?i < ?a ) }
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 and Norn use lesser number of notations and writing systems as the writing system than Classic Greek
English Old Egyptian Norn
action less
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 Classic Greek
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?k WHERE { { ?k property:writing_system ?s . ?k rdf:type ontology:language . ?s rdf:type ontology:notation } UNION { ?k property:writing_system ?s . ?k rdf:type ontology:language . ?s rdf:type ontology:writing_system } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Classic_Greek property:writing_system ?v } } . FILTER ( ?i < ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q36751
P282
Q2001982 Q8192 Q34770
USER
And also tell me about Phrygian language?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action less
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 Q36751
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?m WHERE { { ?m property:P282 ?h . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q8192 } UNION { ?m property:P282 ?h . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q2001982 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q36751 property:P282 ?x } } . FILTER ( ?p < ?z ) }
Phrygian language
action less
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 Phrygian language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?m WHERE { { ?m property:writing_system ?h . ?m rdf:type ontology:language . ?h rdf:type ontology:writing_system } UNION { ?m property:writing_system ?h . ?m rdf:type ontology:language . ?h rdf:type ontology:notation } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Phrygian_language property:writing_system ?x } } . FILTER ( ?p < ?z ) }
[]
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 less
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 Q36751
relation P282
type Q2001982
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?m WHERE { { ?m property:P282 ?h . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q8192 } UNION { ?m property:P282 ?h . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q2001982 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q36751 property:P282 ?x } } . FILTER ( ?p < ?z ) }
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 less
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 Phrygian language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?m WHERE { { ?m property:writing_system ?h . ?m rdf:type ontology:language . ?h rdf:type ontology:writing_system } UNION { ?m property:writing_system ?h . ?m rdf:type ontology:language . ?h rdf:type ontology:notation } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Phrygian_language property:writing_system ?x } } . FILTER ( ?p < ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11655718 Q36708
P27 P17
Q15617994
USER
Which administrative territories are Norn situated in or are the native countriesof Ayako Sekiya ?
OR((Q36708,P17,c(Q15617994)), (Q11655718,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q36708
relation P17
action find
entity Q11655718
relation P27
type Q15617994
{'OR': [['Q36708', 'P17', {'concept': 'Q15617994'}], ['Q11655718', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q36708 property:P17 ?p } UNION { resource:Q11655718 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Ayako Sekiya Norn
action filter_type
action union
action find
entity Norn
relation country
action find
entity Ayako Sekiya
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ayako Sekiya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Norn property:country ?p } UNION { resource:Ayako_Sekiya property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q36708,P17,c(Q15617994)), (Q11655718,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q36708
relation P17
action find
entity Q11655718
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q36708', 'P17', {'concept': 'Q15617994'}], ['Q11655718', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q36708 property:P17 ?p } UNION { resource:Q11655718 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Japan United Kingdom
Which administrative territories are Norn situated in or are the native countriesof Ayako Sekiya
Japan United Kingdom
action filter_type
action union
action find
entity Norn
relation country
action find
entity Ayako Sekiya
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ayako Sekiya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Norn property:country ?p } UNION { resource:Ayako_Sekiya property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q710
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of administrative territories than Kiribati ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q710
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?d ) WHERE { ?v property:P530 ?j . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P530 resource:Q710 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?z ) }
Kiribati
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?d ) WHERE { ?v property:diplomatic_relation ?j . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:diplomatic_relation resource:Kiribati . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q710
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of administrative territories than Kiribati
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?d ) WHERE { ?v property:P530 ?j . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P530 resource:Q710 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?z ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relationships with less number of administrative territories than Kiribati
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?d ) WHERE { ?v property:diplomatic_relation ?j . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:diplomatic_relation resource:Kiribati . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q784
P530
Q15617994 Q15617994
USER
And also tell me about Dominica?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q784
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?v ) WHERE { ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?h property:P530 ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:Q15617994 . ?m property:P530 resource:Q784 } } . FILTER ( ?v < ?c ) }
Dominica
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Dominica
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?v ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation resource:Dominica } } . FILTER ( ?v < ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q784
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?v ) WHERE { ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?h property:P530 ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:Q15617994 . ?m property:P530 resource:Q784 } } . FILTER ( ?v < ?c ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Dominica
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?v ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation resource:Dominica } } . FILTER ( ?v < ?c ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q29999
P127
Q43229
USER
Which organization belongs to that administrative territory ?
(c(Q43229),P127,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q29999']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q29999 . ?x rdf:type ontology:Q43229 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Kingdom_of_the_Netherlands . ?x rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q29999
SYSTEM
Did you mean Kingdom of the Netherlands ?
Q929 Q29999 Q232
(c(Q43229),P127,Q929) (c(Q43229),P127,Q29999) (c(Q43229),P127,Q232)
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q929'] [{'concept': 'Q43229'}, 'P127', 'Q29999'] [{'concept': 'Q43229'}, 'P127', 'Q232']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q29999 . ?x rdf:type ontology:Q43229 }
Central African Republic Kingdom of the Netherlands Kazakhstan
Did you mean Kingdom of the Netherlands ?
Kingdom of the Netherlands
[{'concept': 'organization'}, 'owned by', 'Central African Republic'] [{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands'] [{'concept': 'organization'}, 'owned by', 'Kazakhstan']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Kingdom_of_the_Netherlands . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P127,Q29999)
[{'concept': 'Q43229'}, 'P127', 'Q29999']
[{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands']
[]
Q287471
SYSTEM
ABN AMRO
Q287471
(c(Q43229),P127,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P127
type Q43229
[ANSWER] belongs to that administrative territory
[{'concept': 'Q43229'}, 'P127', 'Q29999']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q29999 . ?x rdf:type ontology:Q43229 }
ABN AMRO
ABN AMRO belongs to that administrative territory
ABN AMRO
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Kingdom_of_the_Netherlands . ?x rdf:type ontology:organization }
[]