Simple Question (Direct)
Simple Question
Q3190952
P21
Q290
USER
Which sex does Jérôme Labat have ?
(Q3190952,P21,c(Q290))
action filter_type
action find
entity Q3190952
relation P21
type Q290
['Q3190952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3190952 property:P21 ?l . ?l rdf:type ontology:Q290 }
Jérôme Labat
action filter_type
action find
entity Jérôme Labat
relation gender
type sex
['Jérôme Labat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jérôme_Labat property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3190952,P21,c(Q290))
action filter_type
action find
entity Q3190952
relation P21
type Q290
Jérôme Labat has a [ANSWER]
['Q3190952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3190952 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Jérôme Labat has a male
male
action filter_type
action find
entity Jérôme Labat
relation gender
type sex
['Jérôme Labat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jérôme_Labat property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3190952
P19
Q15617994
USER
Which administrative territory is the place of birth of Jérôme Labat ?
(Q3190952,P19,c(Q15617994))
action filter_type
action find
entity Q3190952
relation P19
type Q15617994
['Q3190952', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3190952 property:P19 ?b . ?b rdf:type ontology:Q15617994 }
Jérôme Labat
action filter_type
action find
entity Jérôme Labat
relation place of birth
type designation for an administrative territorial entity
['Jérôme Labat', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jérôme_Labat property:place_of_birth ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3190952,P19,c(Q15617994))
action filter_type
action find
entity Q3190952
relation P19
type Q15617994
[ANSWER] is the place of birth of Jérôme Labat
['Q3190952', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3190952 property:P19 ?b . ?b rdf:type ontology:Q15617994 }
France
France is the place of birth of Jérôme Labat
France
action filter_type
action find
entity Jérôme Labat
relation place of birth
type designation for an administrative territorial entity
['Jérôme Labat', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jérôme_Labat property:place_of_birth ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q12138301 Q3190952
P19 P495
Q15617994
USER
Which administrative territories were Jérôme Labat born at and are the origin of Mr. Average ?
AND((Q3190952,P19,c(Q15617994)), (Q12138301,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3190952
relation P19
action find
entity Q12138301
relation P495
type Q15617994
{'AND': [['Q3190952', 'P19', {'concept': 'Q15617994'}], ['Q12138301', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3190952 property:P19 ?p . resource:Q12138301 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
Mr. Average Jérôme Labat
action filter_type
action intersection
action find
entity Jérôme Labat
relation place of birth
action find
entity Mr. Average
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Jérôme Labat', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Mr. Average', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Jérôme_Labat property:place_of_birth ?p . resource:Mr._Average property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q3190952,P19,c(Q15617994)), (Q12138301,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3190952
relation P19
action find
entity Q12138301
relation P495
type Q15617994
Jérôme Labat were born at la [ANSWER] and are the origin of Mr.
{'AND': [['Q3190952', 'P19', {'concept': 'Q15617994'}], ['Q12138301', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3190952 property:P19 ?p . resource:Q12138301 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
France
Jérôme Labat were born at la France and are the origin of Mr.
France
action filter_type
action intersection
action find
entity Jérôme Labat
relation place of birth
action find
entity Mr. Average
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Jérôme Labat', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Mr. Average', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Jérôme_Labat property:place_of_birth ?p . resource:Mr._Average property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q486972 Q192611
USER
Which administrative territories are the etymology of around 1 human settlements or constituencies ?
(c(Q486972)|c(Q192611),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q192611
value 1
[[{'concept': 'Q486972'}, {'concept': 'Q192611'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?d WHERE { { ?o property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q486972 } UNION { ?o property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q192611 } } GROUP BY ?d } . FILTER ( ?n = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type constituency
value 1
[[{'concept': 'human settlement'}, {'concept': 'constituency'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?d WHERE { { ?o property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:human_settlement } UNION { ?o property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:constituency } } GROUP BY ?d } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity human settlement constituency
Q243474 Q2396564 Q42668
SYSTEM
Rees, Mallee, Pudost
Q243474 Q2396564 Q42668
(c(Q486972)|c(Q192611),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q192611
value 1
[ANSWERS] are the etymology of around 1 human settlements or constituencies
[[{'concept': 'Q486972'}, {'concept': 'Q192611'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?d WHERE { { ?o property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q486972 } UNION { ?o property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q192611 } } GROUP BY ?d } . FILTER ( ?n = 1 ) }
Rees Mallee Pudost
Rees, Mallee and Pudost are the etymology of around 1 human settlements or constituencies
Rees Mallee Pudost
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type constituency
value 1
[[{'concept': 'human settlement'}, {'concept': 'constituency'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?d WHERE { { ?o property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:human_settlement } UNION { ?o property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:constituency } } GROUP BY ?d } . FILTER ( ?n = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42668
P36
Q486972
USER
Which human settlement contains that administrative territory as its capital ?
(c(Q486972),P36,Q42668)
action filter_type
action find_reverse
entity Q42668
relation P36
type Q486972
[{'concept': 'Q486972'}, 'P36', 'Q42668']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q42668 . ?b rdf:type ontology:Q486972 }
Pudost
action filter_type
action find_reverse
entity Pudost
relation capital
type human settlement
[{'concept': 'human settlement'}, 'capital', 'Pudost']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Pudost . ?b rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q243474
SYSTEM
Did you mean Rees ?
Q243474 Q2396564 Q42668
(c(Q486972),P36,Q243474) (c(Q486972),P36,Q2396564) (c(Q486972),P36,Q42668)
[ANSWER]
[{'concept': 'Q486972'}, 'P36', 'Q243474'] [{'concept': 'Q486972'}, 'P36', 'Q2396564'] [{'concept': 'Q486972'}, 'P36', 'Q42668']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q42668 . ?b rdf:type ontology:Q486972 }
Rees Mallee Pudost
Did you mean Rees ?
Rees
[{'concept': 'human settlement'}, 'capital', 'Rees'] [{'concept': 'human settlement'}, 'capital', 'Mallee'] [{'concept': 'human settlement'}, 'capital', 'Pudost']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Pudost . ?b rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
No, I meant Pudost. Could you tell me the answer for that?
(c(Q486972),P36,Q42668)
Q42668
[{'concept': 'Q486972'}, 'P36', 'Q42668']
[{'concept': 'human settlement'}, 'capital', 'Pudost']
[]
Q50996
SYSTEM
Pudost
Q50996
(c(Q486972),P36,Q42668)
action filter_type
action find_reverse
entity Q42668
relation P36
type Q486972
[ANSWER] contains that administrative territory as its capital
[{'concept': 'Q486972'}, 'P36', 'Q42668']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q42668 . ?b rdf:type ontology:Q486972 }
Pudost
Pudost contains that administrative territory as its capital
Pudost
action filter_type
action find_reverse
entity Pudost
relation capital
type human settlement
[{'concept': 'human settlement'}, 'capital', 'Pudost']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Pudost . ?b rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that human settlement a part of ?
(Q50996,P17,c(Q15617994))
action count
action filter_type
action find
entity Q50996
relation P17
type Q15617994
['Q50996', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q50996 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Pudost
relation country
type designation for an administrative territorial entity
['Pudost', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Pudost property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q50996,P17,c(Q15617994))
action count
action filter_type
action find
entity Q50996
relation P17
type Q15617994
[ANSWER]
['Q50996', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q50996 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Pudost
relation country
type designation for an administrative territorial entity
['Pudost', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Pudost property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q43225
P190
Q486972 Q13220204
USER
Which administrative country subdivisions are a sister city of greater number of human settlements than Assens ?
(c(Q13220204),P190,c(Q486972))
action greater
action find_tuple_counts
relation P190
type Q13220204
type Q486972
action count
action filter_type
action find
entity Q43225
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h property:P190 ?b . ?h rdf:type ontology:Q13220204 . ?b rdf:type ontology:Q486972 } GROUP BY ?h } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q43225 property:P190 ?r . ?r rdf:type ontology:Q13220204 } } }
Assens
action greater
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
action count
action filter_type
action find
entity Assens
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h property:sister_city ?b . ?h rdf:type ontology:second-level_administrative_country_subdivision . ?b rdf:type ontology:human_settlement } GROUP BY ?h } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Assens property:sister_city ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision } } }
[]
human settlement second-level administrative country subdivision
Q9772 Q101918 Q1435
SYSTEM
Meerssen, Apeldoorn, Zagreb
Q193965 Q67348 Q729447 Q161144 Q69203 Q1719466 Q192606 Q7903 Q147739 Q5420 Q64077 Q9772 Q9777 Q68986 Q450625 Q156743 Q157144 Q48278 Q156719 Q156711 Q1663 Q157440 Q208499 Q51111 Q189419 Q744247 Q69819 Q66132 Q66433 Q648489 Q1442335 Q156724 Q951897 Q538953 Q101918 Q64865 Q157055 Q157053 Q2933 Q65512 Q1435 Q156739 Q67705 Q9932 Q43048 Q157725 Q750594 Q66633
(c(Q13220204),P190,c(Q486972))
action greater
action find_tuple_counts
relation P190
type Q13220204
type Q486972
action count
action filter_type
action find
entity Q43225
relation P190
type Q13220204
[ANSWERS] are a sister city of greater number of human settlements than Assens
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h property:P190 ?b . ?h rdf:type ontology:Q13220204 . ?b rdf:type ontology:Q486972 } GROUP BY ?h } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q43225 property:P190 ?r . ?r rdf:type ontology:Q13220204 } } }
Kamianets-Podilskyi Gansingen Dobele Alchevsk Erlenbach Panevėžys Leskovac Casablanca Izmail Varaždin Wil Meerssen Venlo St. Moritz Alytus Ternopil Vinnytsia Antioquia - Medellín Kamianske Uzhhorod Split Truskavets Uman Pereira Zemun Saldus Dürrenroth Erlenbach im Simmental Eiken Loznica Manzanares Kremenchuk Chiquinquirá La Vega Apeldoorn Bischofszell Cherkasy Chernihiv Asunción Oberembrach Zagreb Rivne Schmitten Heiloo Rhodes Chernivtsi Guarda Kilchberg
Meerssen, Apeldoorn and Zagreb are a sister city of greater number of human settlements than Assens
Meerssen Apeldoorn Zagreb
action greater
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
action count
action filter_type
action find
entity Assens
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h property:sister_city ?b . ?h rdf:type ontology:second-level_administrative_country_subdivision . ?b rdf:type ontology:human_settlement } GROUP BY ?h } . FILTER ( ?m > ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Assens property:sister_city ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision } } }
[]