Simple Question (Direct)
Simple Question
Q11717806
P27
Q15617994
USER
Which administrative territory is Jan Jaskólski an inhabitant of ?
(Q11717806,P27,c(Q15617994))
action filter_type
action find
entity Q11717806
relation P27
type Q15617994
['Q11717806', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11717806 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Jan Jaskólski
action filter_type
action find
entity Jan Jaskólski
relation country of citizenship
type designation for an administrative territorial entity
['Jan Jaskólski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jan_Jaskólski property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11717806,P27,c(Q15617994))
action filter_type
action find
entity Q11717806
relation P27
type Q15617994
[ANSWER] is Jan Jaskólski an inhabitant of
['Q11717806', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11717806 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Poland
Poland is Jan Jaskólski an inhabitant of
Poland
action filter_type
action find
entity Jan Jaskólski
relation country of citizenship
type designation for an administrative territorial entity
['Jan Jaskólski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jan_Jaskólski property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11717806
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q36,P641,c(Q31629))
action filter_type
action find
entity Q11717806
relation P641
type Q31629
['Q36', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q11717806 property:P641 ?h . ?h rdf:type ontology:Q31629 }
Jan Jaskólski
action filter_type
action find
entity Jan Jaskólski
relation sport
type type of sport
['Poland', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Jaskólski property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q36,P641,c(Q31629))
action filter_type
action find
entity Q11717806
relation P641
type Q31629
The [ANSWER] was that person a part of
['Q36', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q11717806 property:P641 ?h . ?h rdf:type ontology:Q31629 }
athletics
The athletics was that person a part of
athletics
action filter_type
action find
entity Jan Jaskólski
relation sport
type type of sport
['Poland', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Jaskólski property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q465324 Q11717806
P106
Q151885
USER
Which concepts have Jan Jaskólski or Qiu Jin as his/her as a career ?
OR((Q11717806,P106,c(Q151885)), (Q465324,P106,c(Q151885)))
action filter_type
action union
action find
entity Q11717806
relation P106
action find
entity Q465324
relation P106
type Q151885
{'OR': [['Q11717806', 'P106', {'concept': 'Q151885'}], ['Q465324', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . { VALUES ( ?b ) { ( resource:Q11717806 ) ( resource:Q465324 ) } . ?b property:P106 ?f } }
Qiu Jin Jan Jaskólski
action filter_type
action union
action find
entity Jan Jaskólski
relation occupation
action find
entity Qiu Jin
relation occupation
type concept
{'OR': [['Jan Jaskólski', 'occupation', {'concept': 'concept'}], ['Qiu Jin', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . { VALUES ( ?b ) { ( resource:Jan_Jaskólski ) ( resource:Qiu_Jin ) } . ?b property:occupation ?f } }
[]
concept
Q11513337 Q16830344
SYSTEM
athletics competitor, feminist
Q11513337 Q16830344
OR((Q11717806,P106,c(Q151885)), (Q465324,P106,c(Q151885)))
action filter_type
action union
action find
entity Q11717806
relation P106
action find
entity Q465324
relation P106
type Q151885
As [ANSWERS] have Jan Jaskólski or Qiu Jin as his/her as a career
{'OR': [['Q11717806', 'P106', {'concept': 'Q151885'}], ['Q465324', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . { VALUES ( ?b ) { ( resource:Q11717806 ) ( resource:Q465324 ) } . ?b property:P106 ?f } }
athletics competitor feminist
As athletics competitor and feminist have Jan Jaskólski or Qiu Jin as his/her as a career
athletics competitor feminist
action filter_type
action union
action find
entity Jan Jaskólski
relation occupation
action find
entity Qiu Jin
relation occupation
type concept
{'OR': [['Jan Jaskólski', 'occupation', {'concept': 'concept'}], ['Qiu Jin', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . { VALUES ( ?b ) { ( resource:Jan_Jaskólski ) ( resource:Qiu_Jin ) } . ?b property:occupation ?f } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q151885 Q11060274 Q3516658
USER
How many concepts are expressed in greater number of prints and heraldic symbols than that concept ?
(c(Q11060274)|c(Q3516658),P180,c(Q151885))
[[{'concept': 'Q11060274'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q11060274 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q3516658 }
[[{'concept': 'print'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:print . ?y rdf:type ontology:concept . ?x rdf:type ontology:heraldic_symbol }
[]
concept print heraldic symbol
Comparative|Count over More/Less|Mult. entity type|Clarification
Q11513337
SYSTEM
Did you mean athletics competitor ?
(c(Q11060274)|c(Q3516658),P180,c(Q151885))
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q11060274 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q3516658 }
Did you mean athletics competitor ?
athletics competitor
[[{'concept': 'print'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:print . ?y rdf:type ontology:concept . ?x rdf:type ontology:heraldic_symbol }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q11060274)|c(Q3516658),P180,c(Q151885))
[[{'concept': 'Q11060274'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q151885'}]
[[{'concept': 'print'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'concept'}]
[]
SYSTEM
9
Q193373 Q8436 Q467 Q189829 Q527 Q8441 Q327055 Q2083958 Q1862087
(c(Q11060274)|c(Q3516658),P180,c(Q151885))
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q11060274 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q3516658 }
Gordian knot family woman hermit sky man worker pattern prisoner
9
[[{'concept': 'print'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:print . ?y rdf:type ontology:concept . ?x rdf:type ontology:heraldic_symbol }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q234460 Q2342494
USER
Which people illustrated around 9 texts or collectables ?
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 9
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?r ) WHERE { { ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q234460 . ?f property:P110 ?e } UNION { ?f property:P110 ?e . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } } GROUP BY ?e } . FILTER ( ?r = 9 ) }
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 9
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?r ) WHERE { { ?e rdf:type ontology:common_name . ?f rdf:type ontology:text . ?f property:illustrator ?e } UNION { ?f property:illustrator ?e . ?e rdf:type ontology:common_name . ?f rdf:type ontology:collectable } } GROUP BY ?e } . FILTER ( ?r = 9 ) }
[]
common name text collectable
Q6830363 Q583275 Q5079712
SYSTEM
Michael Foreman, Édouard Riou, Charles Keeping
Q5335747 Q5079712 Q721300 Q6830363 Q3445791 Q1335436 Q7925680 Q5349456 Q956622 Q3509579 Q2550486 Q3379681 Q6112682 Q7609173 Q7945798 Q3908954 Q5703123 Q6686982 Q5006967 Q583275 Q6513147 Q5233345 Q2532830 Q5524826 Q2737410 Q273322
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 9
[ANSWERS] illustrated around 9 texts or collectables
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?r ) WHERE { { ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q234460 . ?f property:P110 ?e } UNION { ?f property:P110 ?e . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } } GROUP BY ?e } . FILTER ( ?r = 9 ) }
Edd Cartier Charles Keeping Dave McKean Michael Foreman Roy Krenkel Jeff Smith Victor Ambrus Eileen Soper Tony Ross Jules Férat Dav Pilkey Philippe Daure Jack Gaughan Stephen Fabian W. Lindsay Cable John Rocco Helen Sewell Louis Darling C. Walter Hodges Édouard Riou Lee Brown Coye David Elliot Martin Handford Gary Chalk Hablot Knight Browne Eva Eriksson
Michael Foreman, Édouard Riou and Charles Keeping illustrated around 9 texts or collectables
Michael Foreman Édouard Riou Charles Keeping
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 9
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?r ) WHERE { { ?e rdf:type ontology:common_name . ?f rdf:type ontology:text . ?f property:illustrator ?e } UNION { ?f property:illustrator ?e . ?e rdf:type ontology:common_name . ?f rdf:type ontology:collectable } } GROUP BY ?e } . FILTER ( ?r = 9 ) }
[]