Simple Question (Direct)
Simple Question
Q431705
P21
Q290
USER
Which sex does Lilla Cabot Perry possess ?
(Q431705,P21,c(Q290))
action filter_type
action find
entity Q431705
relation P21
type Q290
['Q431705', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q431705 property:P21 ?g . ?g rdf:type ontology:Q290 }
Lilla Cabot Perry
action filter_type
action find
entity Lilla Cabot Perry
relation gender
type sex
['Lilla Cabot Perry', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Lilla_Cabot_Perry property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q431705,P21,c(Q290))
action filter_type
action find
entity Q431705
relation P21
type Q290
Lilla Cabot Perry possesses a [ANSWER]
['Q431705', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q431705 property:P21 ?g . ?g rdf:type ontology:Q290 }
female
Lilla Cabot Perry possesses a female
female
action filter_type
action find
entity Lilla Cabot Perry
relation gender
type sex
['Lilla Cabot Perry', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Lilla_Cabot_Perry property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q431705
P734
Q82799
USER
Who has the surname Lilla Cabot Perry ?
(Q431705,P734,c(Q82799))
action filter_type
action find
entity Q431705
relation P734
type Q82799
['Q431705', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q431705 property:P734 ?h }
Lilla Cabot Perry
action filter_type
action find
entity Lilla Cabot Perry
relation family name
type name
['Lilla Cabot Perry', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Lilla_Cabot_Perry property:family_name ?h }
[]
name
Q2793334
SYSTEM
Perry
Q2793334
(Q431705,P734,c(Q82799))
action filter_type
action find
entity Q431705
relation P734
type Q82799
[ANSWER] has the surname Lilla Cabot [ANSWER]
['Q431705', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q431705 property:P734 ?h }
Perry
Perry has the surname Lilla Cabot Perry
Perry
action filter_type
action find
entity Lilla Cabot Perry
relation family name
type name
['Lilla Cabot Perry', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Lilla_Cabot_Perry property:family_name ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2793334
P1533
Q82799
USER
Which name is exactly similar to that one ?
(c(Q82799),P1533,Q2793334)
action filter_type
action find_reverse
entity Q2793334
relation P1533
type Q82799
[{'concept': 'Q82799'}, 'P1533', 'Q2793334']
SELECT DISTINCT ?w WHERE { ?w property:P1533 resource:Q2793334 . ?w rdf:type ontology:Q82799 }
Perry
action filter_type
action find_reverse
entity Perry
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Perry']
SELECT DISTINCT ?w WHERE { ?w property:family_name_identical_to_this_first_name resource:Perry . ?w rdf:type ontology:name }
[]
name
Q205027
SYSTEM
Perry
Q205027
(c(Q82799),P1533,Q2793334)
action filter_type
action find_reverse
entity Q2793334
relation P1533
type Q82799
[ANSWER] is exactly similar to that one
[{'concept': 'Q82799'}, 'P1533', 'Q2793334']
SELECT DISTINCT ?w WHERE { ?w property:P1533 resource:Q2793334 . ?w rdf:type ontology:Q82799 }
Perry
Perry is exactly similar to that one
Perry
action filter_type
action find_reverse
entity Perry
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Perry']
SELECT DISTINCT ?w WHERE { ?w property:family_name_identical_to_this_first_name resource:Perry . ?w rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q205027
P407
Q34770
USER
Which language is that name composed in ?
(Q205027,P407,c(Q34770))
action filter_type
action find
entity Q205027
relation P407
type Q34770
['Q205027', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q205027 property:P407 ?m }
Perry
action filter_type
action find
entity Perry
relation language of work or name
type language
['Perry', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Perry property:language_of_work_or_name ?m }
[]
language
Q1860
SYSTEM
English
Q1860
(Q205027,P407,c(Q34770))
action filter_type
action find
entity Q205027
relation P407
type Q34770
That name is composed of [ANSWER]
['Q205027', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q205027 property:P407 ?m }
English
That name is composed of English
English
action filter_type
action find
entity Perry
relation language of work or name
type language
['Perry', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Perry property:language_of_work_or_name ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q49848 Q1914636
USER
How many languages are related to around the same number of documents and activities as that language ?
(c(Q49848)|c(Q1914636),P2439,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q49848
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1914636
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q49848
type Q1914636
[[{'concept': 'Q49848'}, {'concept': 'Q1914636'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { FILTER ( ?s = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P2439 resource:Q1860 . { VALUES ( ?x ) { ( ontology:Q49848 ) ( ontology:Q1914636 ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?t WHERE { { ?t rdf:type ontology:Q34770 . ?o rdf:type ontology:Q49848 . ?o property:P2439 ?t } UNION { ?o property:P2439 ?t . ?t rdf:type ontology:Q34770 . ?o rdf:type ontology:Q1914636 } } GROUP BY ?t } }
action count
action approx
action union
action find_reverse_tuple_counts
relation language
type language
type document
action find_reverse_tuple_counts
relation language
type language
type activity
action count
action filter_multi_types
action find_reverse
entity English
relation language
type document
type activity
[[{'concept': 'document'}, {'concept': 'activity'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { FILTER ( ?s = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:language resource:English . { VALUES ( ?x ) { ( ontology:document ) ( ontology:activity ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?t WHERE { { ?t rdf:type ontology:language . ?o rdf:type ontology:document . ?o property:language ?t } UNION { ?o property:language ?t . ?t rdf:type ontology:language . ?o rdf:type ontology:activity } } GROUP BY ?t } }
[]
language document activity
SYSTEM
1
Q1860
(c(Q49848)|c(Q1914636),P2439,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q49848
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1914636
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q49848
type Q1914636
[ANSWER]
[[{'concept': 'Q49848'}, {'concept': 'Q1914636'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { FILTER ( ?s = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P2439 resource:Q1860 . { VALUES ( ?x ) { ( ontology:Q49848 ) ( ontology:Q1914636 ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?t WHERE { { ?t rdf:type ontology:Q34770 . ?o rdf:type ontology:Q49848 . ?o property:P2439 ?t } UNION { ?o property:P2439 ?t . ?t rdf:type ontology:Q34770 . ?o rdf:type ontology:Q1914636 } } GROUP BY ?t } }
English
1
action count
action approx
action union
action find_reverse_tuple_counts
relation language
type language
type document
action find_reverse_tuple_counts
relation language
type language
type activity
action count
action filter_multi_types
action find_reverse
entity English
relation language
type document
type activity
[[{'concept': 'document'}, {'concept': 'activity'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { FILTER ( ?s = ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:language resource:English . { VALUES ( ?x ) { ( ontology:document ) ( ontology:activity ) } . ?i rdf:type ?x } } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?t WHERE { { ?t rdf:type ontology:language . ?o rdf:type ontology:document . ?o property:language ?t } UNION { ?o property:language ?t . ?t rdf:type ontology:language . ?o rdf:type ontology:activity } } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q431705
P1066
Q502895
USER
Who was the teacher of Lilla Cabot Perry ?
(Q431705,P1066,c(Q502895))
action filter_type
action find
entity Q431705
relation P1066
type Q502895
['Q431705', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q431705 property:P1066 ?g . ?g rdf:type ontology:Q502895 }
Lilla Cabot Perry
action filter_type
action find
entity Lilla Cabot Perry
relation student of
type common name
['Lilla Cabot Perry', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lilla_Cabot_Perry property:student_of ?g . ?g rdf:type ontology:common_name }
[]
common name
Q384078
SYSTEM
Tony Robert-Fleury
Q384078
(Q431705,P1066,c(Q502895))
action filter_type
action find
entity Q431705
relation P1066
type Q502895
The teacher of Lilla Cabot Perry was named [ANSWER]
['Q431705', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q431705 property:P1066 ?g . ?g rdf:type ontology:Q502895 }
Tony Robert-Fleury
The teacher of Lilla Cabot Perry was named Tony Robert-Fleury
Tony Robert-Fleury
action filter_type
action find
entity Lilla Cabot Perry
relation student of
type common name
['Lilla Cabot Perry', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lilla_Cabot_Perry property:student_of ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q384078
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q384078)
action filter_type
action find_reverse
entity Q384078
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q384078']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q384078 . ?c rdf:type ontology:Q502895 }
Tony Robert-Fleury
action filter_type
action find_reverse
entity Tony Robert-Fleury
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tony Robert-Fleury']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Tony_Robert-Fleury . ?c rdf:type ontology:common_name }
[]
common name
Q702700
SYSTEM
Joseph-Nicolas Robert-Fleury
Q702700
(c(Q502895),P40,Q384078)
action filter_type
action find_reverse
entity Q384078
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q384078']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q384078 . ?c rdf:type ontology:Q502895 }
Joseph-Nicolas Robert-Fleury
Joseph-Nicolas Robert-Fleury has that one as a child
Joseph-Nicolas Robert-Fleury
action filter_type
action find_reverse
entity Tony Robert-Fleury
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tony Robert-Fleury']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Tony_Robert-Fleury . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q702700
P119
Q39614
USER
Which cemetery is the tomb of that person ?
(Q702700,P119,c(Q39614))
action filter_type
action find
entity Q702700
relation P119
type Q39614
['Q702700', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?i WHERE { resource:Q702700 property:P119 ?i . ?i rdf:type ontology:Q39614 }
Joseph-Nicolas Robert-Fleury
action filter_type
action find
entity Joseph-Nicolas Robert-Fleury
relation place of burial
type cemetery
['Joseph-Nicolas Robert-Fleury', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?i WHERE { resource:Joseph-Nicolas_Robert-Fleury property:place_of_burial ?i . ?i rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q702700,P119,c(Q39614))
action filter_type
action find
entity Q702700
relation P119
type Q39614
The tomb of that person is at [ANSWER]
['Q702700', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?i WHERE { resource:Q702700 property:P119 ?i . ?i rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The tomb of that person is at Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Joseph-Nicolas Robert-Fleury
relation place of burial
type cemetery
['Joseph-Nicolas Robert-Fleury', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?i WHERE { resource:Joseph-Nicolas_Robert-Fleury property:place_of_burial ?i . ?i rdf:type ontology:cemetery }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q702700
P22
Q502895
USER
How many people have Joseph-Nicolas Robert-Fleury as a parent ?
(c(Q502895),P22,Q702700)
action count
action filter_type
action find_reverse
entity Q702700
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q702700']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P22 resource:Q702700 . ?e rdf:type ontology:Q502895 }
Joseph-Nicolas Robert-Fleury
action count
action filter_type
action find_reverse
entity Joseph-Nicolas Robert-Fleury
relation father
type common name
[{'concept': 'common name'}, 'father', 'Joseph-Nicolas Robert-Fleury']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:father resource:Joseph-Nicolas_Robert-Fleury . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q384078
(c(Q502895),P22,Q702700)
action count
action filter_type
action find_reverse
entity Q702700
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q702700']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P22 resource:Q702700 . ?e rdf:type ontology:Q502895 }
Tony Robert-Fleury
1
action count
action filter_type
action find_reverse
entity Joseph-Nicolas Robert-Fleury
relation father
type common name
[{'concept': 'common name'}, 'father', 'Joseph-Nicolas Robert-Fleury']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:father resource:Joseph-Nicolas_Robert-Fleury . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q702700
P106
Q12737077
USER
Which occupation is the profession of that person ?
action filter_type
action find
entity Q702700
relation P106
type Q12737077
SELECT DISTINCT ?x WHERE { resource:Q702700 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Joseph-Nicolas Robert-Fleury
action filter_type
action find
entity Joseph-Nicolas Robert-Fleury
relation occupation
type occupation
SELECT DISTINCT ?x WHERE { resource:Joseph-Nicolas_Robert-Fleury property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
action filter_type
action find
entity Q702700
relation P106
type Q12737077
The [ANSWER] is the profession of that person
SELECT DISTINCT ?x WHERE { resource:Q702700 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
painter
The painter is the profession of that person
painter
action filter_type
action find
entity Joseph-Nicolas Robert-Fleury
relation occupation
type occupation
SELECT DISTINCT ?x WHERE { resource:Joseph-Nicolas_Robert-Fleury property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q43115
P180
Q82799 Q3305213 Q340169
USER
How many names are demonstrated in more number of paintings and medias than saint ?
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q43115
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?a property:P180 ?e . ?e rdf:type ontology:Q82799 . ?a rdf:type ontology:Q3305213 } UNION { ?e rdf:type ontology:Q82799 . ?a rdf:type ontology:Q340169 . ?a property:P180 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q3305213 } UNION { ?k rdf:type ontology:Q340169 } } . ?k property:P180 resource:Q43115 } } . FILTER ( ?p > ?q ) }
saint
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity saint
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?a property:depicts ?e . ?e rdf:type ontology:name . ?a rdf:type ontology:painting } UNION { ?e rdf:type ontology:name . ?a rdf:type ontology:media . ?a property:depicts ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:painting } UNION { ?k rdf:type ontology:media } } . ?k property:depicts resource:saint } } . FILTER ( ?p > ?q ) }
[]
name painting media
SYSTEM
8
Q5 Q726 Q830 Q7368 Q144 Q3537778 Q876933 Q7378
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q43115
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?a property:P180 ?e . ?e rdf:type ontology:Q82799 . ?a rdf:type ontology:Q3305213 } UNION { ?e rdf:type ontology:Q82799 . ?a rdf:type ontology:Q340169 . ?a property:P180 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q3305213 } UNION { ?k rdf:type ontology:Q340169 } } . ?k property:P180 resource:Q43115 } } . FILTER ( ?p > ?q ) }
human horse cattle Ovis aries dog donkeys magi elephant
8
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity saint
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?a property:depicts ?e . ?e rdf:type ontology:name . ?a rdf:type ontology:painting } UNION { ?e rdf:type ontology:name . ?a rdf:type ontology:media . ?a property:depicts ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:painting } UNION { ?k rdf:type ontology:media } } . ?k property:depicts resource:saint } } . FILTER ( ?p > ?q ) }
[]