Simple Question (Direct)
Simple Question
Q219928
P106
Q12737077
USER
What is the job of Zong Qinghou ?
(Q219928,P106,c(Q12737077))
action filter_type
action find
entity Q219928
relation P106
type Q12737077
['Q219928', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q219928 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Zong Qinghou
action filter_type
action find
entity Zong Qinghou
relation occupation
type occupation
['Zong Qinghou', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Zong_Qinghou property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q131524
SYSTEM
entrepreneur
Q131524
(Q219928,P106,c(Q12737077))
action filter_type
action find
entity Q219928
relation P106
type Q12737077
The job of Zong Qinghou is an [ANSWER]
['Q219928', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q219928 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
entrepreneur
The job of Zong Qinghou is an entrepreneur
entrepreneur
action filter_type
action find
entity Zong Qinghou
relation occupation
type occupation
['Zong Qinghou', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Zong_Qinghou property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219928
P39
Q595523
USER
What was the position held by that person ?
(Q131524,P39,c(Q595523))
action filter_type
action find
entity Q219928
relation P39
type Q595523
['Q131524', 'P39', {'concept': 'Q595523'}]
SELECT DISTINCT ?v WHERE { resource:Q219928 property:P39 ?v . ?v rdf:type ontology:Q595523 }
Zong Qinghou
action filter_type
action find
entity Zong Qinghou
relation position held
type notion
['entrepreneur', 'position held', {'concept': 'notion'}]
SELECT DISTINCT ?v WHERE { resource:Zong_Qinghou property:position_held ?v . ?v rdf:type ontology:notion }
[]
notion
Q484876
SYSTEM
chief executive officer
Q484876
(Q131524,P39,c(Q595523))
action filter_type
action find
entity Q219928
relation P39
type Q595523
The position held by that person was the [ANSWER]
['Q131524', 'P39', {'concept': 'Q595523'}]
SELECT DISTINCT ?v WHERE { resource:Q219928 property:P39 ?v . ?v rdf:type ontology:Q595523 }
chief executive officer
The position held by that person was the chief executive officer
chief executive officer
action filter_type
action find
entity Zong Qinghou
relation position held
type notion
['entrepreneur', 'position held', {'concept': 'notion'}]
SELECT DISTINCT ?v WHERE { resource:Zong_Qinghou property:position_held ?v . ?v rdf:type ontology:notion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131524
P425
Q9332
USER
Which behavior has entrepreneur as thier associated field of occupation ?
(Q131524,P425,c(Q9332))
action filter_type
action find
entity Q131524
relation P425
type Q9332
['Q131524', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?a WHERE { resource:Q131524 property:P425 ?a . ?a rdf:type ontology:Q9332 }
entrepreneur
action filter_type
action find
entity entrepreneur
relation field of this occupation
type behavior
['entrepreneur', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?a WHERE { resource:entrepreneur property:field_of_this_occupation ?a . ?a rdf:type ontology:behavior }
[]
behavior
Q3908516
SYSTEM
entrepreneurship
Q3908516
(Q131524,P425,c(Q9332))
action filter_type
action find
entity Q131524
relation P425
type Q9332
[ANSWER] has entrepreneur as thier associated field of occupation
['Q131524', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?a WHERE { resource:Q131524 property:P425 ?a . ?a rdf:type ontology:Q9332 }
entrepreneurship
Entrepreneurship has entrepreneur as thier associated field of occupation
entrepreneurship
action filter_type
action find
entity entrepreneur
relation field of this occupation
type behavior
['entrepreneur', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?a WHERE { resource:entrepreneur property:field_of_this_occupation ?a . ?a rdf:type ontology:behavior }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q9332 Q21114848
USER
How many behaviors are the field of work of lesser number of magazine genres than that behavior ?
(c(Q21114848),P101,c(Q9332))
action count
action less
action find_tuple_counts
relation P101
type Q9332
type Q21114848
action count
action filter_type
action find
entity Q3908516
relation P101
type Q9332
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?l ) WHERE { ?o rdf:type ontology:Q9332 . ?h rdf:type ontology:Q21114848 . ?o property:P101 ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q3908516 property:P101 ?s . ?s rdf:type ontology:Q9332 } } . FILTER ( ?l < ?b ) }
action count
action less
action find_tuple_counts
relation field of work
type behavior
type magazine genre
action count
action filter_type
action find
entity entrepreneurship
relation field of work
type behavior
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?l ) WHERE { ?o rdf:type ontology:behavior . ?h rdf:type ontology:magazine_genre . ?o property:field_of_work ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:entrepreneurship property:field_of_work ?s . ?s rdf:type ontology:behavior } } . FILTER ( ?l < ?b ) }
[]
behavior magazine genre
SYSTEM
0
(c(Q21114848),P101,c(Q9332))
action count
action less
action find_tuple_counts
relation P101
type Q9332
type Q21114848
action count
action filter_type
action find
entity Q3908516
relation P101
type Q9332
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?l ) WHERE { ?o rdf:type ontology:Q9332 . ?h rdf:type ontology:Q21114848 . ?o property:P101 ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q3908516 property:P101 ?s . ?s rdf:type ontology:Q9332 } } . FILTER ( ?l < ?b ) }
0
action count
action less
action find_tuple_counts
relation field of work
type behavior
type magazine genre
action count
action filter_type
action find
entity entrepreneurship
relation field of work
type behavior
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?l ) WHERE { ?o rdf:type ontology:behavior . ?h rdf:type ontology:magazine_genre . ?o property:field_of_work ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:entrepreneurship property:field_of_work ?s . ?s rdf:type ontology:behavior } } . FILTER ( ?l < ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q219928 Q188830
P26
Q502895
USER
How many people are married to Zong Qinghou or wife ?
(c(Q502895),P26,Q219928) (c(Q502895),P26,Q188830)
action count
action union
action filter_type
action find_reverse
entity Q219928
relation P26
type Q502895
action filter_type
action find_reverse
entity Q188830
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q219928'] [{'concept': 'Q502895'}, 'P26', 'Q188830']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { ?w property:P26 resource:Q188830 . ?w rdf:type ontology:Q502895 } UNION { ?w rdf:type ontology:Q502895 . ?w property:P26 resource:Q219928 } }
Zong Qinghou wife
action count
action union
action filter_type
action find_reverse
entity Zong Qinghou
relation spouse
type common name
action filter_type
action find_reverse
entity wife
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Zong Qinghou'] [{'concept': 'common name'}, 'spouse', 'wife']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { ?w property:spouse resource:wife . ?w rdf:type ontology:common_name } UNION { ?w rdf:type ontology:common_name . ?w property:spouse resource:Zong_Qinghou } }
[]
common name
SYSTEM
2
Q21523400 Q1165541
(c(Q502895),P26,Q219928) (c(Q502895),P26,Q188830)
action count
action union
action filter_type
action find_reverse
entity Q219928
relation P26
type Q502895
action filter_type
action find_reverse
entity Q188830
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q219928'] [{'concept': 'Q502895'}, 'P26', 'Q188830']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { ?w property:P26 resource:Q188830 . ?w rdf:type ontology:Q502895 } UNION { ?w rdf:type ontology:Q502895 . ?w property:P26 resource:Q219928 } }
Shi Youzhen Harry Bicket
2
action count
action union
action filter_type
action find_reverse
entity Zong Qinghou
relation spouse
type common name
action filter_type
action find_reverse
entity wife
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Zong Qinghou'] [{'concept': 'common name'}, 'spouse', 'wife']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { { ?w property:spouse resource:wife . ?w rdf:type ontology:common_name } UNION { ?w rdf:type ontology:common_name . ?w property:spouse resource:Zong_Qinghou } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3401758
P748
Q895526 Q701632 Q12737077
USER
How many occupations did greater number of authority organs and municipal councils appoint than Premier of Manitoba ?
(c(Q12737077),P748,c(Q895526)|c(Q701632))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action count
action filter_multi_types
action find
entity Q3401758
relation P748
type Q895526
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?i WHERE { { ?i property:P748 ?k . ?i rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q895526 } UNION { ?i property:P748 ?k . ?i rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q701632 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Q3401758 property:P748 ?r . { { ?r rdf:type ontology:Q895526 } UNION { ?r rdf:type ontology:Q701632 } } } } . FILTER ( ?t > ?w ) }
Premier of Manitoba
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action count
action filter_multi_types
action find
entity Premier of Manitoba
relation appointed by
type authority organ
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?i WHERE { { ?i property:appointed_by ?k . ?i rdf:type ontology:occupation . ?k rdf:type ontology:authority_organ } UNION { ?i property:appointed_by ?k . ?i rdf:type ontology:occupation . ?k rdf:type ontology:municipal_council } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Premier_of_Manitoba property:appointed_by ?r . { { ?r rdf:type ontology:authority_organ } UNION { ?r rdf:type ontology:municipal_council } } } } . FILTER ( ?t > ?w ) }
[]
authority organ municipal council occupation
SYSTEM
48
Q20748656 Q20890913 Q2666591 Q1072417 Q21371106 Q2287650 Q5333410 Q21013169 Q261746 Q1029955 Q642859 Q967762 Q20872382 Q20872273 Q20891385 Q940135 Q2305968 Q21384866 Q7444340 Q20194364 Q2419581 Q25863345 Q21383592 Q2747647 Q13645132 Q636207 Q2003296 Q967750 Q20859388 Q20867550 Q20872296 Q783785 Q1072415 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q20872339 Q26209358 Q6542448 Q2301213 Q20992515 Q26721218 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q895526)|c(Q701632))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action count
action filter_multi_types
action find
entity Q3401758
relation P748
type Q895526
type Q701632
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?i WHERE { { ?i property:P748 ?k . ?i rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q895526 } UNION { ?i property:P748 ?k . ?i rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q701632 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Q3401758 property:P748 ?r . { { ?r rdf:type ontology:Q895526 } UNION { ?r rdf:type ontology:Q701632 } } } } . FILTER ( ?t > ?w ) }
municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve Chief of Staff of the United States Air Force municipal executive of Amersfoort United States Secretary of the Interior Economic Secretary to the Treasury municipal executive of The Hague United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education municipal executive of Coevorden municipal executive of Boxmeer municipal executive of Deventer United States Secretary of the Navy United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs municipal executive of Amsterdam United States Secretary of Housing and Urban Development Secretary of State for International Trade municipal executive of Haarlem Secretary of State for Defence Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor municipal executive of Mierlo municipal executive of Gorinchem municipal executive of Almere Chief of Staff of the United States Army Chief of Naval Operations Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation municipal executive of Woerden municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State municipal executive of Utrecht municipal executive of Almere United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
48
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action count
action filter_multi_types
action find
entity Premier of Manitoba
relation appointed by
type authority organ
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) ?i WHERE { { ?i property:appointed_by ?k . ?i rdf:type ontology:occupation . ?k rdf:type ontology:authority_organ } UNION { ?i property:appointed_by ?k . ?i rdf:type ontology:occupation . ?k rdf:type ontology:municipal_council } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { resource:Premier_of_Manitoba property:appointed_by ?r . { { ?r rdf:type ontology:authority_organ } UNION { ?r rdf:type ontology:municipal_council } } } } . FILTER ( ?t > ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q484876
P17
Q1048835
USER
How many political territories are chief executive officer a part of ?
(Q484876,P17,c(Q1048835))
action count
action filter_type
action find
entity Q484876
relation P17
type Q1048835
['Q484876', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q484876 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
chief executive officer
action count
action filter_type
action find
entity chief executive officer
relation country
type political territorial entity
['chief executive officer', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:chief_executive_officer property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q484876,P17,c(Q1048835))
action count
action filter_type
action find
entity Q484876
relation P17
type Q1048835
[ANSWER]
['Q484876', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q484876 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity chief executive officer
relation country
type political territorial entity
['chief executive officer', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:chief_executive_officer property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21952997
P17
Q1048835
USER
And also tell me about Broadwater?
(Q21952997,P17,c(Q1048835))
action count
action filter_type
action find
entity Q21952997
relation P17
type Q1048835
['Q21952997', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q21952997 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Broadwater
action count
action filter_type
action find
entity Broadwater
relation country
type political territorial entity
['Broadwater', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Broadwater property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q21952997,P17,c(Q1048835))
action count
action filter_type
action find
entity Q21952997
relation P17
type Q1048835
[ANSWER]
['Q21952997', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q21952997 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Broadwater
relation country
type political territorial entity
['Broadwater', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Broadwater property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]