Simple Question (Direct)
Simple Question
Q3293560
P19
Q56061
USER
Which administrative territory is the birthplace of Mario Santini ?
(Q3293560,P19,c(Q56061))
action filter_type
action find
entity Q3293560
relation P19
type Q56061
['Q3293560', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3293560 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Mario Santini
action filter_type
action find
entity Mario Santini
relation place of birth
type administrative territorial entity
['Mario Santini', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mario_Santini property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3293560,P19,c(Q56061))
action filter_type
action find
entity Q3293560
relation P19
type Q56061
[ANSWER] is the birthplace of Mario Santini
['Q3293560', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3293560 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Paris
Paris is the birthplace of Mario Santini
Paris
action filter_type
action find
entity Mario Santini
relation place of birth
type administrative territorial entity
['Mario Santini', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mario_Santini property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3293560
P21
Q290
USER
Which sex does that person possess ?
(Q90,P21,c(Q290))
action filter_type
action find
entity Q3293560
relation P21
type Q290
['Q90', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3293560 property:P21 ?i . ?i rdf:type ontology:Q290 }
Mario Santini
action filter_type
action find
entity Mario Santini
relation gender
type sex
['Paris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Mario_Santini property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q90,P21,c(Q290))
action filter_type
action find
entity Q3293560
relation P21
type Q290
That person possesses a [ANSWER]
['Q90', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3293560 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Mario Santini
relation gender
type sex
['Paris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Mario_Santini property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as genre ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?w WHERE { ?w property:P136 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?w WHERE { ?w property:genre resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as genre
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?w WHERE { ?w property:P136 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as genre
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?w WHERE { ?w property:genre resource:male . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q313288 Q18221191 Q23766532
P106
Q12737077
USER
What are the professions of Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron ?
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23766532,P106,c(Q12737077))
action union
action filter_type
action find
entity Q313288
relation P106
type Q12737077
action filter_type
action find
entity Q18221191
relation P106
type Q12737077
action filter_type
action find
entity Q23766532
relation P106
type Q12737077
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23766532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q12737077 . resource:Q18221191 property:P106 ?s } UNION { resource:Q313288 property:P106 ?s . ?s rdf:type ontology:Q12737077 } }
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action union
action filter_type
action find
entity Augustus Pugin
relation occupation
type occupation
action filter_type
action find
entity Alessandro Gregorio Capponi
relation occupation
type occupation
action filter_type
action find
entity Pierre Laviron
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Pierre Laviron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:occupation . resource:Alessandro_Gregorio_Capponi property:occupation ?s } UNION { resource:Augustus_Pugin property:occupation ?s . ?s rdf:type ontology:occupation } }
[]
occupation
Q42973 Q3621491 Q17145081
SYSTEM
architect, archaeologist, museologist
Q42973 Q17145081 Q3621491 Q1281618
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23766532,P106,c(Q12737077))
action union
action filter_type
action find
entity Q313288
relation P106
type Q12737077
action filter_type
action find
entity Q18221191
relation P106
type Q12737077
action filter_type
action find
entity Q23766532
relation P106
type Q12737077
The professions of Augustus Pugin , Alessandro Gregorio Capponi and Pierre Laviron are the [ANSWERS]
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23766532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q12737077 . resource:Q18221191 property:P106 ?s } UNION { resource:Q313288 property:P106 ?s . ?s rdf:type ontology:Q12737077 } }
architect museologist archaeologist sculptor
The professions of Augustus Pugin , Alessandro Gregorio Capponi and Pierre Laviron are the architect, archaeologist and museologist
architect archaeologist museologist
action union
action filter_type
action find
entity Augustus Pugin
relation occupation
type occupation
action filter_type
action find
entity Alessandro Gregorio Capponi
relation occupation
type occupation
action filter_type
action find
entity Pierre Laviron
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Pierre Laviron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:occupation . resource:Alessandro_Gregorio_Capponi property:occupation ?s } UNION { resource:Augustus_Pugin property:occupation ?s . ?s rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42973
P425
Q1190554
USER
Who is associated with the field of occupation that one ?
(Q42973,P425,c(Q1190554))
action filter_type
action find
entity Q42973
relation P425
type Q1190554
['Q42973', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { resource:Q42973 property:P425 ?n . ?n rdf:type ontology:Q1190554 }
architect
action filter_type
action find
entity architect
relation field of this occupation
type event
['architect', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { resource:architect property:field_of_this_occupation ?n . ?n rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q17145081
SYSTEM
Did you mean museologist ?
Q42973 Q3621491 Q17145081
(Q42973,P425,c(Q1190554)) (Q3621491,P425,c(Q1190554)) (Q17145081,P425,c(Q1190554))
[ANSWER]
['Q42973', 'P425', {'concept': 'Q1190554'}] ['Q3621491', 'P425', {'concept': 'Q1190554'}] ['Q17145081', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { resource:Q42973 property:P425 ?n . ?n rdf:type ontology:Q1190554 }
architect archaeologist museologist
Did you mean museologist ?
museologist
['architect', 'field of this occupation', {'concept': 'event'}] ['archaeologist', 'field of this occupation', {'concept': 'event'}] ['museologist', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { resource:architect property:field_of_this_occupation ?n . ?n rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
No, I meant architect. Could you tell me the answer for that?
(Q42973,P425,c(Q1190554))
Q42973
['Q42973', 'P425', {'concept': 'Q1190554'}]
['architect', 'field of this occupation', {'concept': 'event'}]
[]
Q385378
SYSTEM
construction
Q385378
(Q42973,P425,c(Q1190554))
action filter_type
action find
entity Q42973
relation P425
type Q1190554
The [ANSWER] is associated with the field of occupation that one
['Q42973', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { resource:Q42973 property:P425 ?n . ?n rdf:type ontology:Q1190554 }
construction
The construction is associated with the field of occupation that one
construction
action filter_type
action find
entity architect
relation field of this occupation
type event
['architect', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { resource:architect property:field_of_this_occupation ?n . ?n rdf:type ontology:event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1124183
P921
Q12737077 Q386724 Q838948
USER
Which occupations were discussed in more number of works or works of art than lumberjack ?
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1124183
relation P921
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { { ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 . ?u property:P921 ?e } UNION { ?u property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q386724 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P921 resource:Q1124183 . { VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?q rdf:type ?c } } } . FILTER ( ?o > ?v ) }
lumberjack
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity lumberjack
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { { ?e rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art . ?u property:main_subject ?e } UNION { ?u property:main_subject ?e . ?e rdf:type ontology:occupation . ?u rdf:type ontology:work } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:main_subject resource:lumberjack . { VALUES ( ?c ) { ( ontology:work ) ( ontology:work_of_art ) } . ?q rdf:type ?c } } } . FILTER ( ?o > ?v ) }
[]
occupation work work of art
Q1930187 Q16746569 Q33231
SYSTEM
journalist, high school student, photographer
Q33999 Q1930187 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1124183
relation P921
type Q386724
type Q838948
The [ANSWERS] were discussed in more number of works or works of art than lumberjack
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { { ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 . ?u property:P921 ?e } UNION { ?u property:P921 ?e . ?e rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q386724 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P921 resource:Q1124183 . { VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?q rdf:type ?c } } } . FILTER ( ?o > ?v ) }
actor journalist ninja flight attendant war correspondent high school student elementary school student photographer middle school student
The journalist, high school student and photographer were discussed in more number of works or works of art than lumberjack
journalist high school student photographer
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity lumberjack
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { { ?e rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art . ?u property:main_subject ?e } UNION { ?u property:main_subject ?e . ?e rdf:type ontology:occupation . ?u rdf:type ontology:work } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:main_subject resource:lumberjack . { VALUES ( ?c ) { ( ontology:work ) ( ontology:work_of_art ) } . ?q rdf:type ?c } } } . FILTER ( ?o > ?v ) }
[]