Simple Question (Direct)
Simple Question
Q11365872
P734
Q82799
USER
Who has the surname Yusuke Nakamura ?
(Q11365872,P734,c(Q82799))
action filter_type
action find
entity Q11365872
relation P734
type Q82799
['Q11365872', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q11365872 property:P734 ?u }
Yusuke Nakamura
action filter_type
action find
entity Yusuke Nakamura
relation family name
type name
['Yusuke Nakamura', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Yusuke_Nakamura property:family_name ?u }
[]
name
Q16877755
SYSTEM
Nakamura
Q16877755
(Q11365872,P734,c(Q82799))
action filter_type
action find
entity Q11365872
relation P734
type Q82799
[ANSWER] has the surname Yusuke [ANSWER]
['Q11365872', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q11365872 property:P734 ?u }
Nakamura
Nakamura has the surname Yusuke Nakamura
Nakamura
action filter_type
action find
entity Yusuke Nakamura
relation family name
type name
['Yusuke Nakamura', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Yusuke_Nakamura property:family_name ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11365872
P98
Q21114848
USER
What was edited by Yusuke Nakamura ?
(c(Q21114848),P98,Q11365872)
action filter_type
action find_reverse
entity Q11365872
relation P98
type Q21114848
[{'concept': 'Q21114848'}, 'P98', 'Q11365872']
SELECT DISTINCT ?i WHERE { ?i property:P98 resource:Q11365872 . ?i rdf:type ontology:Q21114848 }
Yusuke Nakamura
action filter_type
action find_reverse
entity Yusuke Nakamura
relation editor
type magazine genre
[{'concept': 'magazine genre'}, 'editor', 'Yusuke Nakamura']
SELECT DISTINCT ?i WHERE { ?i property:editor resource:Yusuke_Nakamura . ?i rdf:type ontology:magazine_genre }
[]
magazine genre
Q326125
SYSTEM
Cancer Science
Q326125
(c(Q21114848),P98,Q11365872)
action filter_type
action find_reverse
entity Q11365872
relation P98
type Q21114848
Into [ANSWER] was edited by Yusuke Nakamura
[{'concept': 'Q21114848'}, 'P98', 'Q11365872']
SELECT DISTINCT ?i WHERE { ?i property:P98 resource:Q11365872 . ?i rdf:type ontology:Q21114848 }
Cancer Science
Into Cancer Science was edited by Yusuke Nakamura
Cancer Science
action filter_type
action find_reverse
entity Yusuke Nakamura
relation editor
type magazine genre
[{'concept': 'magazine genre'}, 'editor', 'Yusuke Nakamura']
SELECT DISTINCT ?i WHERE { ?i property:editor resource:Yusuke_Nakamura . ?i rdf:type ontology:magazine_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11365872
P21
Q290
USER
What is the sex of Yusuke Nakamura ?
(Q11365872,P21,c(Q290))
action filter_type
action find
entity Q11365872
relation P21
type Q290
['Q11365872', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q11365872 property:P21 ?h }
Yusuke Nakamura
action filter_type
action find
entity Yusuke Nakamura
relation gender
type sex
['Yusuke Nakamura', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Yusuke_Nakamura property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11365872,P21,c(Q290))
action filter_type
action find
entity Q11365872
relation P21
type Q290
The sex of Yusuke Nakamura is a [ANSWER]
['Q11365872', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q11365872 property:P21 ?h }
male
The sex of Yusuke Nakamura is a male
male
action filter_type
action find
entity Yusuke Nakamura
relation gender
type sex
['Yusuke Nakamura', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Yusuke_Nakamura property:gender ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12260043
Q290
USER
And also tell me about Iñaki Gil Diaz de Argote?
(Q12260043,P21,c(Q290))
action filter_type
action find
entity Q12260043
relation P21
type Q290
['Q12260043', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q12260043 property:P21 ?w . ?w rdf:type ontology:Q290 }
Iñaki Gil Diaz de Argote
action filter_type
action find
entity Iñaki Gil Diaz de Argote
relation gender
type sex
['Iñaki Gil Diaz de Argote', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Iñaki_Gil_Diaz_de_Argote property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12260043,P21,c(Q290))
action filter_type
action find
entity Q12260043
relation P21
type Q290
[ANSWER]
['Q12260043', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q12260043 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Iñaki Gil Diaz de Argote
relation gender
type sex
['Iñaki Gil Diaz de Argote', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Iñaki_Gil_Diaz_de_Argote property:gender ?w . ?w rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do less number of people belong to than that sex ?
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P21 ?p . ?p rdf:type ontology:Q290 . ?j rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?g < ?r ) }
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:gender ?p . ?p rdf:type ontology:sex . ?j rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:gender resource:male . ?m rdf:type ontology:common_name } } . FILTER ( ?g < ?r ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
Less number of people belong to a [ANSWER] than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P21 ?p . ?p rdf:type ontology:Q290 . ?j rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?g < ?r ) }
female
Less number of people belong to a female than that sex
female
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:gender ?p . ?p rdf:type ontology:sex . ?j rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:gender resource:male . ?m rdf:type ontology:common_name } } . FILTER ( ?g < ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q3305213 Q17335294
USER
Which names are expressed in max number of paintings and coats of arms ?
(c(Q3305213)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[[{'concept': 'Q3305213'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P180 ?y . ?y rdf:type ontology:Q82799 . ?n rdf:type ontology:Q3305213 } UNION { ?n property:P180 ?y . ?n rdf:type ontology:Q17335294 . ?y rdf:type ontology:Q82799 } } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3305213 ) ( ontology:Q17335294 ) } } GROUP BY ?d } . FILTER ( ?g = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'painting'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:depicts ?y . ?y rdf:type ontology:name . ?n rdf:type ontology:painting } UNION { ?n property:depicts ?y . ?n rdf:type ontology:flag_or_coat_of_arms . ?y rdf:type ontology:name } } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:painting ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?d } . FILTER ( ?g = ?o ) }
[]
name painting flag or coat of arms
Q726
SYSTEM
horse
Q726
(c(Q3305213)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
The [ANSWER] is expressed in max number of paintings and coats of arms
[[{'concept': 'Q3305213'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P180 ?y . ?y rdf:type ontology:Q82799 . ?n rdf:type ontology:Q3305213 } UNION { ?n property:P180 ?y . ?n rdf:type ontology:Q17335294 . ?y rdf:type ontology:Q82799 } } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3305213 ) ( ontology:Q17335294 ) } } GROUP BY ?d } . FILTER ( ?g = ?o ) }
horse
The horse is expressed in max number of paintings and coats of arms
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'painting'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:depicts ?y . ?y rdf:type ontology:name . ?n rdf:type ontology:painting } UNION { ?n property:depicts ?y . ?n rdf:type ontology:flag_or_coat_of_arms . ?y rdf:type ontology:name } } GROUP BY ?y } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:painting ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?d } . FILTER ( ?g = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q10498031
P407
Q34770 Q82799
USER
How many languages are the languages of work for greater number of names than Old East Norse ?
(c(Q82799),P407,c(Q34770))
action count
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q10498031
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q82799 . ?r rdf:type ontology:Q34770 . ?x property:P407 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q10498031 property:P407 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?g > ?j ) }
Old East Norse
action count
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old East Norse
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:name . ?r rdf:type ontology:language . ?x property:language_of_work_or_name ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Old_East_Norse property:language_of_work_or_name ?i . ?i rdf:type ontology:language } } . FILTER ( ?g > ?j ) }
[]
language name
SYSTEM
10
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action count
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q10498031
relation P407
type Q34770
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q82799 . ?r rdf:type ontology:Q34770 . ?x property:P407 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q10498031 property:P407 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?g > ?j ) }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
10
action count
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old East Norse
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:name . ?r rdf:type ontology:language . ?x property:language_of_work_or_name ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Old_East_Norse property:language_of_work_or_name ?i . ?i rdf:type ontology:language } } . FILTER ( ?g > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q56982
P407
Q34770 Q82799
USER
And what about Judaeo-Portuguese?
(c(Q82799),P407,c(Q34770))
action count
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q56982
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P407 ?v . ?z rdf:type ontology:Q82799 . ?v rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ontology:Q34770 . resource:Q56982 property:P407 ?q } } . FILTER ( ?w > ?i ) }
Judaeo-Portuguese
action count
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Judaeo-Portuguese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:language_of_work_or_name ?v . ?z rdf:type ontology:name . ?v rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ontology:language . resource:Judaeo-Portuguese property:language_of_work_or_name ?q } } . FILTER ( ?w > ?i ) }
[]
language name
SYSTEM
8
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505
(c(Q82799),P407,c(Q34770))
action count
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q56982
relation P407
type Q34770
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P407 ?v . ?z rdf:type ontology:Q82799 . ?v rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ontology:Q34770 . resource:Q56982 property:P407 ?q } } . FILTER ( ?w > ?i ) }
English Armenian Spanish Latin Czech Basque Italian Old Norse language
8
action count
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Judaeo-Portuguese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:language_of_work_or_name ?v . ?z rdf:type ontology:name . ?v rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ontology:language . resource:Judaeo-Portuguese property:language_of_work_or_name ?q } } . FILTER ( ?w > ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q726
P366
Q31629
USER
What is considered as the main functionality of horse ?
(Q726,P366,c(Q31629))
action filter_type
action find
entity Q726
relation P366
type Q31629
['Q726', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q726 property:P366 ?e . ?e rdf:type ontology:Q31629 }
horse
action filter_type
action find
entity horse
relation use
type type of sport
['horse', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:horse property:use ?e . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q179226
SYSTEM
equestrianism
Q179226
(Q726,P366,c(Q31629))
action filter_type
action find
entity Q726
relation P366
type Q31629
[ANSWER] is considered as the main functionality of horse
['Q726', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q726 property:P366 ?e . ?e rdf:type ontology:Q31629 }
equestrianism
Equestrianism is considered as the main functionality of horse
equestrianism
action filter_type
action find
entity horse
relation use
type type of sport
['horse', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:horse property:use ?e . ?e rdf:type ontology:type_of_sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1851916
Q31629
USER
And also tell me about Rimnersvallen?
(Q1851916,P366,c(Q31629))
action filter_type
action find
entity Q1851916
relation P366
type Q31629
['Q1851916', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q31629 . resource:Q1851916 property:P366 ?x }
Rimnersvallen
action filter_type
action find
entity Rimnersvallen
relation use
type type of sport
['Rimnersvallen', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_sport . resource:Rimnersvallen property:use ?x }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q1851916,P366,c(Q31629))
action filter_type
action find
entity Q1851916
relation P366
type Q31629
[ANSWER]
['Q1851916', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q31629 . resource:Q1851916 property:P366 ?x }
athletics
athletics
action filter_type
action find
entity Rimnersvallen
relation use
type type of sport
['Rimnersvallen', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_sport . resource:Rimnersvallen property:use ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q9284
P1444
Q15617994 Q31629
USER
How many administrative territories are the end points of greater number of types of sport than Cirié ?
(c(Q31629),P1444,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find
entity Q9284
relation P1444
type Q15617994
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { ?t rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q31629 . ?h property:P1444 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q9284 property:P1444 ?w } } . FILTER ( ?x > ?l ) }
Cirié
action count
action greater
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find
entity Cirié
relation destination point
type designation for an administrative territorial entity
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:type_of_sport . ?h property:destination_point ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cirié property:destination_point ?w } } . FILTER ( ?x > ?l ) }
[]
designation for an administrative territorial entity type of sport
SYSTEM
23
Q51355 Q20602 Q53938 Q13437 Q42613 Q268214 Q3394466 Q11000716 Q53245 Q13378 Q268459 Q295602 Q243857 Q13140 Q175956 Q9573 Q50138 Q100107 Q29371 Q20436 Q103201 Q33962 Q82707
(c(Q31629),P1444,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find
entity Q9284
relation P1444
type Q15617994
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { ?t rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q31629 . ?h property:P1444 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q9284 property:P1444 ?w } } . FILTER ( ?x > ?l ) }
Cepagatti Vinadio Praia a Mare Benevento Cassano d'Adda Bordighera San Andrés de Teixido Ézaro Cividale del Friuli Arezzo Cles Mezzolombardo Andalo San Benedetto del Tronto Montalto di Castro Pinerolo Roccaraso Sestola Asolo Foligno Pomarance Sanremo Greve in Chianti
23
action count
action greater
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find
entity Cirié
relation destination point
type designation for an administrative territorial entity
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?x ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:type_of_sport . ?h property:destination_point ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cirié property:destination_point ?w } } . FILTER ( ?x > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q72114
P1444
Q15617994 Q31629
USER
And how about Forio?
(c(Q31629),P1444,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find
entity Q72114
relation P1444
type Q15617994
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q72114 property:P1444 ?y } } . FILTER ( ?l > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q31629 . ?p property:P1444 ?h } GROUP BY ?h } }
Forio
action count
action greater
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find
entity Forio
relation destination point
type designation for an administrative territorial entity
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Forio property:destination_point ?y } } . FILTER ( ?l > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:type_of_sport . ?p property:destination_point ?h } GROUP BY ?h } }
[]
designation for an administrative territorial entity type of sport
SYSTEM
23
Q51355 Q20602 Q53938 Q13437 Q42613 Q268214 Q3394466 Q11000716 Q53245 Q13378 Q268459 Q295602 Q243857 Q13140 Q175956 Q9573 Q50138 Q100107 Q29371 Q20436 Q103201 Q33962 Q82707
(c(Q31629),P1444,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
action count
action filter_type
action find
entity Q72114
relation P1444
type Q15617994
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q72114 property:P1444 ?y } } . FILTER ( ?l > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q31629 . ?p property:P1444 ?h } GROUP BY ?h } }
Cepagatti Vinadio Praia a Mare Benevento Cassano d'Adda Bordighera San Andrés de Teixido Ézaro Cividale del Friuli Arezzo Cles Mezzolombardo Andalo San Benedetto del Tronto Montalto di Castro Pinerolo Roccaraso Sestola Asolo Foligno Pomarance Sanremo Greve in Chianti
23
action count
action greater
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
action count
action filter_type
action find
entity Forio
relation destination point
type designation for an administrative territorial entity
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Forio property:destination_point ?y } } . FILTER ( ?l > ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:type_of_sport . ?p property:destination_point ?h } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q15617994 Q31629
USER
How many administrative territories do the journey end for exactly 1 type of sport ?
(c(Q31629),P1444,c(Q15617994))
action count
action equal
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
value 1
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?t ) WHERE { ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q31629 . ?i property:P1444 ?p } GROUP BY ?p } . FILTER ( ?t = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?t ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:type_of_sport . ?i property:destination_point ?p } GROUP BY ?p } . FILTER ( ?t = 1 ) }
[]
designation for an administrative territorial entity type of sport
SYSTEM
22
Q51355 Q20602 Q53938 Q13437 Q42613 Q268214 Q3394466 Q11000716 Q53245 Q13378 Q268459 Q295602 Q243857 Q13140 Q175956 Q9573 Q50138 Q100107 Q29371 Q103201 Q33962 Q82707
(c(Q31629),P1444,c(Q15617994))
action count
action equal
action find_reverse_tuple_counts
relation P1444
type Q15617994
type Q31629
value 1
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?t ) WHERE { ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q31629 . ?i property:P1444 ?p } GROUP BY ?p } . FILTER ( ?t = 1 ) }
Cepagatti Vinadio Praia a Mare Benevento Cassano d'Adda Bordighera San Andrés de Teixido Ézaro Cividale del Friuli Arezzo Cles Mezzolombardo Andalo San Benedetto del Tronto Montalto di Castro Pinerolo Roccaraso Sestola Asolo Pomarance Sanremo Greve in Chianti
22
action count
action equal
action find_reverse_tuple_counts
relation destination point
type designation for an administrative territorial entity
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?t ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:type_of_sport . ?i property:destination_point ?p } GROUP BY ?p } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q16970 Q44539
USER
How many people are the patron saint of around 9 churches and temples ?
(c(Q16970)|c(Q44539),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 9
[[{'concept': 'Q16970'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:Q16970 ) ( ontology:Q44539 ) } . ?q rdf:type ?b } GROUP BY ?c } . FILTER ( ?h = 9 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 9
[[{'concept': 'church'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:church ) ( ontology:temple ) } . ?q rdf:type ?b } GROUP BY ?c } . FILTER ( ?h = 9 ) }
[]
common name church temple
SYSTEM
55
Q152457 Q394727 Q61914 Q320199 Q43689 Q128267 Q328804 Q174044 Q163900 Q170547 Q676555 Q244380 Q181715 Q686948 Q42887 Q177903 Q207113 Q8018 Q216946 Q221522 Q128538 Q145746 Q167477 Q297742 Q48438 Q44281 Q63070 Q43399 Q196527 Q336731 Q560531 Q174880 Q346 Q180936 Q2142772 Q43999 Q359259 Q43669 Q369691 Q44265 Q43982 Q179718 Q445357 Q210096 Q80513 Q26486 Q158504 Q151967 Q149727 Q164294 Q159862 Q17590 Q200895 Q44248 Q310633
(c(Q16970)|c(Q44539),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 9
[ANSWER]
[[{'concept': 'Q16970'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:Q16970 ) ( ontology:Q44539 ) } . ?q rdf:type ?b } GROUP BY ?c } . FILTER ( ?h = 9 ) }
Saint Roch Agnes of Bohemia Gotthard of Hildesheim Apollinaris of Ravenna Ambrose Joseph John the Evangelist Alexander Nevsky Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Thérèse of Lisieux Alban of Mainz Clement I Stephen I of Hungary Hippolytus Augustine of Hippo Charles Borromeo John of Nepomuk Luke the Evangelist Joseph Anthony of Padua Margaret the Virgin Saint George Ignatius of Loyola Mary Magdalene Andrew Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Suitbert of Kaiserswerdt Teresa of Ávila Louis IX of France Saint Gall Gereon James Saint Emeric of Hungary Thomas the Apostle Saint Ursula Benedict of Nursia Bartholomew the Apostle Catherine of Alexandria Henry Agnes of Rome Saint Cecilia Ladislaus I of Hungary Clement of Ohrid Saint Blaise Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Jerome Demetrius of Thessaloniki
55
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 9
[[{'concept': 'church'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?h ) WHERE { VALUES ( ?b ) { ( ontology:church ) ( ontology:temple ) } . ?q rdf:type ?b } GROUP BY ?c } . FILTER ( ?h = 9 ) }
[]