Simple Question (Direct)
Simple Question
Q957748
P1412
Q34770
USER
Which language can Ricardo López Murphy read ?
(Q957748,P1412,c(Q34770))
action filter_type
action find
entity Q957748
relation P1412
type Q34770
['Q957748', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q957748 property:P1412 ?t }
Ricardo López Murphy
action filter_type
action find
entity Ricardo López Murphy
relation languages spoken, written or signed
type language
['Ricardo López Murphy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Ricardo_López_Murphy property:languages_spoken,_written_or_signed ?t }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q957748,P1412,c(Q34770))
action filter_type
action find
entity Q957748
relation P1412
type Q34770
Ricardo López Murphy can read in [ANSWER]
['Q957748', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q957748 property:P1412 ?t }
Spanish
Ricardo López Murphy can read in Spanish
Spanish
action filter_type
action find
entity Ricardo López Murphy
relation languages spoken, written or signed
type language
['Ricardo López Murphy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Ricardo_López_Murphy property:languages_spoken,_written_or_signed ?t }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q321083
P282
Q2001982 Q34770
USER
Which notations are the writing systems used for around the same number of languages as Coptic alphabet ?
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q321083
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q321083 property:P282 ?x . ?x rdf:type ontology:Q2001982 } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P282 ?f . ?f rdf:type ontology:Q2001982 . ?a rdf:type ontology:Q34770 } GROUP BY ?f } }
Coptic alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Coptic alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Coptic_alphabet property:writing_system ?x . ?x rdf:type ontology:notation } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:writing_system ?f . ?f rdf:type ontology:notation . ?a rdf:type ontology:language } GROUP BY ?f } }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q321083
relation P282
type Q2001982
[ANSWERS] are the writing systems used for around the same number of languages as Coptic alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q321083 property:P282 ?x . ?x rdf:type ontology:Q2001982 } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P282 ?f . ?f rdf:type ontology:Q2001982 . ?a rdf:type ontology:Q34770 } GROUP BY ?f } }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth, Tengwar and Sarati are the writing systems used for around the same number of languages as Coptic alphabet
Cirth Tengwar Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Coptic alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Coptic_alphabet property:writing_system ?x . ?x rdf:type ontology:notation } } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:writing_system ?f . ?f rdf:type ontology:notation . ?a rdf:type ontology:language } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q209764
P282
Q2001982 Q34770
USER
And how about Rongorongo?
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q209764
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q209764 property:P282 ?c . ?c rdf:type ontology:Q2001982 } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { ?z rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 . ?w property:P282 ?z } GROUP BY ?z } }
Rongorongo
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Rongorongo
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Rongorongo property:writing_system ?c . ?c rdf:type ontology:notation } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { ?z rdf:type ontology:notation . ?w rdf:type ontology:language . ?w property:writing_system ?z } GROUP BY ?z } }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q209764
relation P282
type Q2001982
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q209764 property:P282 ?c . ?c rdf:type ontology:Q2001982 } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { ?z rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 . ?w property:P282 ?z } GROUP BY ?z } }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth Tengwar Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Rongorongo
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Rongorongo property:writing_system ?c . ?c rdf:type ontology:notation } } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?s ) WHERE { ?z rdf:type ontology:notation . ?w rdf:type ontology:language . ?w property:writing_system ?z } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q957748
P39
Q192350
USER
What was the position held by Ricardo López Murphy ?
(Q957748,P39,c(Q192350))
action filter_type
action find
entity Q957748
relation P39
type Q192350
['Q957748', 'P39', {'concept': 'Q192350'}]
SELECT DISTINCT ?l WHERE { resource:Q957748 property:P39 ?l . ?l rdf:type ontology:Q192350 }
Ricardo López Murphy
action filter_type
action find
entity Ricardo López Murphy
relation position held
type ministry
['Ricardo López Murphy', 'position held', {'concept': 'ministry'}]
SELECT DISTINCT ?l WHERE { resource:Ricardo_López_Murphy property:position_held ?l . ?l rdf:type ontology:ministry }
[]
ministry
Q2601742
SYSTEM
Ministry of Defense
Q2601742
(Q957748,P39,c(Q192350))
action filter_type
action find
entity Q957748
relation P39
type Q192350
The position held by Ricardo López Murphy was the [ANSWER]
['Q957748', 'P39', {'concept': 'Q192350'}]
SELECT DISTINCT ?l WHERE { resource:Q957748 property:P39 ?l . ?l rdf:type ontology:Q192350 }
Ministry of Defense
The position held by Ricardo López Murphy was the Ministry of Defense
Ministry of Defense
action filter_type
action find
entity Ricardo López Murphy
relation position held
type ministry
['Ricardo López Murphy', 'position held', {'concept': 'ministry'}]
SELECT DISTINCT ?l WHERE { resource:Ricardo_López_Murphy property:position_held ?l . ?l rdf:type ontology:ministry }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2601742
P176
Q3389302
USER
What was produced by that ministry ?
(c(Q3389302),P176,Q2601742)
action filter_type
action find_reverse
entity Q2601742
relation P176
type Q3389302
[{'concept': 'Q3389302'}, 'P176', 'Q2601742']
SELECT DISTINCT ?l WHERE { ?l property:P176 resource:Q2601742 . ?l rdf:type ontology:Q3389302 }
Ministry of Defense
action filter_type
action find_reverse
entity Ministry of Defense
relation manufacturer
type semi-automatic pistol
[{'concept': 'semi-automatic pistol'}, 'manufacturer', 'Ministry of Defense']
SELECT DISTINCT ?l WHERE { ?l property:manufacturer resource:Ministry_of_Defense . ?l rdf:type ontology:semi-automatic_pistol }
[]
semi-automatic pistol
Q15057146
SYSTEM
Colt Pistol Model 1927
Q15057146
(c(Q3389302),P176,Q2601742)
action filter_type
action find_reverse
entity Q2601742
relation P176
type Q3389302
[ANSWER] was produced by that ministry
[{'concept': 'Q3389302'}, 'P176', 'Q2601742']
SELECT DISTINCT ?l WHERE { ?l property:P176 resource:Q2601742 . ?l rdf:type ontology:Q3389302 }
Colt Pistol Model 1927
Colt Pistol Model 1927 was produced by that ministry
Colt Pistol Model 1927
action filter_type
action find_reverse
entity Ministry of Defense
relation manufacturer
type semi-automatic pistol
[{'concept': 'semi-automatic pistol'}, 'manufacturer', 'Ministry of Defense']
SELECT DISTINCT ?l WHERE { ?l property:manufacturer resource:Ministry_of_Defense . ?l rdf:type ontology:semi-automatic_pistol }
[]