Simple Question (Direct)
Simple Question
Q1387195
P21
Q290
USER
What is the sex of Arnold Vértesi ?
(Q1387195,P21,c(Q290))
action filter_type
action find
entity Q1387195
relation P21
type Q290
['Q1387195', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q1387195 property:P21 ?h . ?h rdf:type ontology:Q290 }
Arnold Vértesi
action filter_type
action find
entity Arnold Vértesi
relation gender
type sex
['Arnold Vértesi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Arnold_Vértesi property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1387195,P21,c(Q290))
action filter_type
action find
entity Q1387195
relation P21
type Q290
The sex of Arnold Vértesi is the [ANSWER]
['Q1387195', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q1387195 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Arnold Vértesi is the male
male
action filter_type
action find
entity Arnold Vértesi
relation gender
type sex
['Arnold Vértesi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Arnold_Vértesi property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1387195
P463
Q15911314
USER
Which association was that person a member of ?
(Q6581097,P463,c(Q15911314))
action filter_type
action find
entity Q1387195
relation P463
type Q15911314
['Q6581097', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?m WHERE { resource:Q1387195 property:P463 ?m . ?m rdf:type ontology:Q15911314 }
Arnold Vértesi
action filter_type
action find
entity Arnold Vértesi
relation member of
type association
['male', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?m WHERE { resource:Arnold_Vértesi property:member_of ?m . ?m rdf:type ontology:association }
[]
association
Q1003144
SYSTEM
Petőfi Society
Q1003144
(Q6581097,P463,c(Q15911314))
action filter_type
action find
entity Q1387195
relation P463
type Q15911314
[ANSWER] was that person a member of
['Q6581097', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?m WHERE { resource:Q1387195 property:P463 ?m . ?m rdf:type ontology:Q15911314 }
Petőfi Society
Petőfi Society was that person a member of
Petőfi Society
action filter_type
action find
entity Arnold Vértesi
relation member of
type association
['male', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?m WHERE { resource:Arnold_Vértesi property:member_of ?m . ?m rdf:type ontology:association }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1003144 Q727738
P463
Q502895
USER
How many people are a part of Petőfi Society or Congrès International d'Architecture Moderne ?
(c(Q502895),P463,Q1003144) (c(Q502895),P463,Q727738)
action count
action union
action filter_type
action find_reverse
entity Q1003144
relation P463
type Q502895
action filter_type
action find_reverse
entity Q727738
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q1003144'] [{'concept': 'Q502895'}, 'P463', 'Q727738']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P463 ?g . VALUES ( ?g ) { ( resource:Q1003144 ) ( resource:Q727738 ) } }
Petőfi Society Congrès International d'Architecture Moderne
action count
action union
action filter_type
action find_reverse
entity Petőfi Society
relation member of
type common name
action filter_type
action find_reverse
entity Congrès International d'Architecture Moderne
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Petőfi Society'] [{'concept': 'common name'}, 'member of', "Congrès International d'Architecture Moderne"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:member_of ?g . VALUES ( ?g ) { ( resource:Petőfi_Society ) ( resource:Congrès_International_d'Architecture_Moderne ) } }
[]
common name
SYSTEM
38
Q1100690 Q645997 Q1100711 Q15890720 Q919838 Q61071 Q5050009 Q1293458 Q1031285 Q833003 Q1252473 Q319788 Q12814120 Q2848620 Q852890 Q163250 Q82840 Q323626 Q289063 Q634237 Q350552 Q1267215 Q1164345 Q495526 Q1327725 Q1387195 Q701640 Q920515 Q1107575 Q467712 Q859953 Q279011 Q20435360 Q1163785 Q1054265 Q247825 Q854958 Q907074
(c(Q502895),P463,Q1003144) (c(Q502895),P463,Q727738)
action count
action union
action filter_type
action find_reverse
entity Q1003144
relation P463
type Q502895
action filter_type
action find_reverse
entity Q727738
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q1003144'] [{'concept': 'Q502895'}, 'P463', 'Q727738']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P463 ?g . VALUES ( ?g ) { ( resource:Q1003144 ) ( resource:Q727738 ) } }
Danó Jeszenszky Árpád Berczik Sándor Jeszenszky Béla Bercsényi Uno Åhrén Walter Gropius Elek Londesz Endre Szabó István Géczy József Bodon Jenő Rákosi Fred Forbát Gyula E. Kovács André Schimmerling Aladár Bán Vilmos Győry Hugo Alvar Henrik Aalto Lajos Abonyi János Horváth Lajos Pósa Kálmán Mikszáth Louis Herman De Koninck Dezső Malonyai Adolf Frankenburg István Tömörkény Arnold Vértesi Ferenc Herczeg József Kiss Aurél Kern Josep Lluís Sert Jenő Pintér Árpád Abonyi István Havas Emil Makai Huib Hoste Gyula Kornis Adorján Bónyi Géza Zichy
38
action count
action union
action filter_type
action find_reverse
entity Petőfi Society
relation member of
type common name
action filter_type
action find_reverse
entity Congrès International d'Architecture Moderne
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Petőfi Society'] [{'concept': 'common name'}, 'member of', "Congrès International d'Architecture Moderne"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:member_of ?g . VALUES ( ?g ) { ( resource:Petőfi_Society ) ( resource:Congrès_International_d'Architecture_Moderne ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1387195
P20
Q56061
USER
How many administrative territories are the places of death of Arnold Vértesi ?
(Q1387195,P20,c(Q56061))
action count
action filter_type
action find
entity Q1387195
relation P20
type Q56061
['Q1387195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q1387195 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Arnold Vértesi
action count
action filter_type
action find
entity Arnold Vértesi
relation place of death
type administrative territorial entity
['Arnold Vértesi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Arnold_Vértesi property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1781
(Q1387195,P20,c(Q56061))
action count
action filter_type
action find
entity Q1387195
relation P20
type Q56061
[ANSWER]
['Q1387195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q1387195 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Budapest
1
action count
action filter_type
action find
entity Arnold Vértesi
relation place of death
type administrative territorial entity
['Arnold Vértesi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Arnold_Vértesi property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1387195
P20
Q56061
USER
Where did Arnold Vértesi expire ?
(Q1387195,P20,c(Q56061))
action filter_type
action find
entity Q1387195
relation P20
type Q56061
['Q1387195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1387195 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Arnold Vértesi
action filter_type
action find
entity Arnold Vértesi
relation place of death
type administrative territorial entity
['Arnold Vértesi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Arnold_Vértesi property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1387195,P20,c(Q56061))
action filter_type
action find
entity Q1387195
relation P20
type Q56061
Arnold Vértesi expired in [ANSWER]
['Q1387195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1387195 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Budapest
Arnold Vértesi expired in Budapest
Budapest
action filter_type
action find
entity Arnold Vértesi
relation place of death
type administrative territorial entity
['Arnold Vértesi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Arnold_Vértesi property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1387195
P19
Q515
USER
Which city is the birthplace of Arnold Vértesi ?
(Q1387195,P19,c(Q515))
action filter_type
action find
entity Q1387195
relation P19
type Q515
['Q1387195', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q1387195 property:P19 ?p }
Arnold Vértesi
action filter_type
action find
entity Arnold Vértesi
relation place of birth
type city
['Arnold Vértesi', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Arnold_Vértesi property:place_of_birth ?p }
[]
city
Q167109
SYSTEM
Eger
Q167109
(Q1387195,P19,c(Q515))
action filter_type
action find
entity Q1387195
relation P19
type Q515
[ANSWER] is the birthplace of Arnold Vértesi
['Q1387195', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q1387195 property:P19 ?p }
Eger
Eger is the birthplace of Arnold Vértesi
Eger
action filter_type
action find
entity Arnold Vértesi
relation place of birth
type city
['Arnold Vértesi', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Arnold_Vértesi property:place_of_birth ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12250123
Q515
USER
And what about Hind Kamel?
(Q12250123,P19,c(Q515))
action filter_type
action find
entity Q12250123
relation P19
type Q515
['Q12250123', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q12250123 property:P19 ?g . ?g rdf:type ontology:Q515 }
Hind Kamel
action filter_type
action find
entity Hind Kamel
relation place of birth
type city
['Hind Kamel', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Hind_Kamel property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
city
Q1530
SYSTEM
Baghdad
Q1530
(Q12250123,P19,c(Q515))
action filter_type
action find
entity Q12250123
relation P19
type Q515
[ANSWER]
['Q12250123', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q12250123 property:P19 ?g . ?g rdf:type ontology:Q515 }
Baghdad
Baghdad
action filter_type
action find
entity Hind Kamel
relation place of birth
type city
['Hind Kamel', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Hind_Kamel property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q7275 Q15617994 Q515
USER
How many cities are center of administration for around 2 states or administrative territories ?
(c(Q515),P1376,c(Q7275)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q15617994
value 2
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { { ?p property:P1376 ?o . ?o rdf:type ontology:Q7275 . ?p rdf:type ontology:Q515 } UNION { ?p property:P1376 ?o . ?p rdf:type ontology:Q515 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?i = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
value 2
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { { ?p property:capital_of ?o . ?o rdf:type ontology:state . ?p rdf:type ontology:city } UNION { ?p property:capital_of ?o . ?p rdf:type ontology:city . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?i = 2 ) }
[]
state designation for an administrative territorial entity city
SYSTEM
19
Q3572 Q19689 Q3926 Q1794 Q1486 Q1461 Q23430 Q6602 Q7568 Q19660 Q1330294 Q34261 Q1854 Q3826 Q2844 Q1865 Q72778 Q7003 Q3919
(c(Q515),P1376,c(Q7275)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q7275
action find_tuple_counts
relation P1376
type Q515
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q7275'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { { ?p property:P1376 ?o . ?o rdf:type ontology:Q7275 . ?p rdf:type ontology:Q515 } UNION { ?p property:P1376 ?o . ?p rdf:type ontology:Q515 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?i = 2 ) }
Tunis Tirana Pretoria Frankfurt Buenos Aires Manila Ulaanbaatar Strasbourg Yogyakarta Bucharest Jiankang Port-au-Prince Ho Chi Minh City Muscat Brasília Kuala Lumpur Taiyuan Dijon Gaborone
19
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type state
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
value 2
[{'concept': 'city'}, 'capital of', [{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { { ?p property:capital_of ?o . ?o rdf:type ontology:state . ?p rdf:type ontology:city } UNION { ?p property:capital_of ?o . ?p rdf:type ontology:city . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?i = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8319400 Q1387195
P106
Q12737077
USER
Which occupations have Arnold Vértesi or Loïc Auzolle as his/her as a career ?
OR((Q1387195,P106,c(Q12737077)), (Q8319400,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1387195
relation P106
action find
entity Q8319400
relation P106
type Q12737077
{'OR': [['Q1387195', 'P106', {'concept': 'Q12737077'}], ['Q8319400', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Q1387195 ) ( resource:Q8319400 ) } . ?w property:P106 ?y } . ?y rdf:type ontology:Q12737077 }
Loïc Auzolle Arnold Vértesi
action filter_type
action union
action find
entity Arnold Vértesi
relation occupation
action find
entity Loïc Auzolle
relation occupation
type occupation
{'OR': [['Arnold Vértesi', 'occupation', {'concept': 'occupation'}], ['Loïc Auzolle', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Arnold_Vértesi ) ( resource:Loïc_Auzolle ) } . ?w property:occupation ?y } . ?y rdf:type ontology:occupation }
[]
occupation
Q1930187 Q1607826 Q333634 Q3419806 Q36180
SYSTEM
journalist, editor, translator, bullfighter, writer
Q1930187 Q1607826 Q333634 Q3419806 Q36180
OR((Q1387195,P106,c(Q12737077)), (Q8319400,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1387195
relation P106
action find
entity Q8319400
relation P106
type Q12737077
[ANSWERS] have Arnold Vértesi or Loïc Auzolle as his/her as a career
{'OR': [['Q1387195', 'P106', {'concept': 'Q12737077'}], ['Q8319400', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Q1387195 ) ( resource:Q8319400 ) } . ?w property:P106 ?y } . ?y rdf:type ontology:Q12737077 }
journalist editor translator bullfighter writer
Journalist, editor, translator, bullfighter and writer have Arnold Vértesi or Loïc Auzolle as his/her as a career
journalist editor translator bullfighter writer
action filter_type
action union
action find
entity Arnold Vértesi
relation occupation
action find
entity Loïc Auzolle
relation occupation
type occupation
{'OR': [['Arnold Vértesi', 'occupation', {'concept': 'occupation'}], ['Loïc Auzolle', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Arnold_Vértesi ) ( resource:Loïc_Auzolle ) } . ?w property:occupation ?y } . ?y rdf:type ontology:occupation }
[]